aboutsummaryrefslogtreecommitdiff
path: root/game/menus
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2025-01-07 21:10:50 +0100
committerJAROWMR <jarorutjes07@gmail.com>2025-01-07 21:10:50 +0100
commit055ca804ebe27ea77f1c09079f119a0526426e70 (patch)
tree26955eeba11e10c3f5726a0eb23a602b867d37fa /game/menus
parente7ff8a9d0cff724520c4fb7a13b77e93797759cf (diff)
fixed includes
Diffstat (limited to 'game/menus')
-rw-r--r--game/menus/ButtonNextMainMenuScript.cpp7
-rw-r--r--game/menus/ButtonSetMainMenuScript.cpp5
-rw-r--r--game/menus/FloatingWindowSubScene.cpp2
-rw-r--r--game/menus/FloatingWindowSubScene.h2
-rw-r--r--game/menus/IFloatingWindowScript.cpp5
-rw-r--r--game/menus/IFloatingWindowScript.h1
-rw-r--r--game/menus/endgame/EndGameSubScene.cpp11
-rw-r--r--game/menus/endgame/EndGameSubScript.cpp11
-rw-r--r--game/menus/endgame/EndGameSubScript.h3
9 files changed, 30 insertions, 17 deletions
diff --git a/game/menus/ButtonNextMainMenuScript.cpp b/game/menus/ButtonNextMainMenuScript.cpp
index d7f48e2..7ebb2cf 100644
--- a/game/menus/ButtonNextMainMenuScript.cpp
+++ b/game/menus/ButtonNextMainMenuScript.cpp
@@ -1,11 +1,14 @@
#include "ButtonNextMainMenuScript.h"
#include "MenusConfig.h"
#include "ValueBroker.h"
-#include "api/AudioSource.h"
+
#include "manager/SaveManager.h"
-#include "types.h"
+
#include "../Config.h"
+#include <crepe/api/AudioSource.h>
+#include <crepe/types.h>
+
using namespace crepe;
using namespace std;
diff --git a/game/menus/ButtonSetMainMenuScript.cpp b/game/menus/ButtonSetMainMenuScript.cpp
index e967dfb..1e4179c 100644
--- a/game/menus/ButtonSetMainMenuScript.cpp
+++ b/game/menus/ButtonSetMainMenuScript.cpp
@@ -1,7 +1,8 @@
#include "ButtonSetMainMenuScript.h"
#include "MenusConfig.h"
-#include "api/AudioSource.h"
-#include "types.h"
+
+#include <crepe/api/AudioSource.h>
+#include <crepe/types.h>
using namespace crepe;
using namespace std;
diff --git a/game/menus/FloatingWindowSubScene.cpp b/game/menus/FloatingWindowSubScene.cpp
index 16963bb..640d151 100644
--- a/game/menus/FloatingWindowSubScene.cpp
+++ b/game/menus/FloatingWindowSubScene.cpp
@@ -1,8 +1,8 @@
#include "FloatingWindowSubScene.h"
#include "MenusConfig.h"
-#include "types.h"
+#include <crepe/types.h>
#include <crepe/api/GameObject.h>
#include <crepe/api/Scene.h>
#include <crepe/api/Sprite.h>
diff --git a/game/menus/FloatingWindowSubScene.h b/game/menus/FloatingWindowSubScene.h
index a0bd854..1ce7c38 100644
--- a/game/menus/FloatingWindowSubScene.h
+++ b/game/menus/FloatingWindowSubScene.h
@@ -1,6 +1,6 @@
#pragma once
-#include "types.h"
+#include <crepe/types.h>
#include <crepe/api/Scene.h>
class FloatingWindowSubScene {
diff --git a/game/menus/IFloatingWindowScript.cpp b/game/menus/IFloatingWindowScript.cpp
index ce84de7..8d6c838 100644
--- a/game/menus/IFloatingWindowScript.cpp
+++ b/game/menus/IFloatingWindowScript.cpp
@@ -1,6 +1,7 @@
#include "IFloatingWindowScript.h"
-#include "api/Sprite.h"
-#include "types.h"
+
+#include <crepe/api/Sprite.h>
+#include <crepe/types.h>
using namespace crepe;
diff --git a/game/menus/IFloatingWindowScript.h b/game/menus/IFloatingWindowScript.h
index 9775726..dff4091 100644
--- a/game/menus/IFloatingWindowScript.h
+++ b/game/menus/IFloatingWindowScript.h
@@ -1,6 +1,7 @@
#pragma once
#include <crepe/api/Script.h>
+
#include <string>
class IFloatingWindowScript : public virtual crepe::Script {
diff --git a/game/menus/endgame/EndGameSubScene.cpp b/game/menus/endgame/EndGameSubScene.cpp
index 5360c96..c97ce52 100644
--- a/game/menus/endgame/EndGameSubScene.cpp
+++ b/game/menus/endgame/EndGameSubScene.cpp
@@ -1,14 +1,17 @@
#include "EndGameSubScene.h"
+#include "EndGameSubScript.h"
+
#include "../FloatingWindowSubScene.h"
#include "../ButtonSubScene.h"
-#include <crepe/api/Text.h>
+#include "../../Config.h"
+
#include <string>
+
#include <crepe/api/GameObject.h>
#include <crepe/api/BehaviorScript.h>
-#include "EndGameSubScript.h"
-#include "types.h"
-#include "../../Config.h"
+#include <crepe/api/Text.h>
+#include <crepe/types.h>
using namespace crepe;
using namespace std;
diff --git a/game/menus/endgame/EndGameSubScript.cpp b/game/menus/endgame/EndGameSubScript.cpp
index 2be6931..2204df0 100644
--- a/game/menus/endgame/EndGameSubScript.cpp
+++ b/game/menus/endgame/EndGameSubScript.cpp
@@ -1,12 +1,15 @@
#include "EndGameSubScript.h"
+
#include "../IFloatingWindowScript.h"
-#include "api/Button.h"
-#include "api/Sprite.h"
-#include "api/Text.h"
-#include "types.h"
#include "../../Events.h"
+
#include <string>
+#include <crepe/api/Button.h>
+#include <crepe/api/Sprite.h>
+#include <crepe/api/Text.h>
+#include <crepe/types.h>
+
using namespace crepe;
EndGameSubScript::EndGameSubScript(const std::string & tag){
diff --git a/game/menus/endgame/EndGameSubScript.h b/game/menus/endgame/EndGameSubScript.h
index 2ce3ec7..4b63a4e 100644
--- a/game/menus/endgame/EndGameSubScript.h
+++ b/game/menus/endgame/EndGameSubScript.h
@@ -1,7 +1,8 @@
#pragma once
#include "../IFloatingWindowScript.h"
-#include "api/Event.h"
+
+#include <crepe/api/Event.h>
#include <crepe/api/Script.h>
class EndGameSubScript : public IFloatingWindowScript {