]> 4ch.mooo.com Git - 16.git/commitdiff
optimize for XT i did ww
authorsparky4 <sparky4@cock.li>
Thu, 16 Jun 2016 16:31:51 +0000 (11:31 -0500)
committersparky4 <sparky4@cock.li>
Thu, 16 Jun 2016 16:31:51 +0000 (11:31 -0500)
src/lib/.scroll16.c.kate-swp [deleted file]
src/lib/scroll16.c
src/scroll.c

diff --git a/src/lib/.scroll16.c.kate-swp b/src/lib/.scroll16.c.kate-swp
deleted file mode 100755 (executable)
index 15778a1..0000000
Binary files a/src/lib/.scroll16.c.kate-swp and /dev/null differ
index c36c5f3f6ecd47c6087aebe99753c0d406118995..711d4bc06e891fe95bb860a8131992798bf70081 100755 (executable)
@@ -802,19 +802,6 @@ void shinku(global_game_variables_t *gv)
        }else //copy dat sheet
        gv->kurokku.tiku++;
 
-       switch(gv->kurokku.fpscap)
-       {
-               case 0:
-                       modexprint(&(gv->video.page[shinku_fps_indicator_page]), x, y+8, type, col, bgcol, "sanic!");
-                       gv->kurokku.frames_per_second=1;
-               break;
-               case 1:
-                       //turn this off if XT
-                       //modexWaitBorder();
-                       vga_wait_for_vsync();
-                       gv->kurokku.frames_per_second=60;
-               break;
-       }
        if(pageflipflop){
        if(gv->video.r){
                /* block copy pattern to where we will draw the sprite */
index 3a7d694d3bce470261350158704c845fdab66425..18c53111b084d7c798f85372cd4e5ab79183ef86 100755 (executable)
@@ -288,6 +288,19 @@ void main(int argc, char *argv[])
        if(IN_KeyDown(68))      //f10
        {
                gvar.kurokku.fpscap=!gvar.kurokku.fpscap;
+               switch(gvar.kurokku.fpscap)
+               {
+                       case 0:
+                               //modexprint(&(gv->video.page[shinku_fps_indicator_page]), x, y+8, type, col, bgcol, "sanic!");
+                               gvar.kurokku.frames_per_second=1;
+                       break;
+                       case 1:
+                               //turn this off if XT
+                               //modexWaitBorder();
+                               vga_wait_for_vsync();
+                               gvar.kurokku.frames_per_second=60;
+                       break;
+               }
                IN_UserInput(1,1);
        }
        if(IN_KeyDown(67))      //f9