\r
#include "src/16.h"\r
\r
+global_game_variables_t gvar;\r
+engi_stat_t engi_stat;\r
+const char *cpus;\r
+byte *dpal, *gpal;\r
+player_t player[MaxPlayers];\r
+//page_t screen;\r
+\r
void\r
main(int argc, char *argv[])\r
{\r
- global_game_variables_t gvar;\r
- engi_stat_t engi_stat;\r
- const char *cpus;\r
- byte *dpal, *gpal;\r
- player_t player[MaxPlayers];\r
-\r
+ //screen = modexDefaultPage();\r
engi_stat = ENGI_RUN;\r
+ //textInit();\r
\r
/* save the palette */\r
dpal = modexNewPal();\r
modexPalBlack(); //so player will not see loadings~\r
IN_Startup();\r
IN_Default(0,&player,ctrl_Joystick);\r
+ //modexprint(&screen, 32, 32, 1, 2, 0, "a");\r
while(ENGI_EXIT != engi_stat)\r
{\r
IN_ReadControl(0,&player);\r
case 2: cpus = "386 or newer"; break;\r
default: cpus = "internal error"; break;\r
}\r
- printf("detected CPU type: %s\n", cpus);\r
VGAmodeX(0, &gvar);\r
+ printf("Project 16 16.exe. This is supposed to be the actual finished game executable!\n");\r
+ printf("version %s\n", VERSION);\r
+ printf("detected CPU type: %s\n", cpus);\r
IN_Shutdown();\r
modexFadeOn(4, dpal);\r
}\r
{
// word panswitch=0, panq=1, pand=0;
word panpagenum=0; //for panning!
- int i;
- static word paloffset=0;
+ unsigned int i;
+ //static word paloffset=0;
const char *cpus;
//static int persist_aniframe = 0; /* gonna be increased to 1 before being used, so 0 is ok for default */