DEADSOFTWARE

b31593c1945a6d336636074dbd87e98dcb578ca4
[flatwaifu.git] / src / weapons.h
1 /*
2 Copyright (C) Prikol Software 1996-1997
3 Copyright (C) Aleksey Volynskov 1996-1997
5 This file is part of the Doom2D:Rembo project.
7 Doom2D:Rembo is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2 as
9 published by the Free Software Foundation.
11 Doom2D:Rembo is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, see <http://www.gnu.org/licenses/> or
18 write to the Free Software Foundation, Inc.,
19 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 */
22 // Weapons
24 #define MAXWPN 300
26 #pragma pack(1)
27 typedef struct{
28 obj_t o;
29 byte t,s;
30 int own;
31 short target;
32 }weapon_t;
33 #pragma pack()
35 extern weapon_t wp[MAXWPN];
37 void WP_init(void);
38 void WP_alloc(void);
39 void WP_act(void);
40 void WP_punch(int,int,int,int);
41 int WP_chainsaw(int,int,int,int);
42 void WP_gun(int,int,int,int,int,int);
43 void WP_pistol(int,int,int,int,int);
44 void WP_mgun(int,int,int,int,int);
45 void WP_rocket(int,int,int,int,int);
46 void WP_revf(int,int,int,int,int,int);
47 void WP_plasma(int,int,int,int,int);
48 void WP_ball1(int,int,int,int,int);
49 void WP_ball2(int,int,int,int,int);
50 void WP_ball7(int,int,int,int,int);
51 void WP_aplasma(int,int,int,int,int);
52 void WP_manfire(int,int,int,int,int);
53 void WP_bfgshot(int,int,int,int,int);
54 void WP_bfghit(int,int,int);
55 void WP_shotgun(int,int,int,int,int);
56 void WP_dshotgun(int,int,int,int,int);
57 void WP_ognemet(int x,int y,int xd,int yd,int xv,int yv,int o);
59 void WP_grenade(int x, int y, int xd, int yd, int o);