Rev 5315 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5315 | Rev 5316 | ||
---|---|---|---|
Line 108... | Line 108... | ||
108 | #define OBJ_EXPLOSION 2 |
108 | #define OBJ_EXPLOSION 2 |
109 | #define OBJ_ROCK 3 |
109 | #define OBJ_ROCK 3 |
110 | #define OBJ_MINIROCK 4 |
110 | #define OBJ_MINIROCK 4 |
111 | #define OBJ_TURRET 5 |
111 | #define OBJ_TURRET 5 |
112 | #define OBJ_RED_BULLET 6 |
112 | #define OBJ_RED_BULLET 6 |
- | 113 | #define OBJ_HUGE_EXPLOSION 7 |
|
Line 113... | Line 114... | ||
113 | 114 | ||
114 | typedef struct game_obj_t { |
115 | typedef struct game_obj_t { |
115 | int obj_type; |
116 | int obj_type; |
116 | int flags; |
117 | int flags; |
Line 146... | Line 147... | ||
146 | #define MINIROCKS_COUNT ROCKS_COUNT // must equal |
147 | #define MINIROCKS_COUNT ROCKS_COUNT // must equal |
147 | #define FONTS_COUNT 4 |
148 | #define FONTS_COUNT 4 |
148 | #define EXPLOSIONS_COUNT 8 |
149 | #define EXPLOSIONS_COUNT 8 |
149 | #define EXPLOSION_RADIUS 16 |
150 | #define EXPLOSION_RADIUS 16 |
Line -... | Line 151... | ||
- | 151 | ||
- | 152 | #define HUGE_EXPLOSIONS_COUNT 24 |
|
- | 153 | #define HUGE_EXPLOSION_RADIUS 32 |
|
- | 154 | ||
150 | 155 | ||
151 | #define STATUS_MENU 0 |
156 | #define STATUS_MENU 0 |
152 | #define STATUS_PLAYING 1 |
157 | #define STATUS_PLAYING 1 |
Line 180... | Line 185... | ||
180 | rs_texture_t tex_ship[4]; |
185 | rs_texture_t tex_ship[4]; |
181 | rs_texture_t tex_rocks[ROCKS_COUNT]; |
186 | rs_texture_t tex_rocks[ROCKS_COUNT]; |
182 | rs_texture_t tex_minirocks[MINIROCKS_COUNT]; |
187 | rs_texture_t tex_minirocks[MINIROCKS_COUNT]; |
Line 183... | Line 188... | ||
183 | 188 | ||
- | 189 | rs_texture_t tex_explosions[EXPLOSIONS_COUNT]; |
|
Line 184... | Line 190... | ||
184 | rs_texture_t tex_explosions[EXPLOSIONS_COUNT]; |
190 | rs_texture_t tex_huge_explosions[HUGE_EXPLOSIONS_COUNT]; |
Line 185... | Line 191... | ||
185 | 191 | ||
Line 195... | Line 201... | ||
195 | rs_soundbuf_t sound_test2; |
201 | rs_soundbuf_t sound_test2; |
196 | rs_soundbuf_t sound_test3; |
202 | rs_soundbuf_t sound_test3; |
Line 197... | Line 203... | ||
197 | 203 | ||
198 | rs_soundbuf_t sound_explosions[SOUND_EXPLOSIONS_COUNT]; |
204 | rs_soundbuf_t sound_explosions[SOUND_EXPLOSIONS_COUNT]; |
- | 205 | rs_soundbuf_t sound_hit; |
|
Line 199... | Line 206... | ||
199 | rs_soundbuf_t sound_hit; |
206 | rs_soundbuf_t sound_huge_explosion; |
200 | 207 | ||
Line 201... | Line 208... | ||
201 | rs_soundbuf_t sound_music; |
208 | rs_soundbuf_t sound_music; |