diff options
Diffstat (limited to 'apps/plugins/doom/d_net.h')
-rw-r--r-- | apps/plugins/doom/d_net.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/plugins/doom/d_net.h b/apps/plugins/doom/d_net.h index 6b586e3c96..e43aaf112f 100644 --- a/apps/plugins/doom/d_net.h +++ b/apps/plugins/doom/d_net.h | |||
@@ -58,12 +58,12 @@ | |||
58 | // Networking and tick handling related. | 58 | // Networking and tick handling related. |
59 | #define BACKUPTICS 12 | 59 | #define BACKUPTICS 12 |
60 | 60 | ||
61 | typedef enum | 61 | enum |
62 | { | 62 | { |
63 | CMD_SEND = 1, | 63 | CMD_SEND = 1, |
64 | CMD_GET = 2 | 64 | CMD_GET = 2 |
65 | 65 | }; | |
66 | } command_t; | 66 | typedef unsigned command_t; |
67 | 67 | ||
68 | 68 | ||
69 | // | 69 | // |
@@ -125,11 +125,12 @@ typedef struct | |||
125 | char filler[sizeof(ticcmd_t)*BACKUPTICS-STARTUPLEN]; | 125 | char filler[sizeof(ticcmd_t)*BACKUPTICS-STARTUPLEN]; |
126 | } startup_t; | 126 | } startup_t; |
127 | 127 | ||
128 | typedef enum { | 128 | enum { |
129 | // Leave space, so low values corresponding to normal netgame setup packets can be ignored | 129 | // Leave space, so low values corresponding to normal netgame setup packets can be ignored |
130 | nm_plcolour = 3, | 130 | nm_plcolour = 3, |
131 | nm_savegamename = 4, | 131 | nm_savegamename = 4, |
132 | } netmisctype_t; | 132 | }; |
133 | typedef unsigned netmisctype_t; | ||
133 | 134 | ||
134 | typedef struct | 135 | typedef struct |
135 | { | 136 | { |