mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
HyperRogue help is now directly offered when displaying context help
This commit is contained in:
parent
c87bca5da0
commit
eec0c968d9
5
help.cpp
5
help.cpp
@ -845,7 +845,10 @@ int windtotal;
|
||||
EX hookset<void(cell*)> hooks_mouseover;
|
||||
|
||||
template<class T> void set_help_to(T t) {
|
||||
help = bygen([t] { gotoHelpFor(t); });
|
||||
help = bygen([t] {
|
||||
gotoHelpFor(t);
|
||||
help_extensions.push_back(help_extension{'h', XLAT("HyperRogue help"), [] () { buildHelpText(); }});
|
||||
});
|
||||
}
|
||||
|
||||
EX void describeMouseover() {
|
||||
|
Loading…
Reference in New Issue
Block a user