From 74b73e860b6a5e1eaab46b38e6a17d51ef5eac0d Mon Sep 17 00:00:00 2001 From: Github Actions Date: Sun, 5 Nov 2023 21:43:53 +0000 Subject: [PATCH] FORMAT-AUTO: automatic format on pull request #143 --- src/Client/Systems/Events/EventsSystems.cpp | 2 +- src/Game/GameCustomTypes.cpp | 4 ++-- src/Nitwork/NitworkServer.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Client/Systems/Events/EventsSystems.cpp b/src/Client/Systems/Events/EventsSystems.cpp index 92d4faf9..0aa75dd5 100644 --- a/src/Client/Systems/Events/EventsSystems.cpp +++ b/src/Client/Systems/Events/EventsSystems.cpp @@ -239,7 +239,7 @@ namespace Systems { bool found = false; const Raylib::Vector2 pos = {0, 2}; const int fontSize = 2; - Types::FontSize fsz = {fontSize}; + Types::FontSize fsz = {fontSize}; const std::string textKeywordWaveEnd = "WaveText"; const std::string textKeyWordGameEnd = "endGameText"; diff --git a/src/Game/GameCustomTypes.cpp b/src/Game/GameCustomTypes.cpp index e8e96537..a37962b7 100644 --- a/src/Game/GameCustomTypes.cpp +++ b/src/Game/GameCustomTypes.cpp @@ -7,8 +7,8 @@ #include "GameCustomTypes.hpp" #ifdef CLIENT - #include "B-luga-graphics/Raylib/Raylib.hpp" #include "B-luga-graphics/GraphicsCustomTypes.hpp" + #include "B-luga-graphics/Raylib/Raylib.hpp" #endif unsigned int Types::Enemy::_enemyNb = 0; @@ -44,7 +44,7 @@ namespace Types { } else { unsigned int previousWave = getWaveId(); const std::string text = "Wave " + std::to_string(previousWave) + " survived"; - Types::FontSize fsz = {fontSize}; + Types::FontSize fsz = {fontSize}; for (auto &id : ids) { if (arrCol[id]->getKeyword() == textKeyword) { diff --git a/src/Nitwork/NitworkServer.cpp b/src/Nitwork/NitworkServer.cpp index eccfce49..60416e55 100644 --- a/src/Nitwork/NitworkServer.cpp +++ b/src/Nitwork/NitworkServer.cpp @@ -10,7 +10,6 @@ #include #include #endif -#include "NitworkServer.hpp" #include #include "B-luga-physics/ECSSystems.hpp" #include "B-luga/Logger.hpp" @@ -18,6 +17,7 @@ #include "B-luga/SceneManager.hpp" #include "B-luga/SystemManagers/SystemManagersDirector.hpp" #include "GameSystems.hpp" +#include "NitworkServer.hpp" #include "ResourcesManager.hpp" #include "WaveSystem.hpp" #include "init.hpp"