blob: d0adbacb6dd09c11737161d528c019b0b46eb74a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef game_config_h
#define game_config_h
#define player_move_speed (3 << fbits)
#define player_bullet_speed (10 << fbits)
#define player_max_hp 3
#define player_invul_frames 50
#define skull_hp 3
#define skull_speed (1 << fbits)
#define skull_shoot_cooldown 15
#define enemy_bullet_speed 10
#define enemy_hit_frames 10
#define enemy_min_distance (10 << fbits)
#define map_width 32
#define map_height 32
#define map_tile_size 16
#define mbmp_w (map_width * map_tile_size)
#define mbmp_h (map_height * map_tile_size)
#define gmemory_max 100
#define gmemory_units 10
#endif
|