DEADSOFTWARE

04087bcea147fadaef8a95e3dac9d77d0e645753
[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 #ifndef SMOKE_H_INLUDED
23 #define SMOKE_H_INLUDED
25 #include "glob.h"
27 #define MAXSMOK 500
29 #define SMSN 10
30 #define FLSN 8
32 typedef struct {
33 int x, y, xv, yv;
34 byte t, s;
35 short o;
36 } smoke_t;
38 extern smoke_t sm[MAXSMOK];
40 void SMK_init (void);
41 void SMK_alloc (void);
42 void SMK_act (void);
43 void SMK_gas (int x0, int y0, int xr, int yr, int xv, int yv, int k);
44 void SMK_flame (int x0, int y0, int ox, int oy, int xr, int yr, int xv, int yv, int k, int o);
46 #endif /* SMOKE_H_INLUDED */