]> 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 27f43adc24866c90574f5ad96b5f33c56f8f0d35..08b9699624d2e35b85c6abcaa82bc49d6794ae71 100755 (executable)
@@ -287,27 +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
        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
+       //struct        instat  *inst;\r
+       inst_t  *inst;\r
 } in_info_t;\r
 \r
 //==========================================================================\r