aboutsummaryrefslogtreecommitdiff
path: root/src/map.c
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-06-27 23:18:22 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-06-27 23:18:22 +0100
commit399e039d799186aeacebee60e1c2009a46677c0d (patch)
tree6b0d2dc98f86e7aecea073e40c35cd21ee6314f3 /src/map.c
parentcb51a0b3973399c4adfb1406b93cd8a25e2f726c (diff)
downloadgold-mine-run-399e039d799186aeacebee60e1c2009a46677c0d.tar.gz
gold-mine-run-399e039d799186aeacebee60e1c2009a46677c0d.zip
Add pikcups
WIP: only time and bonuses for now.
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map.c b/src/map.c
index f7c271b..cf25426 100644
--- a/src/map.c
+++ b/src/map.c
@@ -10,6 +10,7 @@
#include "player.h"
#include "snake.h"
#include "bat.h"
+#include "pickup.h"
#include "map.h"
@@ -28,6 +29,8 @@ static void (* const init[])(Entity *) =
{
snake_init,
bat_init,
+ pickup_time_init,
+ pickup_bonus_init,
};
void map_init(const uint8_t map[])