Original Post
My head hurts... but that might be because I was banging it on my monitor... anyway. I''m trying to implement the ID3DXFont interface but I get two errors:
error C2660: ''D3DXCreateFont'' : function does not take 12 parameters
error C2660: ''DrawTextA'' : function does not take 6 parameters
Usually, I would say, okay, those functions have too many or too little parameters. This is not the case, as these are the correct numbers of parameters. Here are my calls to the functions:
D3DXCreateFont(device,22,0,400,1,false,DEFAULT_CHARSET,OUT_DEFAULT_PRECIS,ANTIALIASED_QUALITY,DEFAULT_PITCH | FF_DONTCARE,"Arial",&font);
and:
font->DrawText(NULL,intToChar(100),-1,textRect,DT_LEFT | DT_NOCLIP,0xFFFFFFFF);
I am starting to get aggrivated with my own stupidity.