From 2f9e581f518a6f9fe236c9e668a9d49863e5b230 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 1 Aug 2018 04:36:37 +0200 Subject: [PATCH] irr:: added a short help text --- irregular.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/irregular.cpp b/irregular.cpp index a7e608eb..6c0924cf 100644 --- a/irregular.cpp +++ b/irregular.cpp @@ -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 };