ZealOS/src/Demo/ExtChars.ZC

35 lines
672 B
HolyC
Raw Normal View History

U8 face[8] = {
2020-02-15 20:01:48 +00:00
0b00111100,
0b01000010,
0b10100101,
0b10000001,
0b11000011,
0b10111101,
0b01000010,
0b00111100,
};
text.font[255] = face[0](U64);
2020-02-15 20:01:48 +00:00
"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>;
2020-02-15 20:01:48 +00:00
}
SrcExample;
//See $LK,"::/Demo/ScreenCodes.ZC"$, $LK,"::/Demo/Graphics/CharAnimation.ZC"$,
//$LK,"::/Demo/Games/CharDemo.ZC"$ and $LK,"::/Demo/Graphics/FontEd.ZC"$.
2020-02-15 20:01:48 +00:00
//See $LK,"char_bmp_alpha",A="MN:char_bmp_alpha"$ and $LK,"char_bmp_alpha_numeric",A="MN:char_bmp_alpha_numeric"$.