]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_tdef.h
[16_ca needs huge amounts of work and I should remember what needs to be done soon...
[16.git] / src / lib / 16_tdef.h
index e386f1fb981de6ee0f8400dc60237189c72568fe..08b9699624d2e35b85c6abcaa82bc49d6794ae71 100755 (executable)
@@ -287,26 +287,31 @@ typedef   struct          {
                                                                        joyMultXH,joyMultYH;\r
                                        } JoystickDef;\r
 \r
+typedef struct instat {\r
+       boolean         CapsLock;\r
+       ScanCode        CurCode,LastCode;\r
+\r
+       boolean         Keyboard[NumCodes];\r
+       boolean         Paused;\r
+       char            LastASCII;\r
+       ScanCode        LastScan;\r
+} inst_t;\r
+\r
 typedef struct// inconfig\r
 {\r
        boolean         IN_Started;\r
-       boolean         CapsLock;\r
-       ScanCode        CurCode,LastCode;\r
 //\r
 // configuration variables\r
 //\r
-       boolean         Keyboard[NumCodes],\r
-                                       JoysPresent[MaxJoys],\r
+       boolean         JoysPresent[MaxJoys],\r
                                        MousePresent,\r
                                        JoyPadPresent;\r
 \r
 //     Global variables\r
-       boolean         Paused;\r
-       char            LastASCII;\r
-       ScanCode        LastScan;\r
-\r
        KeyboardDef     KbdDefs[MaxKbds];\r
        JoystickDef     JoyDefs[MaxJoys];\r
+       //struct        instat  *inst;\r
+       inst_t  *inst;\r
 } in_info_t;\r
 \r
 //==========================================================================\r