mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-13 13:47:37 +00:00
main menu cancels quit visualizations
This commit is contained in:
@@ -207,6 +207,7 @@ EX void showOverview() {
|
|||||||
// -- main menu --
|
// -- main menu --
|
||||||
|
|
||||||
EX void showMainMenu() {
|
EX void showMainMenu() {
|
||||||
|
cancel(); cancel = noaction;
|
||||||
gamescreen(2);
|
gamescreen(2);
|
||||||
|
|
||||||
getcstat = ' ';
|
getcstat = ' ';
|
||||||
|
4
quit.cpp
4
quit.cpp
@@ -36,9 +36,9 @@ string timeline() {
|
|||||||
XLAT("%1 turns (%2)", its(turncount), getgametime_s());
|
XLAT("%1 turns (%2)", its(turncount), getgametime_s());
|
||||||
}
|
}
|
||||||
|
|
||||||
void noaction() {}
|
EX void noaction() {}
|
||||||
|
|
||||||
function<void()> cancel = noaction;
|
EX function<void()> cancel = noaction;
|
||||||
|
|
||||||
#if HDR
|
#if HDR
|
||||||
struct hint {
|
struct hint {
|
||||||
|
Reference in New Issue
Block a user