From 1ee1ea560b9b6c45208d51c72370d893af89358f Mon Sep 17 00:00:00 2001 From: Sergio Valor Martinez Date: Wed, 7 Feb 2024 18:51:00 +0100 Subject: [PATCH] Aumentado el tiempo que se muestra la pantalla de carga. Posibilidad de saltar la pantalla ya cargada en el menu de titulo --- source/gamestate_title.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/source/gamestate_title.cpp b/source/gamestate_title.cpp index ae28bda6..17cf8654 100644 --- a/source/gamestate_title.cpp +++ b/source/gamestate_title.cpp @@ -200,10 +200,9 @@ void Title::checkInput() else if (input->checkInput(input_accept, REPEAT_FALSE) || input->checkInput(input_pause, REPEAT_FALSE)) { - if (!showCheevos) + if (state = show_loading_screen) { - // section->name = SECTION_GAME; - // section->subsection = 0; + state = fade_loading_screen; } } } @@ -281,7 +280,7 @@ void Title::update() switch (state) { case show_loading_screen: - if (counter == 200) + if (counter == 500) { counter = 0; state = fade_loading_screen;