mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-26 00:47:00 +00:00
init.cpp
10.0h: fixed RogueViz, achievements flag
This commit is contained in:
parent
3a35784195
commit
aff0526b3a
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user