mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-03 03:07:56 +00:00
a hook to replace buildHelpText
This commit is contained in:
3
help.cpp
3
help.cpp
@@ -85,7 +85,10 @@ vector<string> extra_keys_3d = {
|
||||
"move mouse = rotate camera (in rug, only with lctrl)",
|
||||
};
|
||||
|
||||
EX hookset<bool()> hooks_build_help;
|
||||
|
||||
EX void buildHelpText() {
|
||||
if(callhandlers(0, hooks_build_help)) return;
|
||||
DEBBI(DF_GRAPH, ("buildHelpText"));
|
||||
|
||||
help = XLAT("Welcome to HyperRogue");
|
||||
|
Reference in New Issue
Block a user