forked from jaildesigner-jailgames/jaildoctors_dilemma
Ja funciona la roda de paletes
This commit is contained in:
@@ -27,7 +27,6 @@ namespace globalInputs
|
||||
// Cambia la paleta de colores
|
||||
void switchPalette()
|
||||
{
|
||||
//options.video.palette = options.video.palette == Palette::ZXSPECTRUM ? Palette::ZXARNE : Palette::ZXSPECTRUM;
|
||||
Screen::get()->nextPalette();
|
||||
}
|
||||
|
||||
@@ -102,7 +101,7 @@ namespace globalInputs
|
||||
else if (Input::get()->checkInput(InputAction::TOGGLE_PALETTE, REPEAT_FALSE))
|
||||
{
|
||||
switchPalette();
|
||||
//Notifier::get()->show({"PALETTE " + std::string(options.video.palette == Palette::ZXSPECTRUM ? "ZX SPECTRUM" : "ZX ARNE")}, NotificationText::CENTER);
|
||||
Notifier::get()->show({"PALETTE " + options.video.palette}, NotificationText::CENTER);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user