TrueType Fonts
I'm no longer using bitmap fonts, thanks to the FreeType Library I can render TrueType fonts at much higher quality than I was initially. Here's a shot to prove it:
(True Type font is the bottom one [smile])
XML Parsing (TinyXML)
Just added really basic support for using XML to define 'rooms' within the game through TinyXML. If you look back to yesterday's entry, you will see a textured 4x4 room, which is now defined in XML by:
"1.0" encoding="utf-8"?>"1" name="Test Room" size="4"> "wall_01.tga" /> "floor_01.tga" />
The room element's id attribute will be used by the game engine to find the next room to enter when the player exits the room they are currently in.
At the moment the floor and walls of a room don't offer much flexibility in terms of texturing. Eventually a room will be stored as a 2-dimensional array where each cell can have it's own unique texture sets.
Also, only square rooms? [sad]