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..3e51a90 100644
--- a/game/menus/mainmenu/ITransitionScript.cpp
+++ b/game/menus/mainmenu/ITransitionScript.cpp
@@ -2,6 +2,7 @@
#include "MainMenuConfig.h"
#include "../MenusConfig.h"
+#include "../../Config.h"
#include <crepe/api/Camera.h>
#include <crepe/api/Transform.h>
diff --git a/game/menus/shop/ShopMenuScene.cpp b/game/menus/shop/ShopMenuScene.cpp
index 21e3f02..d5b5af3 100644
--- a/game/menus/shop/ShopMenuScene.cpp
+++ b/game/menus/shop/ShopMenuScene.cpp
@@ -4,6 +4,7 @@
#include "../BannerSubScene.h"
#include "../ButtonSubScene.h"
#include "../MenusConfig.h"
+#include "../../Config.h"
#include <crepe/api/Camera.h>
#include <crepe/api/Sprite.h>