g_pFont->DrawText(NULL, buf, -1, &FontPos, DT_NOCLIP, color);
void cDirectx::DrawString(int x, int y, DWORD color, LPD3DXFONT g_pFont, const char *fmt, ...)
{
1>------ Build started: Project: CaBase, Configuration: Release Win32 ------ 1> Base.cpp 1>Base.cpp(14): warning C4005: 'D3DXCreateFont' : macro redefinition 1> c:\documents and settings\admin\desktop\coding\cabase\cabase\d3dx9core.h(413) : see previous definition of 'D3DXCreateFont' 1> DirectX.cpp 1>DirectX.cpp(17): error C2061: syntax error : identifier 'pFont' 1>DirectX.cpp(18): error C2511: 'void cDirectx::DrawString(int,int,DWORD)' : overloaded member function not found in 'cDirectx' 1> c:\documents and settings\admin\desktop\coding\cabase\cabase\DirectX.h(11) : see declaration of 'cDirectx' 1> Menu.cpp 1> Misc.cpp ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========