afegides tecles d'START. ja comença el joc amb el numero correcte de jugadors
This commit is contained in:
@@ -20,9 +20,16 @@
|
||||
#include "core/system/game_config.hpp"
|
||||
#include "core/types.hpp"
|
||||
|
||||
// Botones que permiten saltar/avanzar la escena (extensible)
|
||||
static constexpr std::array<InputAction, 1> SKIP_BUTTONS_TITOL = {
|
||||
InputAction::SHOOT
|
||||
// Botones que permiten saltar/avanzar escenas ANTES de MAIN (extensible)
|
||||
static constexpr std::array<InputAction, 3> SKIP_BUTTONS_TITOL = {
|
||||
InputAction::SHOOT, // FIRE
|
||||
InputAction::THRUST, // THRUST
|
||||
InputAction::START // START
|
||||
};
|
||||
|
||||
// Botones para INICIAR PARTIDA desde MAIN (solo START)
|
||||
static constexpr std::array<InputAction, 1> START_GAME_BUTTONS = {
|
||||
InputAction::START
|
||||
};
|
||||
|
||||
class EscenaTitol {
|
||||
@@ -107,5 +114,6 @@ class EscenaTitol {
|
||||
void dibuixar();
|
||||
void processar_events(const SDL_Event& event);
|
||||
auto checkSkipButtonPressed() -> bool;
|
||||
auto checkStartGameButtonPressed() -> bool;
|
||||
void inicialitzar_titol(); // Carrega i posiciona les lletres del títol
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user