DEADSOFTWARE

fully move highter level rendering code in separate file
[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 // Effects
24 #define MAXFX 300
26 #pragma pack(1)
27 typedef struct{
28 int x,y,xv,yv;
29 char t,s;
30 }fx_t;
31 #pragma pack()
33 extern fx_t fx[MAXFX];
35 void FX_init(void);
36 void FX_alloc(void);
37 void FX_act(void);
38 void FX_tfog(int,int);
39 void FX_ifog(int,int);
40 void FX_bubble(int x,int y,int xv,int yv,int n);