mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-26 06:29:43 +00:00
more header shifting
This commit is contained in:
12
help.cpp
12
help.cpp
@@ -7,6 +7,18 @@ EX string help;
|
||||
|
||||
EX function<void()> help_delegate;
|
||||
|
||||
#if HDR
|
||||
struct help_extension {
|
||||
char key;
|
||||
string text;
|
||||
string subtext;
|
||||
color_t color;
|
||||
reaction_t action;
|
||||
help_extension() { color = forecolor; }
|
||||
help_extension(char k, string t, reaction_t a) : key(k), text(t), action(a) { color = forecolor; }
|
||||
};
|
||||
#endif
|
||||
|
||||
EX vector<help_extension> help_extensions;
|
||||
|
||||
vector<string> extra_keys = {
|
||||
|
||||
Reference in New Issue
Block a user