Title: clang-tidy readability-function-cognitive-complexity
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <SDL3/SDL.h> // Para SDL_Keycode, Uint32, Uint64
|
||||
#include <stdint.h> // Para uint8_t
|
||||
|
||||
#include <memory> // Para unique_ptr
|
||||
#include <vector> // Para vector
|
||||
#include <cstdint> // Para uint8_t
|
||||
#include <memory> // Para unique_ptr
|
||||
#include <vector> // Para vector
|
||||
|
||||
#include "color.h" // Para Color
|
||||
#include "param.h" // Para Param, ParamIntro, param
|
||||
@@ -71,10 +71,10 @@ class Intro {
|
||||
static void renderTextRect(); // Dibuja el rectangulo de fondo del texto;
|
||||
void updatePostState(); // Actualiza el estado POST
|
||||
#ifdef _DEBUG
|
||||
void adjustColorComponent(uint8_t& component, bool increase);
|
||||
static void adjustColorComponent(uint8_t& component, bool increase);
|
||||
void adjustAllColorComponents(Color& color, bool increase);
|
||||
void handleDebugColorKeys(SDL_Keycode key, Color& color);
|
||||
void printColorDebugInfo(const Color& color);
|
||||
static void printColorDebugInfo(const Color& color);
|
||||
#endif
|
||||
|
||||
// --- Métodos para manejar cada escena individualmente ---
|
||||
@@ -87,5 +87,5 @@ class Intro {
|
||||
|
||||
// --- Métodos auxiliares para reducir duplicación de código ---
|
||||
void enableCardAndShadow(int index);
|
||||
void switchText(int fromIndex, int toIndex);
|
||||
void switchText(int from_index, int to_index);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user