mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-26 05:17:03 +00:00
rogueviz:: non_game_slide
This commit is contained in:
parent
db8c4ee0b9
commit
0b3980a5a4
rogueviz
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user