disable the unrecognized nls and x flags
[AROS-Contrib.git] / Games / XInvaders3D / defines.h
blobf83298e015f18ff193c0b611664fc2c8a2ae2b77
1 /*------------------------------------------------------------------
2 defines.h: Game Constants
4 XINVADERS 3D - 3d Shoot'em up
5 Copyright (C) 2000 Don Llopis
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
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.
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 02111-1307 USA
21 ------------------------------------------------------------------*/
22 #ifndef GAME_DEFINES
23 #define GAME_DEFINES
26 #define REFERENCE_FRAMERATE 30.0 /* 30 fps */
28 enum color_names
30 BLACK=0,
31 RED=63,
32 GREEN=127,
33 BLUE=191,
34 YELLOW=192,
35 WHITE=255
38 enum zone_enum
40 ZONE_0 = 0,
41 ZONE_1 = 1,
42 ZONE_2 = 2,
43 ZONE_3 = 3,
44 ZONE_4 = 4,
45 ZONE_5 = 5,
46 ZONE_6 = 6,
47 ZONE_7 = 7,
48 ZONE_8 = 8,
49 ZONE_9 = 9,
50 ZONE_MAX = 10,
51 ZONE_HEIGHT_MAX = 5,
52 ZONE_WIDTH = 100,
53 ZONE_HEIGHT = 100
56 enum game_enum
58 LOGO_TIME = 10000, /* 10 sec */
59 READY_TIME = 3000, /* 3 sec */
60 GAMEOVER_TIME = 15000, /* 15 sec */
61 PLAYER_LIVES_START = 3,
62 HISCORE = 10000, /* 10,000 pts */
63 UFO_BONUS = 500, /* 500 pts */
64 PLAYER_LIFE_BONUS = 7500, /* every 7500pts */
65 PLAYER_LIFE_MAX = 5,
66 INITGAME = 0,
67 NEWGAME = 1,
68 NEWLEVEL = 2,
69 XPOS = 0,
70 YPOS = 1,
71 ZPOS = 2,
72 MAX_OBJECTS = 100
75 /* TRUE and FALSE defined using #ifdefs instead, and
76 only if they aren't defined already. Please stick to this,
77 as the include files needed for timers on at least one
78 platform define TRUE and FALSE, resulting in an error
79 if they are part of an enumeration. TBB */
81 #ifndef TRUE
82 #define TRUE 1
83 #endif /* TRUE */
85 #ifndef FALSE
86 #define FALSE 0
87 #endif /* FALSE */
89 #endif