]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_in.c
i did some minor things including commenting out some joy stick timing stuff and...
[16.git] / src / lib / 16_in.c
index bdd3d0fe47554db0db169cbe3b761b4f2fec9e96..0ac77f15d5cb49a06d6ce0a0e6bdf27cde49666c 100755 (executable)
@@ -377,9 +377,9 @@ done:
 void INL_GetJoyDelta(word joy,int *dx,int *dy/*,boolean adaptive*/, global_game_variables_t *gvar)\r
 {\r
        word            x,y;\r
-       word TimeCount = *clockw;\r
+//00   word TimeCount = *clockw;\r
        JoystickDef     *def;\r
-static word    lasttime;\r
+//00static     word    lasttime;\r
 \r
        IN_GetJoyAbs(joy,&x,&y);\r
        def = gvar->in.JoyDefs + joy;\r
@@ -440,7 +440,7 @@ static      word    lasttime;
 //                     *dy *= time;\r
 //             }\r
 //     }\r
-       lasttime = TimeCount;\r
+//00   lasttime = TimeCount;\r
 }\r
 \r
 ///////////////////////////////////////////////////////////////////////////\r
@@ -470,15 +470,15 @@ register  word    result;
 word\r
 IN_GetJoyButtonsDB(word joy)\r
 {\r
-       word TimeCount = *clockw;\r
-       word    lasttime;\r
+//00   word TimeCount = *clockw;\r
+//00   word    lasttime;\r
        word            result1,result2;\r
 \r
        do\r
        {\r
                result1 = INL_GetJoyButtons(joy);\r
-               lasttime = TimeCount;\r
-               while(TimeCount == lasttime)\r
+//00           lasttime = TimeCount;\r
+//00           while(TimeCount == lasttime)\r
                        //;\r
                result2 = INL_GetJoyButtons(joy);\r
        } while(result1 != result2);\r