- //printf("pal load\n");\r
- //gpal = modexNewPal();\r
- /*modexPalSave(gpal);\r
- modexSavePalFile("data/g.pal", gpal);*/\r
- printf("wwww loop wwww\n");\r
- VGAmodeX(1, &gvar);\r
- modexPalBlack(); //so player will not see loadings~\r
- IN_Startup();\r
+ gpal = modexNewPal();\r
+ modexPalSave(gpal);\r
+ modexSavePalFile("data/g.pal", gpal);\r
+ VGAmodeX(1, 1, &gvar);\r
+// modexPalBlack(); //so player will not see loadings~\r
IN_Default(0,&player,ctrl_Joystick);\r
//modexprint(&screen, 32, 32, 1, 2, 0, "a", 1);\r
while(ENGI_EXIT != engi_stat)\r
{\r
IN_ReadControl(0,&player);\r
if(IN_KeyDown(sc_Escape)) engi_stat = ENGI_EXIT;\r
IN_Default(0,&player,ctrl_Joystick);\r
//modexprint(&screen, 32, 32, 1, 2, 0, "a", 1);\r
while(ENGI_EXIT != engi_stat)\r
{\r
IN_ReadControl(0,&player);\r
if(IN_KeyDown(sc_Escape)) engi_stat = ENGI_EXIT;\r
- switch(detectcpu())\r
- {\r
- case 0: cpus = "8086/8088 or 186/88"; break;\r
- case 1: cpus = "286"; break;\r
- case 2: cpus = "386 or newer"; break;\r
- default: cpus = "internal error"; break;\r
- }\r
- VGAmodeX(0, &gvar);\r
+ Shutdown16(&gvar);\r
+ VGAmodeX(0, 1, &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("Project 16 16.exe. This is supposed to be the actual finished game executable!\n");\r
printf("version %s\n", VERSION);\r