1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-01 14:32:59 +00:00

random animations in the start menu now have their names displayed, and some are explorable

This commit is contained in:
Zeno Rogue
2019-12-14 14:10:34 +01:00
parent 2006104650
commit 6603fe3c9e
2 changed files with 68 additions and 31 deletions

View File

@@ -662,12 +662,12 @@ EX void showStartMenu() {
daily_mode = 20;
}
#if CAP_STARTANIM
startanims::current();
#endif
getcstat = ' ';
#if CAP_STARTANIM
startanims::display();
#endif
dialog::init();
dialog::addInfo(XLAT("Welcome to HyperRogue!"));
@@ -807,6 +807,10 @@ EX void showStartMenu() {
keyhandler = [] (int sym, int uni) {
dialog::handleNavigation(sym, uni);
if(uni == 'o') uni = 'i';
#if CAP_STARTANIM
else if(uni == startanims::EXPLORE_START_ANIMATION)
startanims::explore();
#endif
#if CAP_RUG
else if(uni == 'M') {
rug::init();