clang-format

This commit is contained in:
2025-11-23 12:26:42 +01:00
parent 3d2ad5f292
commit cb26e7194c
18 changed files with 126 additions and 127 deletions

View File

@@ -332,7 +332,7 @@ void Screen::textureToRenderer() {
void Screen::renderOverlays() {
renderNotifications();
#ifdef _DEBUG
//renderInfo();
// renderInfo();
#endif
}

View File

@@ -7,8 +7,8 @@
#include "core/rendering/text.hpp" // Para Text
#include "core/resources/resource_cache.hpp" // Para Resource
#include "utils/defines.hpp" // Para PlayArea
#include "utils/color.hpp" // Para Color
#include "utils/defines.hpp" // Para PlayArea
// [SINGLETON]
Debug* Debug::debug = nullptr;

View File

@@ -30,7 +30,6 @@ class Player {
NONE
};
struct SpawnData {
float x = 0;
float y = 0;

View File

@@ -15,16 +15,16 @@
#include "core/resources/resource_cache.hpp" // Para ResourceRoom, Resource
#include "core/resources/resource_list.hpp" // Para Asset
#include "core/system/global_events.hpp" // Para check
#include "game/defaults.hpp" // Para Defaults::Music
#include "game/gameplay/item_tracker.hpp" // Para ItemTracker
#include "game/gameplay/room.hpp" // Para Room, RoomData
#include "game/gameplay/room_tracker.hpp" // Para RoomTracker
#include "game/gameplay/scoreboard.hpp" // Para Scoreboard::Data, Scoreboard
#include "game/defaults.hpp" // Para Defaults::Music
#include "game/options.hpp" // Para Options, options, Cheat, SectionState
#include "game/scene_manager.hpp" // Para SceneManager
#include "game/ui/notifier.hpp" // Para Notifier, NotificationText, CHEEVO_NO...
#include "utils/defines.hpp" // Para Tile::SIZE, PlayArea::HEIGHT, RoomBorder::BOTTOM
#include "utils/color.hpp" // Para Color
#include "utils/defines.hpp" // Para Tile::SIZE, PlayArea::HEIGHT, RoomBorder::BOTTOM
#include "utils/utils.hpp" // Para stringToColor
#ifdef _DEBUG

View File

@@ -16,10 +16,10 @@
#include "core/system/global_events.hpp" // Para check
#include "game/options.hpp" // Para Options, SectionState, options, Section
#include "game/scene_manager.hpp" // Para SceneManager
#include "utils/color.hpp" // Para Color
#include "utils/defines.hpp" // Para GameCanvas
#include "utils/delta_timer.hpp" // Para DeltaTimer
#include "utils/easing_functions.hpp" // Para funciones de suavizado
#include "utils/color.hpp" // Para Color
// Constructor
Logo::Logo()

View File

@@ -17,8 +17,8 @@
#include "game/defaults.hpp" // Para Defaults::Music
#include "game/options.hpp" // Para Options, options, SectionState, Section
#include "game/scene_manager.hpp" // Para SceneManager
#include "utils/defines.hpp" // Para GameCanvas::CENTER_X, GameCanvas::WIDTH
#include "utils/color.hpp" // Para Color
#include "utils/defines.hpp" // Para GameCanvas::CENTER_X, GameCanvas::WIDTH
#include "utils/utils.hpp" // Para stringToColor
// Constructor

View File

@@ -15,8 +15,8 @@
#include "core/rendering/text.hpp" // Para Text, Text::CENTER_FLAG, Text::COLOR_FLAG
#include "core/resources/resource_cache.hpp" // Para Resource
#include "game/options.hpp" // Para Options, options, NotificationPosition
#include "utils/delta_timer.hpp" // Para DeltaTimer
#include "utils/color.hpp" // Para Color
#include "utils/delta_timer.hpp" // Para DeltaTimer
// [SINGLETON]
Notifier* Notifier::notifier = nullptr;