d_items.h (345B)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 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 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 51 52