From f8e8e6622eda179bc6f88b0c064fb2629c98fac2 Mon Sep 17 00:00:00 2001 From: johannes Date: Tue, 6 Feb 2024 12:54:10 +0100 Subject: moved reverseint to pack --- inc/demo.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'inc/demo.h') diff --git a/inc/demo.h b/inc/demo.h index 0b398b0..25c0070 100644 --- a/inc/demo.h +++ b/inc/demo.h @@ -3,6 +3,14 @@ #include +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; -- cgit v1.2.3