]> 4ch.mooo.com Git - 16.git/commitdiff
made a new function modexMVSetup() and made scroller use dx and dy on page[0].dx...
authorsparky4 <sparky4@cock.li>
Tue, 10 Jan 2017 19:47:42 +0000 (13:47 -0600)
committersparky4 <sparky4@cock.li>
Tue, 10 Jan 2017 19:47:42 +0000 (13:47 -0600)
src/0.c

diff --git a/src/0.c b/src/0.c
index c39ba106ff66ba66510122c63d7df8aea0e0446c..69d2c1052b419442a22a9b54450304240ecb64d7 100755 (executable)
--- a/src/0.c
+++ b/src/0.c
@@ -171,10 +171,10 @@ int main(int argc,char **argv)
                while(!IN_KeyDown(sc_Escape))\r
                {\r
                        IN_ReadControl(0,&player);\r
+                       if(IN_KeyDown(68)){ gvar.kurokku.fpscap=!gvar.kurokku.fpscap; IN_UserInput(1,1); } //f10\r
                        PANKEY0EXE;\r
-                       if(IN_KeyDown(68) || IN_KeyDown(sc_Space))      //f10 and space\r
+                       if(IN_KeyDown(sc_Space))        //space\r
                        {\r
-                               //gvar.kurokku.fpscap=!gvar.kurokku.fpscap;\r
                                anim=!anim;\r
                                DRAWCORNERBOXES;\r
                                IN_UserInput(1,1);\r
@@ -284,6 +284,7 @@ if(!noanim) {
                        }\r
 \r
                        /* wait for vsync end */\r
+                       if(gvar.kurokku.fpscap)\r
                        vga_wait_for_vsync_end();\r
 \r
                        /* what scalefactor to use for stretching? */\r
@@ -328,6 +329,7 @@ if(!noanim) {
                        vga_restore_rm0wm0();\r
 \r
                        /* wait for vsync */\r
+                       if(gvar.kurokku.fpscap)\r
                        vga_wait_for_vsync();\r
 \r
                        /* make it shrink */\r