Code: Select all
extern void oslDrawTextBox(int x0, int y0, int x1, int y1, const char *text, int format);
I tried to contact Brunni via PM about this four days ago and have yet to receive a reply. Can anyone else tell me exactly how this parameter works, and how I might use it to improve the look of my text? Thanks.
By the way, pay no attention to Snake in that screenshot; this isn't a Metal Gear related game :). He's just there to test the portrait code.
Edit: Ok, I figured out how to convert and use my own fonts and correct the background color problem, but I'm still curious about this int format parameter.