forked from jaildesigner-jailgames/jaildoctors_dilemma
Añadidos parametros al programa
This commit is contained in:
@@ -389,7 +389,11 @@ void Game::killPlayer()
|
||||
return;
|
||||
}
|
||||
|
||||
// board.lives--;
|
||||
// Resta una vida al jugador
|
||||
if (!options->infiniteLives)
|
||||
{
|
||||
board.lives--;
|
||||
}
|
||||
|
||||
// Destruye la habitacion y el jugador
|
||||
delete room;
|
||||
@@ -412,7 +416,10 @@ void Game::killPlayer()
|
||||
// Recarga todas las texturas
|
||||
void Game::reLoadTextures()
|
||||
{
|
||||
std::cout << "** RELOAD REQUESTED" << std::endl;
|
||||
if (options->console)
|
||||
{
|
||||
std::cout << "** RELOAD REQUESTED" << std::endl;
|
||||
}
|
||||
player->reLoadTexture();
|
||||
room->reLoadTexture();
|
||||
scoreboard->reLoadTexture();
|
||||
@@ -422,7 +429,10 @@ void Game::reLoadTextures()
|
||||
// Cambia la paleta
|
||||
void Game::switchPalette()
|
||||
{
|
||||
std::cout << "** PALETTE SWITCH REQUESTED" << std::endl;
|
||||
if (options->console)
|
||||
{
|
||||
std::cout << "** PALETTE SWITCH REQUESTED" << std::endl;
|
||||
}
|
||||
|
||||
// Modifica la variable
|
||||
options->palette = (options->palette == p_zxspectrum) ? p_zxarne : p_zxspectrum;
|
||||
|
||||
Reference in New Issue
Block a user