1 /*************************************************************************
2 
3                          "I Have No Tomatoes"
4                   Copyright (c) 2004, Mika Halttunen
5 
6  This software is provided 'as-is', without any express or implied
7  warranty. In no event will the authors be held liable for any damages
8  arising from the use of this software.
9 
10  Permission is granted to anyone to use this software for any purpose,
11  including commercial applications, and to alter it and redistribute
12  it freely, subject to the following restrictions:
13 
14     1. The origin of this software must not be misrepresented; you must
15     not claim that you wrote the original software. If you use this
16     software in a product, an acknowledgment in the product documentation
17     would be appreciated but is not required.
18 
19     2. Altered source versions must be plainly marked as such, and must
20     not be misrepresented as being the original software.
21 
22     3. This notice may not be removed or altered from any source
23     distribution.
24 
25 
26  Mika Halttunen <lsoft@mbnet.fi>
27 
28 *************************************************************************/
29 
30 #ifndef EFFECTS_H
31 #define EFFECTS_H
32 
33 #include "vect.h"
34 
35 // Explosion types
36 #define EXP_BOMB_NORMAL			0
37 #define EXP_BOMB_CENTER			1
38 #define EXP_NAPALM				2
39 #define EXP_BOMB_FLOWER			3
40 #define EXP_BOMB_CENTER_FLOWER	4
41 
42 
43 void create_teleport_effect(int x, int y);
44 void create_fire(VECT pos);
45 void create_explosion(int x, int y, int type);
46 void draw_lightning(VECT pos1, VECT pos2, float noise1, float noise2);
47 
48 #endif
49 
50