im making a FPS game and i got error C2065
here is the code
// Dark GDK - The Game Creators - www.thegamecreators.com
// the wizard has created a very simple project that uses Dark GDK
// it contains the basic code for a GDK application
// whenever using Dark GDK you must ensure you include the header file
#include "DarkGDK.h"
// the main entry point for the application is this function
void DarkGDK ( void )
{
// turn on sync rate and set maximum rate to 60 fps
dbSyncOn ( );
dbSyncRate ( 60 );
dbLoadImage ("L-Tommy-Static.x",1);
dbLoadImage ("Assault Tropper.x",2);
dbPositionObject(2,100,0,100);
dbRotateObject (2,-90,0,0);
dbRotateObject (1,-90,0,0);
dbPositionObject (1,10,10,-15);
dbLockObjectOn (1);
// our main loop
while ( LoopGDK ( ) )
{
dbControlCameraUsingArrowKeys (0,2.0f,1.0f,f3);
dbMakeMatrix (4,100,100,10,10);
// update the screen
dbSync ( );
}
// return back to windows
return;
}
can anyone help?