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:
@@ -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();
|
||||
|
||||
2
tour.cpp
2
tour.cpp
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user