rogueviz:: non_game_slide

This commit is contained in:
Zeno Rogue
2022-08-07 03:16:24 +02:00
parent db8c4ee0b9
commit 0b3980a5a4
2 changed files with 12 additions and 0 deletions
+11
View File
@@ -76,6 +76,17 @@ void no_other_hud(presmode mode) {
clearMessages();
}
/** disable all the HyperRogue game stuff */
void non_game_slide(presmode mode) {
if(mode == pmStart) {
tour::slide_backup(game_keys_scroll, true);
tour::slide_backup(mapeditor::drawplayer, false);
tour::slide_backup(no_find_player, true);
tour::slide_backup(playermoved, false);
}
no_other_hud(mode);
}
void white_screen(presmode mode, color_t col) {
if(mode == pmStart) {
tour::slide_backup(backcolor, col);