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

View File

@ -229,6 +229,7 @@ function<void(presmode)> roguevizslide_action(char c, const T& t, const U& act)
void add_stat(presmode mode, const bool_reaction_t& stat);
void compare_projections(presmode mode, eModel a, eModel b);
void no_other_hud(presmode mode);
void non_game_slide(presmode mode);
void white_screen(presmode mode, color_t col = 0xFFFFFFFF);
void empty_screen(presmode mode, color_t col = 0xFFFFFFFF);
void show_picture(presmode mode, string s);