DEADSOFTWARE

update copyrights
[flatwaifu.git] / src / smoke.h
1 /* Copyright (C) 1996-1997 Aleksey Volynskov
2 * Copyright (C) 2011 Rambo
3 * Copyright (C) 2020 SovietPony
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 3 of the License ONLY.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
18 #ifndef SMOKE_H_INLUDED
19 #define SMOKE_H_INLUDED
21 #include "glob.h"
23 #define MAXSMOK 500
25 #define SMSN 10
26 #define FLSN 8
28 typedef struct {
29 int x, y, xv, yv;
30 byte t, s;
31 short o;
32 } smoke_t;
34 extern smoke_t sm[MAXSMOK];
36 void SMK_init (void);
37 void SMK_alloc (void);
38 void SMK_act (void);
39 void SMK_gas (int x0, int y0, int xr, int yr, int xv, int yv, int k);
40 void SMK_flame (int x0, int y0, int ox, int oy, int xr, int yr, int xv, int yv, int k, int o);
42 #endif /* SMOKE_H_INLUDED */