set the include directory
[AROS-Contrib.git] / Games / Doom / d_ticcmd.h
blob5298e1fc58300ba3371e46c54ca58b78139687fe
1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
3 //
4 // $Id$
5 //
6 // Copyright (C) 1993-1996 by id Software, Inc.
7 //
8 // This source is available for distribution and/or modification
9 // only under the terms of the DOOM Source Code License as
10 // published by id Software. All rights reserved.
12 // The source is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
15 // for more details.
17 // DESCRIPTION:
18 // System specific interface stuff.
20 //-----------------------------------------------------------------------------
23 #ifndef __D_TICCMD__
24 #define __D_TICCMD__
26 #include "doomtype.h"
28 #ifdef __GNUG__
29 #pragma interface
30 #endif
32 #ifndef __GNUC__
33 #pragma options align=mac68k
34 #endif
36 // The data sampled per tick (single player)
37 // and transmitted to other peers (multiplayer).
38 // Mainly movements/button commands per game tick,
39 // plus a checksum for internal state consistency.
40 typedef struct
42 char forwardmove; // *2048 for move
43 char sidemove; // *2048 for move
44 short angleturn; // <<16 for angle delta
45 short consistancy; // checks for net game
46 byte chatchar;
47 byte buttons;
48 } ticcmd_t;
51 #ifndef __GNUC__
52 #pragma options align=power
53 #endif
56 #endif
57 //-----------------------------------------------------------------------------
59 // $Log$
60 // Revision 1.1 2000/02/29 18:21:06 stegerg
61 // Doom port based on ADoomPPC. Read README.AROS!
64 //-----------------------------------------------------------------------------