1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-23 16:50:27 +00:00

irr:: added a short help text

This commit is contained in:
Zeno Rogue 2018-08-01 04:36:37 +02:00
parent 8e1ee8f8d5
commit 2f9e581f51

View File

@ -805,8 +805,16 @@ void show_gridmaker() {
});
dialog::addItem(XLAT("reset"), 'r');
dialog::add_action([] () { runlevel = 0; });
dialog::addHelp();
dialog::display();
keyhandler = [] (int sym, int uni) {
if(uni == 'h' || sym == SDLK_F1) gotoHelp(XLAT(
"This option creates irregular grids to play the game on. "
"Currently rather slow algorithms are used, "
"so not recommended with too high density or "
"with too large periodic base geometry. "
"For technical reasons, the density cannot be too small."
));
dialog::handleNavigation(sym, uni);
// no exit
};