migrant a SDL3

This commit is contained in:
2025-03-27 09:43:19 +01:00
parent d2286905dc
commit 2edb978a28
67 changed files with 234 additions and 283 deletions

View File

@@ -1,20 +1,19 @@
#pragma once
#include <SDL3/SDL.h>
#include <SDL3/SDL_events.h> // Para SDL_ControllerButtonEvent
#include <SDL3/SDL.h> // Para SDL_GamepadButton
#include <stddef.h> // Para size_t
#include <memory> // Para shared_ptr, unique_ptr
#include <string> // Para string
#include <vector> // Para vector
class Input; // lines 8-8
class Text; // lines 9-9
enum class InputAction : int; // lines 10-10
#include <SDL3/SDL_events.h> // Para SDL_Event, SDL_GamepadButtonEvent
#include <SDL3/SDL_gamepad.h> // Para SDL_GamepadButton
#include <stddef.h> // Para size_t
#include <memory> // Para shared_ptr
#include <string> // Para string
#include <vector> // Para vector
class Input; // lines 10-10
class Text; // lines 11-11
enum class InputAction : int; // lines 12-12
struct DefineButtonsButton
{
std::string label; // Texto en pantalla para el botón
InputAction input; // Input asociado
std::string label; // Texto en pantalla para el botón
InputAction input; // Input asociado
SDL_GamepadButton button; // Botón del mando correspondiente
// Constructor