aboutsummaryrefslogtreecommitdiff
path: root/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'game.c')
-rw-r--r--game.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/game.c b/game.c
index f5edb8a..b68d85a 100644
--- a/game.c
+++ b/game.c
@@ -45,8 +45,7 @@ static void menu_init(Game* game) {
font = get_default_font();
init_menu(&game->menu, game);
- menu_add(&game->menu, "New", menu_new, font);
- menu_add(&game->menu, "Continue", 0, font);
+ menu_add(&game->menu, "Play", menu_new, font);
menu_add(&game->menu, "Credits", menu_credits, font);
menu_add(&game->menu, "Quit", menu_quit, font);
}
@@ -104,7 +103,7 @@ static void gameplay_init(Game* game) {
init_world(&game->world);
init_map(&world->map, world);
init_player(&world->player, world);
- new_skull(world, 0, 0);
+ init_waver(&world->waver);
world->gmemory = gmemory_max;
}
@@ -174,6 +173,8 @@ static void gameplay_update(Game* game) {
world = &game->world;
player = &world->player;
+ update_waver(&world->waver, world);
+
update_player(player, world);
enemy_system(world);
debris_system(world);