- Code: Select all
font->DrawText(NULL, LPCSTR("☺~"), 2, &rct, DT_NOCLIP, fontColor );
Output: "?~"
I am programming a game with ASCII graphics, so I would naturally need access to those characters. I'm sure that is another way, but how do I do it? Custom font file? I would also like to have the ability to make custom characters for the game so that I could use those along-side the ASCII characters, for, lets say, an upside down smiley face? I heard you could do something along the lines of mapping your character set to a bitmap and using that somehow, but I am not sure how to implement that.
Is there a better way to do this whole thing altogether? I will be redrawing the screen full of ASCII characters constantly so if there is a better/faster method of doing this I'm all ears.
Any help would be much appreciated,
Wayne
