if(gvar.in.inst->Keyboard[88]){ panswitch=!panswitch; IN_UserInput(1, &gvar); } \\r
TAIL_FUNCTIONKEYFUNCTIONS0EXE\r
\r
+\r
#define RFDEBUGFUNCTIONS\r
#ifdef __DEBUG_RF__\r
#undef RFDEBUGFUNCTIONS\r
#define RFDEBUGFUNCTIONS \\r
- if(gvar.in.inst->Keyboard[sc_F11]){ dbg_pagedelayrendermap=!dbg_pagedelayrendermap; IN_UserInput(1, &gvar); } \\r
- if(gvar.in.inst->Keyboard[sc_F9]){ dbg_pagenorendermap=!dbg_pagenorendermap; IN_UserInput(1, &gvar); }\r
+ switch(gvar.in.inst->CurCode) \\r
+ { \\r
+ case sc_F11: \\r
+ dbg_pagedelayrendermap=!dbg_pagedelayrendermap; IN_UserInput(1, &gvar); \\r
+ break; \\r
+ case sc_F9: \\r
+ dbg_pagenorendermap=!dbg_pagenorendermap; IN_UserInput(1, &gvar); \\r
+ break; \\r
+ }\r
#endif\r
\r
/*#define MAPDEBUGFUNCTIONS\r
#endif*/\r
\r
#define TAIL_FUNCTIONKEYFUNCTIONS0EXE \\r
- if(gvar.in.inst->Keyboard[sc_F4]){ turboXT(12); IN_UserInput(1, &gvar); } \\r
- if(gvar.in.inst->Keyboard[68/*sc_F10*/]){ gvar.kurokku.fpscap=!gvar.kurokku.fpscap; IN_UserInput(1, &gvar); } \\r
- if(gvar.in.inst->Keyboard[sc_F8]){ gvar.video.vga_state.bgps=!gvar.video.vga_state.bgps; IN_UserInput(1, &gvar); } \\r
- if(gvar.in.inst->Keyboard[sc_F7]){ VL_ShowPage(&gvar.video.page, 0, 1); IN_UserInput(1, &gvar); } \\r
- if(gvar.in.inst->Keyboard[sc_F6]){ VL_ShowPage(&gvar.video.page, 0, 0); IN_UserInput(1, &gvar); } \\r
- if(gvar.in.inst->Keyboard[sc_T]){ gvar.video.vga_state.rss=!gvar.video.vga_state.rss; IN_UserInput(1, &gvar); } \\r
- if(gvar.in.inst->Keyboard[sc_P]){ modexpdump(0, &gvar); IN_UserInput(1, &gvar); } \\r
- if(gvar.in.inst->Keyboard[sc_Y]){ dbg_delayanimation=!dbg_delayanimation; IN_UserInput(1, &gvar); } \\r
- if(gvar.in.inst->Keyboard[sc_Q]){ VL_modexPrintTextBox(&gvar); IN_UserInput(1, &gvar); } \\r
- if(gvar.in.inst->Keyboard[sc_W]){ VL_MemToScreen((byte __far *)&gvar, 64, 64, 16, 16, &gvar); IN_UserInput(1, &gvar); } \\r
- if(gvar.in.inst->Keyboard[sc_LBrkt]){ ShowPalVal (&gvar); IN_UserInput(1, &gvar); } \\r
- if(gvar.in.inst->Keyboard[sc_M]){ MM_ShowMemory(&gvar); MM_DumpData (&gvar); IN_UserInput(1, &gvar); } \\r
+ switch(gvar.in.inst->CurCode) \\r
+ { \\r
+ case sc_F4: \\r
+ turboXT(12); IN_UserInput(1, &gvar); \\r
+ break; \\r
+ case sc_F10: \\r
+ gvar.kurokku.fpscap=!gvar.kurokku.fpscap; IN_UserInput(1, &gvar); \\r
+ break; \\r
+ case sc_F8: \\r
+ gvar.video.vga_state.bgps=!gvar.video.vga_state.bgps; IN_UserInput(1, &gvar); \\r
+ break; \\r
+ case sc_F7: \\r
+ VL_ShowPage(&gvar.video.page, 0, 1); IN_UserInput(1, &gvar); \\r
+ break; \\r
+ case sc_F6: \\r
+ VL_ShowPage(&gvar.video.page, 0, 0); IN_UserInput(1, &gvar); \\r
+ break; \\r
+ case sc_T: \\r
+ gvar.video.vga_state.rss=!gvar.video.vga_state.rss; IN_UserInput(1, &gvar); \\r
+ break; \\r
+ case sc_P: \\r
+ modexpdump(0, &gvar); IN_UserInput(1, &gvar); \\r
+ break; \\r
+ case sc_Y: \\r
+ dbg_delayanimation=!dbg_delayanimation; IN_UserInput(1, &gvar); \\r
+ break; \\r
+ case sc_Q: \\r
+ VL_modexPrintTextBox(&gvar); IN_UserInput(1, &gvar); \\r
+ break; \\r
+ case sc_W: \\r
+ VL_MemToScreen((byte __far *)&gvar, 64, 64, 16, 16, &gvar); IN_UserInput(1, &gvar); \\r
+ break; \\r
+ case sc_LBrkt: \\r
+ ShowPalVal (&gvar); IN_UserInput(1, &gvar); \\r
+ break; \\r
+ case sc_M: \\r
+ MM_ShowMemory(&gvar); MM_DumpData (&gvar); IN_UserInput(1, &gvar); \\r
+ break; \\r
+ } \\r
RFDEBUGFUNCTIONS\r
-//FIZZLEFADEFUNCTION\r
+ //FIZZLEFADEFUNCTION\r
\r
#define TAIL_PANKEYFUN \\r
TAIL_PANKEYFUNZC \\r