DEADSOFTWARE

menu: add controls settings via menu
[flatwaifu.git] / src / fx.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 FX_H_INLUDED
19 #define FX_H_INLUDED
21 #define MAXFX 300
23 typedef struct {
24 int x, y, xv, yv;
25 char t, s;
26 } fx_t;
28 extern fx_t fx[MAXFX];
30 void FX_alloc (void);
31 void FX_init (void);
32 void FX_act (void);
33 void FX_tfog (int x, int y);
34 void FX_ifog (int x, int y);
35 void FX_bubble (int x, int y, int xv, int yv, int n);
37 #endif /* FX_H_INLUDED */