added rain particle system, check it out in verticalforest.stl
[supertux.git] / src / defines.h
1 //  $Id$
2 // 
3 //  SuperTux
4 //  Copyright (C) 2000 Bill Kendrick <bill@newbreedsoftware.com>
5 //  Copyright (C) 2004 Tobias Glaesser <tobi.web@gmx.de>
6 //
7 //  This program is free software; you can redistribute it and/or
8 //  modify it under the terms of the GNU General Public License
9 //  as published by the Free Software Foundation; either version 2
10 //  of the License, or (at your option) any later version.
11 //
12 //  This program is distributed in the hope that it will be useful,
13 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
14 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 //  GNU General Public License for more details.
16 // 
17 //  You should have received a copy of the GNU General Public License
18 //  along with this program; if not, write to the Free Software
19 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20 //  02111-1307, USA.
21 #ifndef SUPERTUX_DEFINES_H
22 #define SUPERTUX_DEFINES_H
23
24 #include <config.h>
25
26 enum Direction { LEFT = 0, RIGHT = 1 };
27
28 /* keyboard/joystick states: */
29 #define UP 0
30 #define DOWN 1
31
32 /* Dying types: */
33 enum DyingType {
34   DYING_NOT = 0,
35   DYING_SQUISHED = 1,
36   DYING_FALLING = 2
37 };
38
39 /* Speed constraints: */
40 #define MAX_LIVES 99
41
42 /* gameplay related defines */
43 #define START_LIVES 4
44
45 #define MAX_FIRE_BULLETS 2
46 #define MAX_ICE_BULLETS  1
47 #define FROZEN_TIME 3.0
48
49 #endif /*SUPERTUX_DEFINES_H*/
50