static global_game_variables_t gvar;\r
Startup16(&gvar);\r
\r
- gvar.engi_stat = ENGI_RUN;\r
-\r
/* save the palette */\r
modexPalSave(gvar.video.dpal);\r
modexFadeOff(4, gvar.video.dpal);\r
// modexPalBlack(); //so player will not see loadings~\r
IN_Default(0,&gvar.player[0],ctrl_Joystick, &gvar);\r
//modexprint(&screen, 32, 32, 1, 2, 0, "a", 1);\r
- while(ENGI_QUIT != gvar.engi_stat)\r
+ while(1)\r
{\r
IN_ReadControl(&gvar.player[0], &gvar);\r
- if(IN_KeyDown(sc_Escape)) gvar.engi_stat = ENGI_QUIT;\r
+ if(IN_KeyDown(sc_Escape)) break;\r
shinku(&gvar);\r
_DEBUGF("Serial debug output printf test %u %u %u\n",1U,2U,3U);\r
}\r