mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
main menu cancels quit visualizations
This commit is contained in:
parent
cf968c8be1
commit
13c807c938
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user