templeos-info/public/Wb/Demo/ExtChars.HC

36 lines
666 B
HolyC
Raw Normal View History

2024-03-16 10:26:19 +00:00
U8 face[8]={
0b00111100,
0b01000010,
0b10100101,
0b10000001,
0b11000011,
0b10111101,
0b01000010,
0b00111100,
};
text.font[255]=face[0](U64);
"Face:<3A>\n";
//Chars 128-255 are treated as letters
//by the compiler and everything else.
//Enter them by holding ALT and
//pressing a 3 digit decimal number or
//press <CTRL-ALT-a>.
U0 SrcExample()
{
I64 f<EFBFBD><EFBFBD>=12345;
"f<EFBFBD><EFBFBD>=%d\n",f<EFBFBD><EFBFBD>;
}
SrcExample;
//See $LK,"::/Demo/ScrnCodes.HC"$, $LK,"::/Demo/Graphics/CharAnimation.HC"$,
//$LK,"::/Demo/Games/CharDemo.HC"$ and $LK,"::/Demo/Graphics/FontEd.HC"$.
//See $LK,"char_bmp_alpha",A="MN:char_bmp_alpha"$ and $LK,"char_bmp_alpha_numeric",A="MN:char_bmp_alpha_numeric"$.