/* Project 16 Source Code~\r
- * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2018 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
*\r
* This file is part of Project 16.\r
*\r
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
// *dy *= time;\r
// }\r
// }\r
- lasttime = TimeCount;\r
+//00 lasttime = TimeCount;\r
}\r
\r
///////////////////////////////////////////////////////////////////////////\r
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