mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-31 19:36:16 +00:00
numerical_minefield is now editable
This commit is contained in:
parent
1cf26b5380
commit
ff2aa90321
@ -2340,7 +2340,8 @@ EX int config3 = addHook(hooks_configfile, 100, [] {
|
|||||||
addsaver(vid.fixed_facing_dir, "fixed facing dir", 90);
|
addsaver(vid.fixed_facing_dir, "fixed facing dir", 90);
|
||||||
param_b(vid.fixed_yz, "fixed YZ", true);
|
param_b(vid.fixed_yz, "fixed YZ", true);
|
||||||
param_b(frustum_culling, "frustum_culling");
|
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(dont_display_minecount, "dont_display_minecount");
|
||||||
param_b(draw_sky, "draw sky", true);
|
param_b(draw_sky, "draw sky", true);
|
||||||
param_f(linepatterns::parallel_count, "parallel_count")
|
param_f(linepatterns::parallel_count, "parallel_count")
|
||||||
|
2
help.cpp
2
help.cpp
@ -547,6 +547,8 @@ void addMinefieldExplanation(string& s) {
|
|||||||
#else
|
#else
|
||||||
s += XLAT("Known mines may be marked by touching while in drag mode. Your allies won't step on marked mines.");
|
s += XLAT("Known mines may be marked by touching while in drag mode. Your allies won't step on marked mines.");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
help_extensions.push_back(help_extension{'n', XLAT("toggle numerical display"), [] () { numerical_minefield = !numerical_minefield; }});
|
||||||
}
|
}
|
||||||
|
|
||||||
EX string generateHelpForWall(eWall w) {
|
EX string generateHelpForWall(eWall w) {
|
||||||
|
Loading…
Reference in New Issue
Block a user