summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/d_player.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/d_player.h')
-rw-r--r--apps/plugins/doom/d_player.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/plugins/doom/d_player.h b/apps/plugins/doom/d_player.h
index f86b68f9be..974d0b22ba 100644
--- a/apps/plugins/doom/d_player.h
+++ b/apps/plugins/doom/d_player.h
@@ -58,7 +58,7 @@
58// 58//
59// Player states. 59// Player states.
60// 60//
61typedef enum 61enum
62{ 62{
63 // Playing or camping. 63 // Playing or camping.
64 PST_LIVE, 64 PST_LIVE,
@@ -67,13 +67,14 @@ typedef enum
67 // Ready to restart/respawn??? 67 // Ready to restart/respawn???
68 PST_REBORN 68 PST_REBORN
69 69
70} playerstate_t; 70};
71typedef unsigned playerstate_t;
71 72
72 73
73// 74//
74// Player internal flags, for cheats and debug. 75// Player internal flags, for cheats and debug.
75// 76//
76typedef enum 77enum
77{ 78{
78 // No clipping, walk through barriers. 79 // No clipping, walk through barriers.
79 CF_NOCLIP = 1, 80 CF_NOCLIP = 1,
@@ -82,7 +83,8 @@ typedef enum
82 // Not really a cheat, just a debug aid. 83 // Not really a cheat, just a debug aid.
83 CF_NOMOMENTUM = 4 84 CF_NOMOMENTUM = 4
84 85
85} cheat_t; 86};
87typedef unsigned cheat_t;
86 88
87 89
88// 90//