forked from jaildesigner-jailgames/jaildoctors_dilemma
- Ya se puede usar el mando en todas las secciones del juego
- Definido flag para compilar para consola de juegos (GAME_CONSOLE)
This commit is contained in:
@@ -19,7 +19,7 @@ Director::Director(int argc, char *argv[])
|
||||
section->subsection = SUBSECTION_LOGO_TO_INTRO;
|
||||
|
||||
#ifdef DEBUG
|
||||
section->name = SECTION_PROG_GAME;
|
||||
section->name = SECTION_PROG_LOGO;
|
||||
#endif
|
||||
|
||||
// Crea e inicializa las opciones del programa
|
||||
@@ -1241,6 +1241,7 @@ void Director::initInput()
|
||||
input->bindKey(input_swap_palette, SDL_SCANCODE_F5);
|
||||
input->bindKey(input_switch_music, SDL_SCANCODE_M);
|
||||
input->bindKey(input_video_mode, SDL_SCANCODE_F);
|
||||
input->bindKey(input_toggle_border, SDL_SCANCODE_B);
|
||||
|
||||
// Mando - Movimiento
|
||||
input->bindGameControllerButton(input_jump, SDL_CONTROLLER_BUTTON_B);
|
||||
@@ -1782,7 +1783,7 @@ void Director::runEnterID()
|
||||
std::cout << "\n* SECTION: ENTER_ID" << std::endl;
|
||||
}
|
||||
// loadResources(section);
|
||||
enterID = new EnterID(renderer, screen, asset, input, options, section);
|
||||
enterID = new EnterID(renderer, screen, asset, options, section);
|
||||
enterID->run();
|
||||
delete enterID;
|
||||
resource->free();
|
||||
|
||||
Reference in New Issue
Block a user