#include "src/lib/16_mm.h"\r
#include "src/lib/16_ca.h"\r
#include "src/lib/16_in.h"\r
+#include "src/lib/testpatt.h"\r
\r
#define FUNCTIONKEYFUNCTIONS \\r
- if(IN_KeyDown(sc_F6)){ VL_ShowPage(&gvar.video.page[0], 0, 0); IN_UserInput(1,1); } \\r
- if(IN_KeyDown(sc_F7)){ VL_ShowPage(&gvar.video.page[0], 0, 1); IN_UserInput(1,1); }\r
+ if(IN_KeyDown(88)){ panswitch=!panswitch; IN_UserInput(1,1); } \\r
+ FUNCTIONKEYFUNCTIONS0EXE\r
+\r
#define FUNCTIONKEYFUNCTIONS0EXE \\r
- if(IN_KeyDown(sc_F6)){ VL_ShowPage(&gvar.video.page[pan.pn], 0, 0); IN_UserInput(1,1); } \\r
- if(IN_KeyDown(sc_F7)){ VL_ShowPage(&gvar.video.page[pan.pn], 0, 1); IN_UserInput(1,1); }\r
+ if(IN_KeyDown(sc_F4)){ turboXT(12); IN_UserInput(1,1); } \\r
+ if(IN_KeyDown(87/*sc_F11*/)){ pagedelayrendermap=!pagedelayrendermap; IN_UserInput(1,1); } \\r
+ if(IN_KeyDown(68/*sc_F10*/)){ gvar.kurokku.fpscap=!gvar.kurokku.fpscap; IN_UserInput(1,1); } \\r
+ if(IN_KeyDown(sc_F9)){ pagenorendermap=!pagenorendermap; IN_UserInput(1,1); } \\r
+ if(IN_KeyDown(sc_F7)){ ZC_ShowMV(&mv, 0, 1); IN_UserInput(1,1); } \\r
+ if(IN_KeyDown(sc_F6)){ ZC_ShowMV(&mv, 0, 0); IN_UserInput(1,1); } \\r
+ if(IN_KeyDown(sc_T)){ gvar.video.rss=!gvar.video.rss; IN_UserInput(1,1); } \\r
+ if(IN_KeyDown(sc_P)){ modexpdump(&gvar.video.page[0]); IN_UserInput(1,1); }\r
+\r
+//VL_ShowPage(page_t *page, boolean vsync, boolean sr)\r
+#define PANKEYFUN \\r
+ PANKEYFUNZC \\r
+ FUNCTIONKEYDRAWJUNK\r
+\r
+#define PANKEYFUNZC \\r
+ ZC_panPageManual(&mv, &player, 0);\r
+\r
+#define FUNCTIONKEYDRAWJUNK \\r
+ if(IN_KeyDown(1+1)){ gvar.video.sp=0; ZC_ShowMV(&mv, 0, 0); } \\r
+ if(IN_KeyDown(2+1)){ gvar.video.sp=1; ZC_ShowMV(&mv, 0, 0); } \\r
+ if(IN_KeyDown(3+1)){ gvar.video.sp=2; ZC_ShowMV(&mv, 0, 1); } \\r
+ if(IN_KeyDown(4+1)){ gvar.video.sp=3; ZC_ShowMV(&mv, 0, 1); } \\r
+ FUNCTIONKEYDRAWJUNKNOMV\r
+\r
+#define FUNCTIONKEYDRAWJUNKNOMV \\r
+ if(IN_KeyDown(sc_A)) modexClearRegion(&gvar.video.page[2], 0, 0, gvar.video.page[2].sw, gvar.video.page[2].sh, 3); \\r
+ if(IN_KeyDown(sc_S)) modexClearRegion(&gvar.video.page[3], 0, 0, gvar.video.page[3].sw, gvar.video.page[3].sh, 4); \\r
+\\r
+ if(IN_KeyDown(sc_Z)){ DRAWCORNERBOXES } \\r
+ if(IN_KeyDown(sc_X)){ TESTBG12 } \\r
+ if(IN_KeyDown(sc_C)){ TESTBG34 } \\r
+ if(IN_KeyDown(sc_V)) VL_PatternDraw(&gvar.video, 0, 1, 1);\r
\r
void DebugMemory_(global_game_variables_t *gvar, boolean q);\r
void Shutdown16(global_game_variables_t *gvar);\r
void Startup16(global_game_variables_t *gvar);\r
void ClearMemory (global_game_variables_t *gvar);\r
void Quit (global_game_variables_t *gvar, char *error);\r
+void turboXT(byte bakapee);\r
+void walktypeinfo(player_t *player, word pn);\r
void nibbletest();\r
void booleantest();\r
\r