From: sparky4 Date: Tue, 10 Jan 2017 19:47:42 +0000 (-0600) Subject: made a new function modexMVSetup() and made scroller use dx and dy on page[0].dx... X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=1d92218e4a5b416429a6c5be3104bf66e4d52f3a;p=16.git made a new function modexMVSetup() and made scroller use dx and dy on page[0].dx wwww i will mess with mv[0]dx and mv[0].dy later --- diff --git a/src/0.c b/src/0.c index c39ba106..69d2c105 100755 --- a/src/0.c +++ b/src/0.c @@ -171,10 +171,10 @@ int main(int argc,char **argv) while(!IN_KeyDown(sc_Escape)) { IN_ReadControl(0,&player); + if(IN_KeyDown(68)){ gvar.kurokku.fpscap=!gvar.kurokku.fpscap; IN_UserInput(1,1); } //f10 PANKEY0EXE; - if(IN_KeyDown(68) || IN_KeyDown(sc_Space)) //f10 and space + if(IN_KeyDown(sc_Space)) //space { - //gvar.kurokku.fpscap=!gvar.kurokku.fpscap; anim=!anim; DRAWCORNERBOXES; IN_UserInput(1,1); @@ -284,6 +284,7 @@ if(!noanim) { } /* wait for vsync end */ + if(gvar.kurokku.fpscap) vga_wait_for_vsync_end(); /* what scalefactor to use for stretching? */ @@ -328,6 +329,7 @@ if(!noanim) { vga_restore_rm0wm0(); /* wait for vsync */ + if(gvar.kurokku.fpscap) vga_wait_for_vsync(); /* make it shrink */