renomena tipus _t/_e a CamelCase (Circle, Color, Section, ...)

This commit is contained in:
2026-05-14 22:16:36 +02:00
parent 9a2da460cc
commit 0bc55f5732
37 changed files with 209 additions and 209 deletions
+6 -6
View File
@@ -8,7 +8,7 @@
#include "core/audio/audio.hpp" // for Audio::update
#include "core/input/global_inputs.hpp" // for GlobalInputs::handle
#include "core/input/input.h" // for Input, REPEAT_FALSE, inputs_e
#include "core/input/input.h" // for Input, REPEAT_FALSE, InputAction
#include "core/locale/lang.h" // for Lang
#include "core/rendering/screen.h" // for Screen
#include "core/rendering/sprite.h" // for Sprite
@@ -16,10 +16,10 @@
#include "core/rendering/texture.h" // for Texture
#include "core/resources/resource.h"
#include "game/defaults.hpp" // for shdwTxtColor, GAMECANVAS_CENTER_X, GAME...
#include "utils/utils.h" // for color_t, section_t
#include "utils/utils.h" // for Color, Section
// Constructor
Instructions::Instructions(SDL_Renderer *renderer, section_t *section) {
Instructions::Instructions(SDL_Renderer *renderer, Section *section) {
// Copia los punteros
this->renderer = renderer;
this->section = section;
@@ -103,7 +103,7 @@ void Instructions::render() {
SDL_Rect window = {0, 0, GAMECANVAS_WIDTH, GAMECANVAS_HEIGHT};
SDL_Rect srcRect = {0, 0, 16, 16};
const color_t orangeColor = {0xFF, 0x7A, 0x00};
const Color orangeColor = {0xFF, 0x7A, 0x00};
const SDL_Rect destRect1 = {60, 88 + (16 * 0), 16, 16}; // Disquito
const SDL_Rect destRect2 = {60, 88 + (16 * 1), 16, 16}; // Gavineixon
@@ -231,7 +231,7 @@ void Instructions::checkInput() {
}
// Bucle para la pantalla de instrucciones (compatibilidad)
void Instructions::run(mode_e mode) {
void Instructions::run(InstructionsMode mode) {
start(mode);
while (!finished) {
@@ -250,7 +250,7 @@ void Instructions::run(mode_e mode) {
}
// Inicia las instrucciones (sin bucle)
void Instructions::start(mode_e mode) {
void Instructions::start(InstructionsMode mode) {
this->mode = mode;
finished = false;
quitRequested = false;