]> git.lizzy.rs Git - plan9front.git/blob - sys/src/games/doom/d_items.h
rio: disable cons if /dev/kbd is open, add games/doom
[plan9front.git] / sys / src / games / doom / d_items.h
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.
11 //
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.
16 //
17 // DESCRIPTION:
18 //      Items: key cards, artifacts, weapon, ammunition.
19 //
20 //-----------------------------------------------------------------------------
21
22
23 #ifndef __D_ITEMS__
24 #define __D_ITEMS__
25
26 #include "doomdef.h"
27
28 #ifdef __GNUG__
29 #pragma interface
30 #endif
31
32
33 // Weapon info: sprite frames, ammunition use.
34 typedef struct
35 {
36     ammotype_t  ammo;
37     int         upstate;
38     int         downstate;
39     int         readystate;
40     int         atkstate;
41     int         flashstate;
42
43 } weaponinfo_t;
44
45 extern  weaponinfo_t    weaponinfo[NUMWEAPONS];
46
47 #endif
48 //-----------------------------------------------------------------------------
49 //
50 // $Log:$
51 //
52 //-----------------------------------------------------------------------------