aboutsummaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
authorMax-001 <maxsmits21@kpnmail.nl>2025-01-08 10:14:45 +0100
committerMax-001 <maxsmits21@kpnmail.nl>2025-01-08 10:14:45 +0100
commit1c00c12c8a2c1e896b97479601242b71503f7c30 (patch)
tree3295b1daadd12f2ff82ff6757049c82515c498eb /game
parentb1824253875901b4fb6f4c5fee72aea6d807d370 (diff)
Commented out 3/4 of level
Diffstat (limited to 'game')
-rw-r--r--game/background/BackgroundSubScene.cpp4
-rw-r--r--game/menus/ButtonSetMainMenuSubScript.h1
-rw-r--r--game/menus/ButtonSetShopSubScript.h1
3 files changed, 4 insertions, 2 deletions
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;
};