summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/info.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/info.h')
-rw-r--r--apps/plugins/doom/info.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/apps/plugins/doom/info.h b/apps/plugins/doom/info.h
index d6c20f0d5d..d498c40c3d 100644
--- a/apps/plugins/doom/info.h
+++ b/apps/plugins/doom/info.h
@@ -41,7 +41,7 @@
41/******************************************************************** 41/********************************************************************
42 * Sprite name enumeration - must match info.c * 42 * Sprite name enumeration - must match info.c *
43 ********************************************************************/ 43 ********************************************************************/
44typedef enum 44enum
45{ 45{
46 SPR_TROO, 46 SPR_TROO,
47 SPR_SHTG, 47 SPR_SHTG,
@@ -188,13 +188,14 @@ typedef enum
188#endif 188#endif
189 NUMSPRITES 189 NUMSPRITES
190 190
191} spritenum_t; 191};
192typedef unsigned spritenum_t;
192 193
193/******************************************************************** 194/********************************************************************
194 * States (frames) enumeration -- must match info.c * 195 * States (frames) enumeration -- must match info.c *
195 ********************************************************************/ 196 ********************************************************************/
196 197
197typedef enum 198enum
198{ 199{
199 S_NULL, 200 S_NULL,
200 S_LIGHTDONE, 201 S_LIGHTDONE,
@@ -1204,7 +1205,8 @@ typedef enum
1204 1205
1205 NUMSTATES /* Counter of how many there are */ 1206 NUMSTATES /* Counter of how many there are */
1206 1207
1207} statenum_t; 1208};
1209typedef unsigned statenum_t;
1208 1210
1209/******************************************************************** 1211/********************************************************************
1210 * Definition of the state (frames) structure * 1212 * Definition of the state (frames) structure *
@@ -1230,7 +1232,7 @@ extern const char *sprnames[NUMSPRITES+1]; /* 1/17/98 killough - CPhipps - const
1230 * Note that many of these are generically named for the ornamentals 1232 * Note that many of these are generically named for the ornamentals
1231 */ 1233 */
1232 1234
1233typedef enum { 1235enum {
1234 MT_PLAYER, 1236 MT_PLAYER,
1235 MT_POSSESSED, 1237 MT_POSSESSED,
1236 MT_SHOTGUY, 1238 MT_SHOTGUY,
@@ -1391,7 +1393,8 @@ typedef enum {
1391 MT_STEALTHZOMBIE, 1393 MT_STEALTHZOMBIE,
1392 NUMMOBJTYPES 1394 NUMMOBJTYPES
1393 1395
1394} mobjtype_t; 1396};
1397typedef unsigned mobjtype_t;
1395 1398
1396/******************************************************************** 1399/********************************************************************
1397 * Definition of the Thing structure 1400 * Definition of the Thing structure