- Treballant en el prólogo
This commit is contained in:
@@ -145,7 +145,7 @@ bool game::loop()
|
||||
switch(current_module)
|
||||
{
|
||||
case M_LOGO:
|
||||
if (!modules::logo::loop()) { modules::intro::init(); current_module = M_END; }
|
||||
if (!modules::logo::loop()) { modules::intro::init(); current_module = M_INTRO; }
|
||||
break;
|
||||
case M_INTRO:
|
||||
if (!modules::intro::loop()) { modules::menu::init(); current_module = M_MENU; }
|
||||
@@ -157,6 +157,7 @@ bool game::loop()
|
||||
option = modules::menu::loop();
|
||||
if (option != OPTION_NONE) {
|
||||
if (option == OPTION_EIXIR) return false;
|
||||
if (option == OPTION_PROLOGO) { modules::game::init(true); current_module = M_GAME; }
|
||||
if (option == OPTION_JUGAR) { modules::game::init(); current_module = M_GAME; }
|
||||
if (option == OPTION_TECLES) { modules::menu_tecles::init(); current_module = M_MENU_TECLES; }
|
||||
if (option == OPTION_GAMEPAD) { modules::menu_gamepad::init(); current_module = M_MENU_GAMEPAD; }
|
||||
|
||||
Reference in New Issue
Block a user