Commitet pa valgrind, he aprofitat i posat mes make_unique i enum class
This commit is contained in:
@@ -59,7 +59,7 @@ void Title::init()
|
||||
ticks = 0;
|
||||
ticksSpeed = 15;
|
||||
fade->setColor(fadeColor.r, fadeColor.g, fadeColor.b);
|
||||
fade->setType(FADE_RANDOM_SQUARE);
|
||||
fade->setType(fadeType::RANDOM_SQUARE);
|
||||
fade->setPost(param.fade.postDuration);
|
||||
demo = true;
|
||||
numControllers = input->getNumControllers();
|
||||
@@ -151,7 +151,7 @@ void Title::render()
|
||||
if (section::options == section::OPTIONS_TITLE_2)
|
||||
{
|
||||
constexpr color_t shadow = {0x14, 0x87, 0xc4};
|
||||
|
||||
|
||||
// 'PRESS TO PLAY'
|
||||
if (counter % 50 > 14 && !defineButtons->isEnabled())
|
||||
{
|
||||
@@ -267,7 +267,7 @@ void Title::checkInput()
|
||||
|
||||
// Comprueba el botón de START de los mandos
|
||||
if (input->checkInput(input_start, INPUT_DO_NOT_ALLOW_REPEAT, INPUT_USE_GAMECONTROLLER, i))
|
||||
{
|
||||
{
|
||||
// Si no está el botón de servicio activo
|
||||
if (!input->checkInput(input_service, INPUT_ALLOW_REPEAT, INPUT_USE_GAMECONTROLLER, i))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user