1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-14 04:37:10 +00:00

tour:: support SIDE screens

This commit is contained in:
Zeno Rogue
2025-09-29 11:47:08 +02:00
parent 8b7e82b460
commit 522d580db1
2 changed files with 3 additions and 0 deletions

View File

@@ -1843,6 +1843,7 @@ EX void normalscreen() {
if(GDIM == 3 || !outofmap(mouseh.h)) getcstat = '-';
cmode = sm::NORMAL | sm::DOTOUR | sm::CENTER;
if(viewdists && show_distance_lists) cmode |= sm::SIDE | sm::MAYDARK;
if(tour::on && (tour::slides[tour::currentslide].flags & tour::SIDE)) cmode |= sm::SIDE;
gamescreen(); drawStats();
show_menu_button();

View File

@@ -76,6 +76,8 @@ static constexpr flagtype USE_SLIDE_NAME = 128;
static constexpr flagtype NOTITLE = 256;
/** \brief always display the text, even if going back or texts are disabled */
static constexpr flagtype ALWAYS_TEXT = 256;
/** \brief add a sidescreen to a normal screen */
static constexpr flagtype SIDE = 512;
#endif
EX vector<reaction_t> restorers;