Oops.
[AROS-Contrib.git] / Games / Doom / d_items.c
blob042b0c8717d1b4bd26b97d3befc77f56e28c9c14
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.
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.
17 // $Log$
18 // Revision 1.1 2000/02/29 18:21:04 stegerg
19 // Doom port based on ADoomPPC. Read README.AROS!
22 // DESCRIPTION:
24 //-----------------------------------------------------------------------------
26 static const char
27 rcsid[] = "$Id$";
29 // We are referring to sprite numbers.
30 #include "info.h"
32 #ifdef __GNUG__
33 #pragma implementation "d_items.h"
34 #endif
35 #include "d_items.h"
39 // PSPRITE ACTIONS for waepons.
40 // This struct controls the weapon animations.
42 // Each entry is:
43 // ammo/amunition type
44 // upstate
45 // downstate
46 // readystate
47 // atkstate, i.e. attack/fire/hit frame
48 // flashstate, muzzle flash
50 weaponinfo_t weaponinfo[NUMWEAPONS] =
53 // fist
54 am_noammo,
55 S_PUNCHUP,
56 S_PUNCHDOWN,
57 S_PUNCH,
58 S_PUNCH1,
59 S_NULL
60 },
62 // pistol
63 am_clip,
64 S_PISTOLUP,
65 S_PISTOLDOWN,
66 S_PISTOL,
67 S_PISTOL1,
68 S_PISTOLFLASH
69 },
71 // shotgun
72 am_shell,
73 S_SGUNUP,
74 S_SGUNDOWN,
75 S_SGUN,
76 S_SGUN1,
77 S_SGUNFLASH1
80 // chaingun
81 am_clip,
82 S_CHAINUP,
83 S_CHAINDOWN,
84 S_CHAIN,
85 S_CHAIN1,
86 S_CHAINFLASH1
89 // missile launcher
90 am_misl,
91 S_MISSILEUP,
92 S_MISSILEDOWN,
93 S_MISSILE,
94 S_MISSILE1,
95 S_MISSILEFLASH1
98 // plasma rifle
99 am_cell,
100 S_PLASMAUP,
101 S_PLASMADOWN,
102 S_PLASMA,
103 S_PLASMA1,
104 S_PLASMAFLASH1
107 // bfg 9000
108 am_cell,
109 S_BFGUP,
110 S_BFGDOWN,
111 S_BFG,
112 S_BFG1,
113 S_BFGFLASH1
116 // chainsaw
117 am_noammo,
118 S_SAWUP,
119 S_SAWDOWN,
120 S_SAW,
121 S_SAW1,
122 S_NULL
125 // super shotgun
126 am_shell,
127 S_DSGUNUP,
128 S_DSGUNDOWN,
129 S_DSGUN,
130 S_DSGUN1,
131 S_DSGUNFLASH1