aboutsummaryrefslogtreecommitdiff
path: root/game_config.h
blob: 3b0f9d3e0c622d909f42c2f08d92258c5f6e8834 (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 enemy_hit_frames 10

#define skull_hp 3
#define skull_speed (1 << fbits)

#define skull_shoot_cooldown 15
#define enemy_bullet_speed 10

#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