diff options
Diffstat (limited to 'apps/plugins/doom/d_player.h')
-rw-r--r-- | apps/plugins/doom/d_player.h | 10 |
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 | // |
61 | typedef enum | 61 | enum |
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 | }; |
71 | typedef 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 | // |
76 | typedef enum | 77 | enum |
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 | }; |
87 | typedef unsigned cheat_t; | ||
86 | 88 | ||
87 | 89 | ||
88 | // | 90 | // |