DEADSOFTWARE

2ec7ff468a0ad15a93341f03dba25063b093980b
[flatwaifu.git] / src / fx.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 FX_H_INLUDED
23 #define FX_H_INLUDED
25 #include <stdio.h> // FILE
27 #define MAXFX 300
29 typedef struct {
30 int x, y, xv, yv;
31 char t, s;
32 } fx_t;
34 extern fx_t fx[MAXFX];
36 void FX_savegame (FILE *h);
37 void FX_loadgame (FILE *h);
38 void FX_alloc (void);
39 void FX_init (void);
40 void FX_act (void);
41 void FX_tfog (int x, int y);
42 void FX_ifog (int x, int y);
43 void FX_bubble (int x, int y, int xv, int yv, int n);
45 #endif /* FX_H_INLUDED */