aboutsummaryrefslogtreecommitdiff
path: root/game/menus
diff options
context:
space:
mode:
Diffstat (limited to 'game/menus')
-rw-r--r--game/menus/MenusConfig.h3
-rw-r--r--game/menus/mainmenu/ITransitionScript.cpp1
-rw-r--r--game/menus/shop/ShopMenuScene.cpp1
3 files changed, 3 insertions, 2 deletions
diff --git a/game/menus/MenusConfig.h b/game/menus/MenusConfig.h
index 6ec5689..3e357a5 100644
--- a/game/menus/MenusConfig.h
+++ b/game/menus/MenusConfig.h
@@ -3,10 +3,9 @@
//generic menu config
static constexpr int STARTING_SORTING_IN_LAYER = 7;
-static constexpr const char * CAMERA_NAME = "camera";
//Scene names
static constexpr const char * START_SCENE = "scene1";
-static constexpr const char * PREVIEW_SCENE = "scene1";
+static constexpr const char * PREVIEW_SCENE = "preview scene";
static constexpr const char * SHOP_SCENE = "shopmenu";
static constexpr const char * MAINMENU_SCENE = "mainmenu";
//button config
diff --git a/game/menus/mainmenu/ITransitionScript.cpp b/game/menus/mainmenu/ITransitionScript.cpp
index cd929a0..54b0875 100644
--- a/game/menus/mainmenu/ITransitionScript.cpp
+++ b/game/menus/mainmenu/ITransitionScript.cpp
@@ -1,6 +1,7 @@
#include "ITransitionScript.h"
#include "MainMenuConfig.h"
+#include "../../Config.h"
#include "../MenusConfig.h"
#include <crepe/api/Camera.h>
diff --git a/game/menus/shop/ShopMenuScene.cpp b/game/menus/shop/ShopMenuScene.cpp
index d1ea81d..5ada0d3 100644
--- a/game/menus/shop/ShopMenuScene.cpp
+++ b/game/menus/shop/ShopMenuScene.cpp
@@ -6,6 +6,7 @@
#include "../ButtonSubScene.h"
#include "../MenusConfig.h"
#include "types.h"
+#include "../../Config.h"
#include <crepe/api/Camera.h>
#include <crepe/api/Sprite.h>