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:
@@ -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 = ' ';
|
||||
|
||||
Reference in New Issue
Block a user