1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-05 03:47:58 +00:00

rogueviz:: non_game_slide

This commit is contained in:
Zeno Rogue
2022-08-05 19:55:40 +02:00
parent db8c4ee0b9
commit 0b3980a5a4
2 changed files with 12 additions and 0 deletions

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);