]> 4ch.mooo.com Git - 16.git/commitdiff
modified: 16.exe
authorsparky4 <sparky4@cock.li>
Sun, 12 Jul 2015 18:22:39 +0000 (13:22 -0500)
committersparky4 <sparky4@cock.li>
Sun, 12 Jul 2015 18:22:39 +0000 (13:22 -0500)
modified:   exmmtest.exe
modified:   inputest.exe
modified:   maptest.exe
modified:   src/inputest.c
modified:   src/lib/16_head.h
modified:   src/lib/16_in.c
modified:   src/lib/16_in.h

16.exe
exmmtest.exe
inputest.exe
maptest.exe
src/inputest.c
src/lib/16_head.h
src/lib/16_in.c
src/lib/16_in.h

diff --git a/16.exe b/16.exe
index d407dac141d591d9fa2508db9ccc8bcbbb848d09..30dfc54d2380e82549fcb96a43a9ebc765176e14 100644 (file)
Binary files a/16.exe and b/16.exe differ
index 4bd6a747a6cc8b7e119261a328369acfbeb69787..0168bc743c57fb10aafd389426acfca4b417afc3 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 2befbe0643eb2471f27f34a12fe1b73a17e406e3..4eac314bd1a305ddef6e04eb6e6f1ecc6534f42e 100644 (file)
Binary files a/inputest.exe and b/inputest.exe differ
index ed045368a4287c97ed7f59fe3d316b18717c5432..f634cd39355a77c0d456f5ffcdab5f9d2cee8146 100644 (file)
Binary files a/maptest.exe and b/maptest.exe differ
index 5df1f39f8acd33569de7ecf77655fff72387d990..6fdf5567f927dee9fede288c123565d34385dff9 100644 (file)
@@ -23,7 +23,7 @@
        input test\r
 */\r
 #include "src/lib/16_in.h"\r
-\r
+
 void\r
 main(int argc, char *argv[])\r
 {
@@ -37,7 +37,8 @@ main(int argc, char *argv[])
        {
                IN_ReadControl(0,&player);
                //printf("%u\n", IN_KeyDown(sc_Escape));
-               //printf("%u\n", IN_qb(sc_Escape));\r
+               //printf("%u\n", IN_qb(sc_Escape));
+               clockdw++;
        }
        IN_Shutdown();
        //printf("%u\n", in.Keyboard[sc_Escape]);\r
index 19e713b1e33967a264e3bdbac9aa1be3ea95e603..2bb380febd530be11f5f5c3ad862c457bbef9444 100644 (file)
 #define KEY_MENU               (0x75)
 */
 
-static dword far* clockdw= (dword far*) 0x046C; /* 18.2hz clock */
+//static dword far* clockdw= (dword far*) 0x046C; /* 18.2hz clock */
+static dword clockdw=0;
 
 #define        nil     ((void *)0)
 
index 2878be77c71f4c15d9eb6c645f1b4c26a7432bef..4dd9aa0cc3feb7b7230c851a94c79de07eaf85d9 100644 (file)
@@ -371,7 +371,7 @@ INL_GetJoyDelta(word joy,int *dx,int *dy,boolean adaptive)
 {\r
        word            x,y;\r
        dword   time;\r
-       dword TimeCount = *clockdw;\r
+       dword TimeCount = /***/clockdw;\r
        JoystickDef     *def;\r
 static dword   lasttime;\r
 \r
@@ -465,7 +465,7 @@ register    word    result;
 word\r
 IN_GetJoyButtonsDB(word joy)\r
 {\r
-       dword TimeCount = *clockdw;\r
+       dword TimeCount = /***/clockdw;\r
        dword   lasttime;\r
        word            result1,result2;\r
 \r
@@ -1176,7 +1176,7 @@ IN_IsUserInput()
 boolean\r
 IN_UserInput(dword delay,boolean clear)\r
 {\r
-       dword TimeCount = *clockdw;\r
+       dword TimeCount = /***/clockdw;\r
        dword   lasttime;\r
 \r
        lasttime = TimeCount;\r
index 9a9c768502fb4cd65ec5b2d7696c09b78539dd57..fe621bc7f5570f726d3930b6b4d48177ff37d27c 100644 (file)
@@ -251,7 +251,7 @@ typedef     struct
                static word             DemoOffset,DemoSize;\r
 #endif\r
 \r
-extern dword far* clockdw;\r
+extern dword /*far**/ clockdw;\r
 \r
 //     Internal routines\r
 extern void interrupt INL_KeyService();\r