1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-28 14:08:40 +00:00
10.0h: fixed RogueViz, achievements flag
This commit is contained in:
Zeno Rogue 2017-08-13 19:15:14 +02:00
parent 3a35784195
commit aff0526b3a

View File

@ -209,7 +209,7 @@ void showMainMenu() {
#endif #endif
#if ISMOBILE==1 #if ISMOBILE==1
#ifdef HAVE_ACHIEVEMENTS #if CAP_ACHIEVE
dialog::addItem(XLAT("leaderboards/achievements"), '3'); dialog::addItem(XLAT("leaderboards/achievements"), '3');
#endif #endif
#endif #endif
@ -740,7 +740,7 @@ void showStartMenu() {
dialog::addBreak(100); dialog::addBreak(100);
dialog::addBigItem(XLAT("shoot'em up mode"), 's'); dialog::addBigItem(XLAT("shoot'em up mode"), 's');
dialog::addInfo(XLAT("continuous spacetime")); dialog::addInfo(XLAT("continuous spacetime"));
#ifdef HAVE_ACHIEVEMENTS #if CAP_ACHIEVE
dialog::addInfo(XLAT("(most achievements are not available)")); dialog::addInfo(XLAT("(most achievements are not available)"));
#endif #endif
#endif #endif
@ -781,7 +781,7 @@ void showStartMenu() {
if(uni == 'c' || uni == 'i' || uni == 's') { if(uni == 'c' || uni == 'i' || uni == 's') {
popScreenAll(); popScreenAll();
if(inv::on != (uni == 'i')) restartGame('i'); if(inv::on != (uni == 'i')) restartGame('i');
if(shmup::on != (uni == 's')) restartGame('S'); if(shmup::on != (uni == 's')) restartGame('s');
clearMessages(); clearMessages();
welcomeMessage(); welcomeMessage();
} }
@ -793,7 +793,7 @@ void showStartMenu() {
#endif #endif
#if CAP_ROGUEVIZ && CAP_TOUR #if CAP_ROGUEVIZ && CAP_TOUR
else if(uni == 'r') { else if(uni == 'r') {
tour::slides = rvtour::rvslides; tour::slides = rogueviz::rvtour::rvslides;
popScreenAll(); popScreenAll();
tour::start(); tour::start();
} }