modexPalSave(dpal);\r
modexFadeOff(4, dpal);\r
#endif\r
- textInit();\r
+ //textInit();\r
VGAmodeX(bakapee, 1, &gvar);\r
#ifdef MODEXZ\r
#ifdef FADE\r
#endif\r
exit(-4);\r
}\r
- //++++animate_spri(&(player[0].ent->spri));\r
+ //animate_spri((player[0].ent->spri), &gvar);\r
\r
modexShowPage(mv[0].page);//!(gvar.video.p)\r
shinku_fps_indicator_page = 0; // we're on page 1 now, shinku(). follow along please or it will not be visible.\r
#ifdef FADE\r
modexFadeOn(4, gpal);\r
#endif\r
- modexDrawSprite(mv[0].page, 16, 16, (player[0].data));\r
/*strcpy(global_temp_status_text, "press enter for the loop of zcroll\nescape to quit");\r
modexprint(&gvar.video.page[0], 144, 72, 1, 7, 0, global_temp_status_text);\r
while(!IN_KeyDown(sc_Enter)){ if(IN_KeyDown(sc_Escape)) goto quit; } IN_UserInput(1,1);*///wwww\r
if(IN_KeyDown(25)){ modexpdump(mv[0].page);\r
IN_UserInput(1,1);\r
} //p\r
-#ifdef FADE\r
- if(IN_KeyDown(24)){ modexPalUpdate0(gpal); paloffset=0; modexpdump(mv[0].page); IN_UserInput(1,1); } //p\r
- if(IN_KeyDown(22)){\r
- printf("2paloffset = %d\n", paloffset/3);\r
- IN_UserInput(1,1);\r
- }\r
-#endif\r
+\r
+ if(IN_KeyDown(24)){ modexPalUpdate0(gpal); /*paloffset=0;*/ modexpdump(mv[0].page); IN_UserInput(1,1); } //o\r
+ if(IN_KeyDown(22)){ modexPalUpdate0(gpal); } //u\r
\r
//pan switch\r
if(IN_KeyDown(88)){panswitch=!panswitch; IN_UserInput(1,1);} //f12\r
if(IN_KeyDown(66)) //f8\r
{\r
// modexDrawSprite(mv[0].page, 16, 16, &p);\r
- modexDrawSprite(mv[0].page, 32+72, 16, (player[0].data));\r
+// modexDrawSprite(mv[0].page, 32+72, 16, (player[0].data));\r
+ switch(i)\r
+ {\r
+ case 11:\r
+ i=0;\r
+ player[0].ent->spri->x = 0;\r
+ default:\r
+ i++;\r
+ player[0].ent->spri->delay = 1; animate_spri((player[0].ent->spri), &gvar); player[0].ent->spri->x += 20;\r
+ break;\r
+ }\r
}\r
//TODO fmemtest into page\r
/*if(IN_KeyDown(4+1)) //4\r