diff options
author | quou <quou@disroot.org> | 2023-05-06 10:39:19 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2023-05-06 10:39:19 +1000 |
commit | 91aef268319a77ee8f5a082ca89264bf2671e212 (patch) | |
tree | 7deb9a4a9e928d4b78f7c3398e7d9c97a4649140 /game_config.h | |
parent | 2ab411c4b8855d11d48454a93262e8eae3ba7fc7 (diff) |
Map rendering and camera movement.
Diffstat (limited to 'game_config.h')
-rw-r--r-- | game_config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/game_config.h b/game_config.h index b2d569f..8609814 100644 --- a/game_config.h +++ b/game_config.h @@ -11,4 +11,10 @@ #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) + #endif |