On the day 32 Q&A, there was a question about printing debug text on screen, and though that's something which won't be addressed until later, I thought I would share this for those who wants a placeholder in the meantime.
http://www.mattiasgustavsson.com/temp/libs/sysfont.hpp
It is a simple single-header implementation of a generic debug font renderer, which draws text to any 8, 16 or 32 bit bitmap target. You call it like this:
| sysfont::draw9x16( ptrToPixelBuffer, bitmapWidth, bufferHeight, xpos, ypos, "Your text here." );
|
It includes the actual font definition as an inline data array (as one bit per pixel), so there's no loading or assets needed (but instead you are limited to two fonts, one 8x8 and one 9x16 - the old DOS fonts).