1 /*
2 Copyright (C) Prikol Software 1996-1997
3 Copyright (C) Aleksey Volynskov 1996-1997
4 Copyright (C) <ARembo@gmail.com> 2011
6 This file is part of the Doom2D:Rembo project.
8 Doom2D:Rembo is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License version 2 as
10 published by the Free Software Foundation.
12 Doom2D:Rembo is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, see <http://www.gnu.org/licenses/> or
19 write to the Free Software Foundation, Inc.,
20 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 */
23 #ifndef PLAYER_H_INCLUDED
24 #define PLAYER_H_INCLUDED
30 #define PL_DRAWLIFE 1
31 #define PL_DRAWARMOR 2
32 #define PL_DRAWWPN 4
33 #define PL_DRAWFRAG 8
34 #define PL_DRAWAIR 16
35 #define PL_DRAWKEYS 32
36 #define PL_DRAWLIVES 64
38 #define PLK_U 1
39 #define PLK_D 2
40 #define PLK_L 4
41 #define PLK_R 8
42 #define PLK_F 16
43 #define PLK_J 32
44 #define PLK_P 64
45 #define PLK_W 128
46 #define PLK_WL 1
47 #define PLK_WR 2
49 #define PLF_FIRE 1
50 #define PLF_PNSND 2
51 #define PLF_UP 4
52 #define PLF_DOWN 8
54 #define PL_AIR 360
55 #define PL_POWERUP_TIME 546
57 #pragma pack(1)
59 obj_t o;
68 byte amul;
69 word wpns;
71 byte f;
72 byte drawst;
73 byte color;
75 byte keys;
79 #pragma pack()