key_config.cpp i keys.yaml per a centralitzar i no hardcodejar tecles

This commit is contained in:
2026-04-12 15:21:43 +02:00
parent 999cf53821
commit 848b658611
19 changed files with 521 additions and 115 deletions

View File

@@ -29,7 +29,8 @@ class Console {
void handleEvent(const SDL_Event& event);
// Constantes públicas
static constexpr int TEXT_SIZE = 6; // Tamaño de carácter del font de la consola
static constexpr int TEXT_SIZE = 6; // Tamaño de carácter del font de la consola
static constexpr int LINE_HEIGHT = 7; // TEXT_SIZE + 1px de interlineado
// Consultas
auto isActive() -> bool; // true si RISING, ACTIVE o VANISHING