]> 4ch.mooo.com Git - 16.git/commitdiff
wwww
authorsparky4 <sparky4@cock.li>
Sat, 27 Jun 2015 23:31:00 +0000 (18:31 -0500)
committersparky4 <sparky4@cock.li>
Sat, 27 Jun 2015 23:31:00 +0000 (18:31 -0500)
modified:   16.LIB
modified:   16.exe
modified:   exmmtest.exe
modified:   fonttest.exe
modified:   inputest.exe
modified:   maptest.exe
modified:   maptest0.exe
modified:   pcxtest.exe
modified:   scroll.exe
modified:   src/lib/16_in.c
modified:   src/lib/16_in.h
modified:   test.exe
modified:   test2.exe

13 files changed:
16.LIB
16.exe
exmmtest.exe
fonttest.exe
inputest.exe
maptest.exe
maptest0.exe
pcxtest.exe
scroll.exe
src/lib/16_in.c
src/lib/16_in.h
test.exe
test2.exe

diff --git a/16.LIB b/16.LIB
index a0c5426f61947cc04c79d84f4f0b4c6a68eaf9ed..0cafbb6203f2fd5b31d95b56b8df5ac9d830c3f7 100644 (file)
Binary files a/16.LIB and b/16.LIB differ
diff --git a/16.exe b/16.exe
index 7c2c48b7a654ee486b506760b8c7cd2a130c8416..43d3b6dd4bc13e3d58370bf747be460b8e17fef8 100644 (file)
Binary files a/16.exe and b/16.exe differ
index f949a05e43e3a80173a9fcfef40ad99d796699e3..355105363e3d0b7d0b8520120e7ef77e3c833ed3 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 9fd9ea35b94dc4d9a31c02e6221c5f8e3ad02b35..ac1cda24eccc76b367c40f952b9ff1be71e60801 100644 (file)
Binary files a/fonttest.exe and b/fonttest.exe differ
index 4e470c4d57947440fb38a45c4e6601b4c2703a1c..bc2720974a667a700f2cb428eb21442cbcff94cc 100644 (file)
Binary files a/inputest.exe and b/inputest.exe differ
index 2a6a6dd586b122fa01a6e73e6dc7518a1ae84076..a846d026d0ebabe50ae22b7f328f0203b2abe9ae 100644 (file)
Binary files a/maptest.exe and b/maptest.exe differ
index 12dda10af0a71a06f5231f54b149f09a71ea8e76..815756c681a1fa6b78dfce761fef435d8bb79a36 100644 (file)
Binary files a/maptest0.exe and b/maptest0.exe differ
index 57294369fb8d0b5ca2bdecabd2374b6b01e80ab8..80badb00b632c1dd65e07c6b549e1af10c23c225 100644 (file)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index 4180b96fc72ba35d9bba12521956c9e26b649922..9da91bdd00ee9a8585f985ca9f9b0898618fb7cb 100644 (file)
Binary files a/scroll.exe and b/scroll.exe differ
index 28d79e71fe41a70426f85cabfaa3834f0a2b4177..e3832dcf6ccda8737d197d64aa3fe9dd43bf40f8 100644 (file)
 
 #include "src/lib/16_in.h"
 
+/*\r
+=============================================================================\r
+\r
+                                       GLOBAL VARIABLES\r
+\r
+=============================================================================\r
+*/\r
+//     Global variables
+               boolean JoystickCalibrated=false;               // MDM (GAMERS EDGE) - added\r
+               ControlType ControlTypeUsed;                            // MDM (GAMERS EDGE) - added\r
+               boolean         Keyboard[NumCodes];\r
+               boolean         Paused;\r
+               char            LastASCII;\r
+               ScanCode        LastScan;\r
+\r
+               //KeyboardDef   KbdDefs = {0x1d,0x38,0x47,0x48,0x49,0x4b,0x4d,0x4f,0x50,0x51};\r
+               JoystickDef     JoyDefs[MaxJoys];\r
+               ControlType     Controls[MaxPlayers];\r
+\r
+               dword   MouseDownCount;
+
 //     Internal routines
 ///////////////////////////////////////////////////////////////////////////
 //
index b39e1a5ba7f9c06a9f2b0e6e389b6567307ee5b1..7cc143725578b3bf812312e8f18fac064221e5a5 100644 (file)
@@ -205,21 +205,21 @@ static boolean                    MousePresent;
 static boolean                 JoysPresent[MaxJoys];\r
 static boolean                 JoyPadPresent;\r
 \r
-\r
 //     Global variables\r
-               static boolean JoystickCalibrated=false;                // MDM (GAMERS EDGE) - added\r
-               static ControlType ControlTypeUsed;                             // MDM (GAMERS EDGE) - added\r
+               extern boolean JoystickCalibrated;              // MDM (GAMERS EDGE) - added\r
+               extern ControlType ControlTypeUsed;                             // MDM (GAMERS EDGE) - added\r
 \r
-               static boolean          Keyboard[NumCodes];\r
-               static boolean          Paused;\r
-               static char             LastASCII;\r
-               static ScanCode LastScan;\r
+               extern boolean          Keyboard[NumCodes];\r
+               extern boolean          Paused;\r
+               extern char             LastASCII;\r
+               extern ScanCode LastScan;\r
 \r
+               //extern KeyboardDef    KbdDefs[];
                static KeyboardDef      KbdDefs[] = {0x1d,0x38,0x47,0x48,0x49,0x4b,0x4d,0x4f,0x50,0x51};\r
-               static JoystickDef      JoyDefs[MaxJoys];\r
-               static ControlType      Controls[MaxPlayers];\r
+               extern JoystickDef      JoyDefs[MaxJoys];\r
+               extern ControlType      Controls[MaxPlayers];\r
 \r
-               static dword    MouseDownCount;\r
+               extern dword    MouseDownCount;\r
 \r
 #ifdef DEMO0\r
                static Demo             DemoMode = demo_Off;\r
index 262cd0229d6bdd75e63b36b5913fea8142c79a6b..c5c68fdb5e3edbfb2763e0acad280055ede3e296 100644 (file)
Binary files a/test.exe and b/test.exe differ
index c9f12fc11ae1ea3a9364ce46b0cffccc666afd37..0b07453824bc80c9c9ff05a103753fc4015d38ec 100644 (file)
Binary files a/test2.exe and b/test2.exe differ