summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/d_net.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/d_net.h')
-rw-r--r--apps/plugins/doom/d_net.h11
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
61typedef enum 61enum
62{ 62{
63 CMD_SEND = 1, 63 CMD_SEND = 1,
64 CMD_GET = 2 64 CMD_GET = 2
65 65};
66} command_t; 66typedef 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
128typedef enum { 128enum {
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};
133typedef unsigned netmisctype_t;
133 134
134typedef struct 135typedef struct
135{ 136{