Hiii guys (:
I dont know if this is the right place, but i thought of it as pretty basic, which just makes this more embaresing d:
i have tried some functions for displaying text, and i made a couple of them work. Cant remember excatly how i wrote it but something like;
void DrawText(float x, float y, char *string, ...)
{
int len = (int)strlen(string);
for (int i = 0; i < len; i++)
{
glutBitmapCharacter(Thefont, (int)string[i]);
}
}
u should get the idea ^^
Anyways i made it work "kinda", it shows the text, but i cant make it show my vars' like;
DrawText(200, 200, "MouseX; %d", mouseX);
Then it just types "MouseX %d" on the screen (:
Anyfixes? ^^
Sincerly Wunder..