XenevaOS
Loading...
Searching...
No Matches
d_items.h
Go to the documentation of this file.
1//
2// Copyright(C) 1993-1996 Id Software, Inc.
3// Copyright(C) 2005-2014 Simon Howard
4//
5// This program is free software; you can redistribute it and/or
6// modify it under the terms of the GNU General Public License
7// as published by the Free Software Foundation; either version 2
8// of the License, or (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// DESCRIPTION:
16// Items: key cards, artifacts, weapon, ammunition.
17//
18
19
20#ifndef __D_ITEMS__
21#define __D_ITEMS__
22
23#include "doomdef.h"
24
25
26
27// Weapon info: sprite frames, ammunition use.
28typedef struct
29{
36
38
40
41#endif
weaponinfo_t weaponinfo[NUMWEAPONS]
Definition d_items.c:37
@ NUMWEAPONS
Definition doomdef.h:118
ammotype_t
Definition doomdef.h:128
Definition d_items.h:29
int downstate
Definition d_items.h:32
int upstate
Definition d_items.h:31
ammotype_t ammo
Definition d_items.h:30
int atkstate
Definition d_items.h:34
int readystate
Definition d_items.h:33
int flashstate
Definition d_items.h:35