mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
irr:: added a short help text
This commit is contained in:
parent
8e1ee8f8d5
commit
2f9e581f51
@ -805,8 +805,16 @@ void show_gridmaker() {
|
|||||||
});
|
});
|
||||||
dialog::addItem(XLAT("reset"), 'r');
|
dialog::addItem(XLAT("reset"), 'r');
|
||||||
dialog::add_action([] () { runlevel = 0; });
|
dialog::add_action([] () { runlevel = 0; });
|
||||||
|
dialog::addHelp();
|
||||||
dialog::display();
|
dialog::display();
|
||||||
keyhandler = [] (int sym, int uni) {
|
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);
|
dialog::handleNavigation(sym, uni);
|
||||||
// no exit
|
// no exit
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user