guys...what should i do if i have this error. i tried to search thru net but still couldn't solve it. This error making me crazy...i'm struck with it for few hours.
Code:
// Display the intro screen
int introScreen(),STARTGAME;
{
DXUPlaySFX(RAVE);
while(DXUProcessMessages()) // Process system Messages
{ // read key board
DXUReadKeyboard();
// if escape is pressed then game over
if (dxuKeyState[DIK_Q])
DXUDestroyWindow() ;
// if space is pressed return start game
if (dxuKeyState[DIK_0])
return STARTGAME;
// Other wise draw the background
DXURenderPrepare();
DXUDrawSpriteFast(&sprIntro);
strcpy(str,"");
DXUDrawText(&impactFont,str);
DXURenderFinish();
}
return GAMEOVER;
}