XenevaOS
Loading...
Searching...
No Matches
XenevaOS
Process
Doomgeneric
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.
28
typedef
struct
29
{
30
ammotype_t
ammo
;
31
int
upstate
;
32
int
downstate
;
33
int
readystate
;
34
int
atkstate
;
35
int
flashstate
;
36
37
}
weaponinfo_t
;
38
39
extern
weaponinfo_t
weaponinfo
[
NUMWEAPONS
];
40
41
#endif
weaponinfo
weaponinfo_t weaponinfo[NUMWEAPONS]
Definition
d_items.c:37
doomdef.h
NUMWEAPONS
@ NUMWEAPONS
Definition
doomdef.h:118
ammotype_t
ammotype_t
Definition
doomdef.h:128
weaponinfo_t
Definition
d_items.h:29
weaponinfo_t::downstate
int downstate
Definition
d_items.h:32
weaponinfo_t::upstate
int upstate
Definition
d_items.h:31
weaponinfo_t::ammo
ammotype_t ammo
Definition
d_items.h:30
weaponinfo_t::atkstate
int atkstate
Definition
d_items.h:34
weaponinfo_t::readystate
int readystate
Definition
d_items.h:33
weaponinfo_t::flashstate
int flashstate
Definition
d_items.h:35
Generated by
1.9.8