treballant en arreglas els includes de SDL3
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
// IWYU pragma: no_include <bits/chrono.h>
|
||||
#include "director.h"
|
||||
#include <SDL3/SDL_audio.h> // Para SDL_AudioFormat
|
||||
#include <SDL3/SDL_error.h> // Para SDL_GetError
|
||||
#include <SDL3/SDL_gamepad.h> // Para SDL_GamepadButton
|
||||
#include <SDL3/SDL_init.h> // Para SDL_Init, SDL_Quit, SDL_INIT_AUDIO
|
||||
#include <SDL3/SDL.h> // Para SDL_AudioFormat
|
||||
#include <SDL3/SDL.h> // Para SDL_GetError
|
||||
#include <SDL3/SDL.h> // Para SDL_GamepadButton
|
||||
#include <SDL3/SDL.h> // Para SDL_Init, SDL_Quit, SDL_INIT_AUDIO
|
||||
#include <SDL3/SDL.h> // Para SDL_Log, SDL_LogCategory, SDL_LogE...
|
||||
#include <SDL3/SDL_scancode.h> // Para SDL_Scancode
|
||||
#include <SDL3/SDL.h> // Para SDL_Scancode
|
||||
#include <errno.h> // Para errno, EEXIST, EACCES, ENAMETOOLONG
|
||||
#include <stdio.h> // Para printf, perror
|
||||
#include <sys/stat.h> // Para mkdir, stat, S_IRWXU
|
||||
@@ -562,7 +562,7 @@ void Director::runTitle()
|
||||
// Ejecuta la sección donde se juega al juego
|
||||
void Director::runGame()
|
||||
{
|
||||
int player_id = 1;
|
||||
int player_id = 1;
|
||||
|
||||
switch (Section::options)
|
||||
{
|
||||
@@ -579,7 +579,7 @@ void Director::runGame()
|
||||
break;
|
||||
|
||||
default:
|
||||
player_id = 1;
|
||||
player_id = 1;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -635,7 +635,7 @@ void Director::reset()
|
||||
Resource::get()->reload();
|
||||
}
|
||||
Input::get()->discoverGameControllers();
|
||||
bindInputs();
|
||||
bindInputs();
|
||||
ServiceMenu::get()->reset();
|
||||
Section::name = Section::Name::LOGO;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user