DEADSOFTWARE

7229fffbc03b274dc455f34565038ce5dc928798
[flatwaifu.git] / src / dots.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 // Dots
24 #define MAXDOT 400
26 #pragma pack(1)
27 typedef struct{
28 obj_t o;
29 byte c,t;
30 }dot_t;
31 #pragma pack()
33 extern dot_t dot[MAXDOT];
35 void DOT_init(void);
36 void DOT_alloc(void);
37 void DOT_act(void);
38 void DOT_add(int x,int y,char xv,char yv,byte color,byte time);
39 void DOT_blood(int,int,int,int,int);
40 void DOT_spark(int,int,int,int,int);
41 void DOT_water(int,int,int,int,int,int);