summaryrefslogtreecommitdiff
path: root/src/d_ticcmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/d_ticcmd.h')
-rw-r--r--src/d_ticcmd.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/d_ticcmd.h b/src/d_ticcmd.h
index 2968a352..1cd72d70 100644
--- a/src/d_ticcmd.h
+++ b/src/d_ticcmd.h
@@ -35,14 +35,20 @@
// and transmitted to other peers (multiplayer).
// Mainly movements/button commands per game tick,
// plus a checksum for internal state consistency.
+
typedef struct
{
signed char forwardmove; // *2048 for move
signed char sidemove; // *2048 for move
- short angleturn; // <<16 for angle delta
- byte chatchar;
- byte buttons;
- byte consistancy; // checks for net game
+ short angleturn; // <<16 for angle delta
+ byte chatchar;
+ byte buttons;
+ byte consistancy; // checks for net game
+
+ // Heretic/Hexen specific:
+
+ byte lookfly; // look/fly up/down/centering
+ byte arti; // artitype_t to use
} ticcmd_t;