X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=blobdiff_plain;f=src%2Flib%2F16_tdef.h;h=08b9699624d2e35b85c6abcaa82bc49d6794ae71;hp=88e756db38846e0e357bb22ce170932ce75e8a4f;hb=c8d0f894b450f6dc3b80fbe28fedff4d424ce294;hpb=a1ebc8babe13647bcdbcb1b493ca2358808bbeeb diff --git a/src/lib/16_tdef.h b/src/lib/16_tdef.h index 88e756db..08b96996 100755 --- a/src/lib/16_tdef.h +++ b/src/lib/16_tdef.h @@ -287,27 +287,32 @@ typedef struct { joyMultXH,joyMultYH; } JoystickDef; -/*typedef struct// inconfig -{ - boolean IN_Started; +typedef struct instat { boolean CapsLock; ScanCode CurCode,LastCode; + + boolean Keyboard[NumCodes]; + boolean Paused; + char LastASCII; + ScanCode LastScan; +} inst_t; + +typedef struct// inconfig +{ + boolean IN_Started; // // configuration variables // - boolean Keyboard[NumCodes], - JoysPresent[MaxJoys], + boolean JoysPresent[MaxJoys], MousePresent, JoyPadPresent; // Global variables - boolean Paused; - char LastASCII; - ScanCode LastScan; - KeyboardDef KbdDefs[MaxKbds]; JoystickDef JoyDefs[MaxJoys]; -} in_info_t;*/ + //struct instat *inst; + inst_t *inst; +} in_info_t; //========================================================================== @@ -428,7 +433,7 @@ typedef struct mmblockstruct { word start,length; //word start; dword length; - word blob; //for data larger than 64k +//++++ word blob; //for data larger than 64k unsigned attributes; memptr *useptr; // pointer to the segment start struct mmblockstruct far *next; @@ -654,7 +659,7 @@ typedef struct loghandle_t handle; //handles for file logging kurokku_t kurokku; //clock struct mminfo_t mm; mminfotype mmi; // mm stuff -//++++ in_info_t in; // 16_in info + in_info_t in; // 16_in info player_t player[MaxPlayers]; // player vars map_view_t mv[4]; } global_game_variables_t;