- gamestate_password implementat.
This commit is contained in:
@@ -20,9 +20,9 @@ namespace gamestate
|
||||
|
||||
void init()
|
||||
{
|
||||
exit = 0;
|
||||
fondo = draw::loadSurface("menuprin.gif", true);
|
||||
cursor = draw::loadSurface("cursor.gif");
|
||||
menu::exit = menu::eixir::no;
|
||||
menu::fondo = draw::loadSurface("menuprin.gif", true);
|
||||
menu::cursor = draw::loadSurface("cursor.gif");
|
||||
|
||||
if (audio::getMusicState() != audio::music_state::MUSIC_PLAYING || audio::whichMusic() != "mus3.ogg") {
|
||||
audio::playMusic(audio::loadMusic("mus3.ogg"));
|
||||
@@ -40,7 +40,7 @@ namespace gamestate
|
||||
draw::freeSurface(fondo);
|
||||
draw::freeSurface(cursor);
|
||||
if (exit==menu::eixir::sequence) gamestate::sequence::init();
|
||||
//if (exit==menu::eixir::password) gamestate::password::init();
|
||||
if (exit==menu::eixir::password) gamestate::password::init();
|
||||
}
|
||||
draw::render();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user