ZealOS/src/Demo/ExtChars.HC

36 lines
668 B
HolyC
Raw Normal View History

2020-02-15 20:01:48 +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;
2020-02-15 23:19:08 +00:00
//See $LK,"::/Demo/ScreenCodes.HC"$, $LK,"::/Demo/Graphics/CharAnimation.HC"$,
2020-02-15 20:01:48 +00:00
//$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"$.