aboutsummaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-06-20 22:31:57 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-06-20 22:31:57 +0100
commitd489b6ef92ae9f61bbceb5f594026a51e71538f2 (patch)
treef0bb53c68f5f8bd6fc4e3df97a5016a8e58224cf /src/map.h
parent8ad4c1aa98144a1799f340a44c80a0e461ced683 (diff)
downloadgold-mine-run-d489b6ef92ae9f61bbceb5f594026a51e71538f2.tar.gz
gold-mine-run-d489b6ef92ae9f61bbceb5f594026a51e71538f2.zip
Add gold support
- added gold layer to the map - the player can collect gold - updates the score - TODO: end of stage
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index f36d294..42f8da7 100644
--- a/src/map.h
+++ b/src/map.h
@@ -20,4 +20,7 @@ void map_render();
uint8_t map_is_blocked(uint16_t x, uint16_t y);
uint8_t map_is_deadly(uint16_t x, uint16_t y);
+uint8_t map_update_gold(uint16_t x, uint16_t y);
+uint8_t map_is_complete();
+
#endif /* _MAP_H */