1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-17 06:07:12 +00:00

do not use emptyscreen. Use gamescreen but with NOSCR

This commit is contained in:
Zeno Rogue
2025-08-25 21:51:57 +02:00
parent 02ba3ee404
commit 6b30441ea1
9 changed files with 29 additions and 35 deletions

View File

@@ -121,6 +121,8 @@ void empty_screen(presmode mode, color_t col) {
void slide_error(presmode mode, string s) {
empty_screen(mode, 0x400000);
add_stat(mode, [s] {
cmode = sm::VR_MENU | sm::NOSCR;
gamescreen();
dialog::init();
dialog::addTitle(s, 0xFF0000, 150);
dialog::display();
@@ -434,7 +436,7 @@ void show_animation(presmode mode, string s, int sx, int sy, int frames, int fps
}
void choose_presentation() {
cmode = sm::NOSCR;
cmode = sm::NOSCR | sm::VR_MENU;
gamescreen();
getcstat = ' ';