diff options
Diffstat (limited to 'inc/demo.h')
| -rw-r--r-- | inc/demo.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -3,6 +3,14 @@ #include <stdio.h> +typedef enum +{ + DEMOTICK = 0, + DEMOSNAP = 1, + DEMOMESSAGE = 2, + DEMODELTA = 3 +} demotype; + /* demoheader struct */ typedef struct { @@ -72,7 +80,7 @@ typedef union { /* demochunk struct */ typedef struct { - unsigned char type; + demotype type; chunkdata data; } demochunk; |
