diff options
author | quou <quou@disroot.org> | 2023-05-06 12:22:50 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2023-05-06 12:22:50 +1000 |
commit | 937edea9599718e959f8ed135e97c68728855975 (patch) | |
tree | ea5d5551b470603d2d907dba4869ff52e742d9de /map.h | |
parent | 91aef268319a77ee8f5a082ca89264bf2671e212 (diff) |
Add solid environment collisions.
Diffstat (limited to 'map.h')
-rw-r--r-- | map.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,6 +4,8 @@ #include "game_config.h" #include "render.h" +struct World; + typedef struct { Colour pixels[ map_width * @@ -13,7 +15,7 @@ typedef struct { ]; } Map; -void init_map(Map* map); +void init_map(Map* map, struct World* world); void render_map(Map* map, int cx, int cy); #endif |