DEADSOFTWARE

1f33f1da490b788c28a839c3142d4e2e90dfafe1
[flatwaifu.git] / src / smoke.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 // Smoke
24 #define MAXSMOK 500
26 #define SMSN 10
27 #define FLSN 8
29 #pragma pack(1)
30 typedef struct{
31 int x,y,xv,yv;
32 byte t,s;
33 short o;
34 }smoke_t;
35 #pragma pack()
37 extern smoke_t sm[MAXSMOK];
39 void SMK_init(void);
40 void SMK_alloc(void);
41 void SMK_act(void);
42 void SMK_add(int x,int y,int xv,int yv,byte t,byte s,short o);
43 void SMK_gas(int x,int y,int rx,int ry,int xv,int yv,int k);
44 void SMK_flame(int x,int y,int ox,int oy,int rx,int ry,int xv,int yv,int k,int o);