mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-26 02:54:06 +00:00
tour:: slide_action function
This commit is contained in:
parent
ded172b0d3
commit
e827d2a69f
5
tour.cpp
5
tour.cpp
@ -103,6 +103,11 @@ EX void slide_url(presmode mode, char key, string text, string url) {
|
|||||||
}});
|
}});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EX void slide_action(presmode mode, char key, string text, reaction_t act) {
|
||||||
|
if(mode == pmHelpEx)
|
||||||
|
help_extensions.push_back(help_extension{key, text, act});
|
||||||
|
}
|
||||||
|
|
||||||
/** \brief an auxiliary function to enable a visualization in the Canvas land */
|
/** \brief an auxiliary function to enable a visualization in the Canvas land */
|
||||||
EX void setCanvas(presmode mode, char canv) {
|
EX void setCanvas(presmode mode, char canv) {
|
||||||
if(mode == pmStart) {
|
if(mode == pmStart) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user