diff options
Diffstat (limited to 'game/hud')
-rw-r--r-- | game/hud/HudConfig.h | 2 | ||||
-rw-r--r-- | game/hud/HudScript.cpp | 11 | ||||
-rw-r--r-- | game/hud/HudScript.h | 6 | ||||
-rw-r--r-- | game/hud/HudSubScene.cpp | 9 | ||||
-rw-r--r-- | game/hud/HudSubScene.h | 3 | ||||
-rw-r--r-- | game/hud/SpeedScript.cpp | 7 | ||||
-rw-r--r-- | game/hud/SpeedScript.h | 4 |
7 files changed, 25 insertions, 17 deletions
diff --git a/game/hud/HudConfig.h b/game/hud/HudConfig.h index e3497fb..2da3b66 100644 --- a/game/hud/HudConfig.h +++ b/game/hud/HudConfig.h @@ -1,5 +1,5 @@ #pragma once -#include "types.h" +#include <crepe/types.h> static constexpr crepe::vec2 TOP_LEFT = {-530,-230}; static constexpr const char* HUD_DISTANCE = "hud_distance"; diff --git a/game/hud/HudScript.cpp b/game/hud/HudScript.cpp index 165f245..4aca15e 100644 --- a/game/hud/HudScript.cpp +++ b/game/hud/HudScript.cpp @@ -1,12 +1,15 @@ #include "HudScript.h" -#include "api/Text.h" -#include "api/Transform.h" -#include "manager/SaveManager.h" +#include "HudConfig.h" + #include "../Config.h" #include "../Events.h" -#include "HudConfig.h" + #include <climits> +#include <crepe/api/Text.h> +#include <crepe/api/Transform.h> +#include <crepe/manager/SaveManager.h> + using namespace crepe; using namespace std; diff --git a/game/hud/HudScript.h b/game/hud/HudScript.h index cf939f4..5b9ec17 100644 --- a/game/hud/HudScript.h +++ b/game/hud/HudScript.h @@ -1,8 +1,8 @@ #pragma once -#include "api/Event.h" -#include "api/Script.h" -#include "manager/SaveManager.h" +#include <crepe/api/Event.h> +#include <crepe/api/Script.h> +#include <crepe/manager/SaveManager.h> struct GetCoinEvent : public crepe::Event { int amount_of_coins; diff --git a/game/hud/HudSubScene.cpp b/game/hud/HudSubScene.cpp index 4995624..8b87a2e 100644 --- a/game/hud/HudSubScene.cpp +++ b/game/hud/HudSubScene.cpp @@ -1,9 +1,12 @@ #include "HudSubScene.h" -#include "api/GameObject.h" -#include "api/Text.h" -#include "../Config.h" #include "HudConfig.h" +#include "../Config.h" + +#include <crepe/api/GameObject.h> +#include <crepe/api/Text.h> + + using namespace crepe; using namespace std; diff --git a/game/hud/HudSubScene.h b/game/hud/HudSubScene.h index 711a34d..be696e9 100644 --- a/game/hud/HudSubScene.h +++ b/game/hud/HudSubScene.h @@ -1,6 +1,7 @@ #pragma once -#include "api/Scene.h" +#include <crepe/api/Scene.h> + class HudSubScene { public: diff --git a/game/hud/SpeedScript.cpp b/game/hud/SpeedScript.cpp index 69534d9..c9f7188 100644 --- a/game/hud/SpeedScript.cpp +++ b/game/hud/SpeedScript.cpp @@ -1,7 +1,8 @@ #include "SpeedScript.h" -#include "api/Event.h" -#include "api/KeyCodes.h" -#include "manager/LoopTimerManager.h" + +#include <crepe/api/Event.h> +#include <crepe/api/KeyCodes.h> +#include <crepe/manager/LoopTimerManager.h> using namespace crepe; using namespace std; diff --git a/game/hud/SpeedScript.h b/game/hud/SpeedScript.h index 8bd7271..76ada4f 100644 --- a/game/hud/SpeedScript.h +++ b/game/hud/SpeedScript.h @@ -1,7 +1,7 @@ #pragma once -#include "api/Script.h" -#include "manager/SaveManager.h" +#include <crepe/api/Script.h> +#include <crepe/manager/SaveManager.h> class SpeedScript : public crepe::Script { public: |