1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 18:07:41 +00:00
This commit is contained in:
Zeno Rogue
2017-03-31 21:41:09 +02:00
parent 51f2ff9d4a
commit b7450edef5
9 changed files with 227 additions and 32 deletions

View File

@@ -220,10 +220,12 @@ void showMainMenu() {
#endif
#ifdef MOBILE
#ifdef HAVE_ACHIEVEMENTS
dialog::addItem(XLAT("leaderboards/achievements"), '3');
#endif
#endif
#ifdef ANDROID
#ifdef ANDROIDSHARE
dialog::addItem("SHARE", 's'-96);
#endif
@@ -279,11 +281,13 @@ void handleMenuKey(int sym, int uni) {
achievement_final(false);
}
#ifdef MOBILE
#ifdef HAVE_ACHIEVEMENTS
else if(sym == '3') {
achievement_final(false);
cmode = emLeader;
}
#endif
#endif
#ifdef ROGUEVIZ
else if(uni == 'g') cmode = emRogueviz;
#endif