From 1c00c12c8a2c1e896b97479601242b71503f7c30 Mon Sep 17 00:00:00 2001 From: Max-001 Date: Wed, 8 Jan 2025 10:14:45 +0100 Subject: Commented out 3/4 of level --- game/background/BackgroundSubScene.cpp | 4 ++-- game/menus/ButtonSetMainMenuSubScript.h | 1 + game/menus/ButtonSetShopSubScript.h | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'game') diff --git a/game/background/BackgroundSubScene.cpp b/game/background/BackgroundSubScene.cpp index a7ac916..0f54800 100644 --- a/game/background/BackgroundSubScene.cpp +++ b/game/background/BackgroundSubScene.cpp @@ -33,7 +33,7 @@ BackgroundSubScene::BackgroundSubScene(Scene & scn) { begin_x = hallway.create(scn, begin_x, 4, Color::GREEN); - begin_x = aquarium.create(scn, begin_x); + /*begin_x = aquarium.create(scn, begin_x); begin_x = hallway.create(scn, begin_x, 5, Color::RED); @@ -79,5 +79,5 @@ BackgroundSubScene::BackgroundSubScene(Scene & scn) { begin_x = forest.create(scn, begin_x, "8"); - begin_x = hallway.create(scn, begin_x, 16, Color::MAGENTA); + begin_x = hallway.create(scn, begin_x, 16, Color::MAGENTA);*/ } diff --git a/game/menus/ButtonSetMainMenuSubScript.h b/game/menus/ButtonSetMainMenuSubScript.h index 0feefdd..2fb2634 100644 --- a/game/menus/ButtonSetMainMenuSubScript.h +++ b/game/menus/ButtonSetMainMenuSubScript.h @@ -8,6 +8,7 @@ class ButtonSetMainMenuSubScript : public IButtonScript { public: void init() override; bool on_button_press(const crepe::ButtonPressEvent & e); + protected: bool transition = false; }; diff --git a/game/menus/ButtonSetShopSubScript.h b/game/menus/ButtonSetShopSubScript.h index 64d0bf5..4017a4c 100644 --- a/game/menus/ButtonSetShopSubScript.h +++ b/game/menus/ButtonSetShopSubScript.h @@ -8,6 +8,7 @@ class ButtonSetShopSubScript : public IButtonScript { public: void init() override; bool on_button_press(const crepe::ButtonPressEvent & e); + protected: bool transition = false; }; -- cgit v1.2.3