1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

numerical_minefield is now editable

This commit is contained in:
Zeno Rogue 2022-05-21 17:10:04 +02:00
parent 1cf26b5380
commit ff2aa90321
2 changed files with 4 additions and 1 deletions

View File

@ -2340,7 +2340,8 @@ EX int config3 = addHook(hooks_configfile, 100, [] {
addsaver(vid.fixed_facing_dir, "fixed facing dir", 90);
param_b(vid.fixed_yz, "fixed YZ", true);
param_b(frustum_culling, "frustum_culling");
param_b(numerical_minefield, "numerical_minefield");
param_b(numerical_minefield, "numerical_minefield")
->editable("display mine counts numerically", 'n');
param_b(dont_display_minecount, "dont_display_minecount");
param_b(draw_sky, "draw sky", true);
param_f(linepatterns::parallel_count, "parallel_count")

View File

@ -547,6 +547,8 @@ void addMinefieldExplanation(string& s) {
#else
s += XLAT("Known mines may be marked by touching while in drag mode. Your allies won't step on marked mines.");
#endif
help_extensions.push_back(help_extension{'n', XLAT("toggle numerical display"), [] () { numerical_minefield = !numerical_minefield; }});
}
EX string generateHelpForWall(eWall w) {