diff options
Diffstat (limited to 'src/d_ticcmd.h')
-rw-r--r-- | src/d_ticcmd.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/d_ticcmd.h b/src/d_ticcmd.h index 2968a352..b3651835 100644 --- a/src/d_ticcmd.h +++ b/src/d_ticcmd.h @@ -2,6 +2,7 @@ //----------------------------------------------------------------------------- // // Copyright(C) 1993-1996 Id Software, Inc. +// Copyright(C) 1993-2008 Raven Software // Copyright(C) 2005 Simon Howard // // This program is free software; you can redistribute it and/or @@ -35,14 +36,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; |