mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-29 00:19:04 +00:00
centering menus is now configurable
This commit is contained in:
@@ -5212,7 +5212,7 @@ EX void calcparam() {
|
||||
}
|
||||
else {
|
||||
bool ok = !vrhr::active();
|
||||
if(vid.xres > vid.yres * 4/3+16 && (cmode & sm::SIDE) && ok)
|
||||
if(vid.xres > vid.yres * 4/3+16 && (cmode & sm::SIDE) && ok && !((cmode & sm::MAYDARK) && centered_menus))
|
||||
current_display->sidescreen = true;
|
||||
#if CAP_TOUR
|
||||
if(tour::on && (tour::slides[tour::currentslide].flags & tour::SIDESCREEN) && ok)
|
||||
@@ -5324,6 +5324,7 @@ extern bool wclick;
|
||||
EX bool just_refreshing;
|
||||
|
||||
EX int menu_darkening = 2;
|
||||
EX bool centered_menus = false;
|
||||
|
||||
EX void gamescreen() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user