diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/map.h | 2 | ||||
| -rw-r--r-- | include/players.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/map.h b/include/map.h index 7c0716d..82584e9 100644 --- a/include/map.h +++ b/include/map.h @@ -36,8 +36,8 @@ typedef struct t_map_info { // data data that is stored on disk int map[MAP_SIZE_Y][MAP_SIZE_X] = { - {0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, + {0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0}, {0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, diff --git a/include/players.h b/include/players.h index ef94489..7107797 100644 --- a/include/players.h +++ b/include/players.h @@ -11,6 +11,9 @@ float sec_since_last_shot = 10.0f; float playerx = 3; float playery = 3; +float gunx = 0.0f; +float guny = 0.0f; +float gun_height = 0.0f; void shoot(platform_window* window); void draw_player(platform_window* window); |
