aboutsummaryrefslogtreecommitdiff
path: root/game/mainmenu/MainMenuConfig.h
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-22 00:11:56 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-22 00:11:56 +0100
commit7bcee4f662b20b8e2e7183bb6bd4cb061fa14e12 (patch)
treecb7976922b3cc6070dc9c14d0ffcaea48b3efee6 /game/mainmenu/MainMenuConfig.h
parent5a2f6a14803885b7c53bab7d43208476d2e1bd5b (diff)
added menu buttons + scene switching
Diffstat (limited to 'game/mainmenu/MainMenuConfig.h')
-rw-r--r--game/mainmenu/MainMenuConfig.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/game/mainmenu/MainMenuConfig.h b/game/mainmenu/MainMenuConfig.h
new file mode 100644
index 0000000..8992ce7
--- /dev/null
+++ b/game/mainmenu/MainMenuConfig.h
@@ -0,0 +1,22 @@
+#pragma once
+#include "types.h"
+#include <string>
+
+struct MainMenuConfig {
+ //generic menu config
+ static constexpr unsigned int STARTING_SORTING_IN_LAYER = 7;
+ static constexpr const char* CAMERA_NAME = "camera";
+ static constexpr const char* START_SCENE = "scene1";
+ //main menu config
+ static constexpr float STARTMAP_OFFSET = 50;
+ static constexpr crepe::vec2 MENU_OFFSET = {-400,-200};
+ static constexpr float MENU_BUTTON_SPACING = 10;
+ static constexpr crepe::vec2 MENU_OFFSET_BACKGROUND = {0,+200};
+
+ //button config
+ static constexpr const char* FONT = "Garuda";
+ static constexpr crepe::vec2 FONTOFFSET = {0,0};
+ static constexpr crepe::vec2 LARGE_OVERLAY_SIZE = {250,100};
+ static constexpr crepe::vec2 SIDE_PANEL_SIZE = {50,150};
+};
+