mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-05 03:02:49 +00:00
added sm::MAYDARK to some dialogs
This commit is contained in:
parent
5701491cb0
commit
4f9e9c2e47
@ -1188,7 +1188,7 @@ string explain3D(ld *param) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void showStereo() {
|
void showStereo() {
|
||||||
cmode = sm::SIDE;
|
cmode = sm::SIDE | sm::MAYDARK;
|
||||||
gamescreen(0);
|
gamescreen(0);
|
||||||
using namespace geom3;
|
using namespace geom3;
|
||||||
dialog::init(XLAT("stereo vision config"));
|
dialog::init(XLAT("stereo vision config"));
|
||||||
|
@ -932,7 +932,7 @@ void delayed_reset() {
|
|||||||
|
|
||||||
void show() {
|
void show() {
|
||||||
#if CAP_ORIENTATION
|
#if CAP_ORIENTATION
|
||||||
cmode = sm::SIDE;
|
cmode = sm::SIDE | sm::MAYDARK;
|
||||||
gamescreen(0);
|
gamescreen(0);
|
||||||
|
|
||||||
dialog::init(XLAT("scrolling by device rotation"));
|
dialog::init(XLAT("scrolling by device rotation"));
|
||||||
|
@ -103,7 +103,7 @@ void prepare_torusconfig() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void showTorusConfig() {
|
void showTorusConfig() {
|
||||||
cmode = sm::SIDE;
|
cmode = sm::SIDE | sm::MAYDARK;
|
||||||
if(euclid) cmode |= sm::TORUSCONFIG;
|
if(euclid) cmode |= sm::TORUSCONFIG;
|
||||||
gamescreen(2);
|
gamescreen(2);
|
||||||
|
|
||||||
@ -279,7 +279,7 @@ void validity_info() {
|
|||||||
bool showquotients;
|
bool showquotients;
|
||||||
|
|
||||||
void showEuclideanMenu() {
|
void showEuclideanMenu() {
|
||||||
cmode = sm::SIDE;
|
cmode = sm::SIDE | sm::MAYDARK;
|
||||||
gamescreen(0);
|
gamescreen(0);
|
||||||
if(cheater) for(int i=0; i<landtypes; i++) landvisited[i] = true;
|
if(cheater) for(int i=0; i<landtypes; i++) landvisited[i] = true;
|
||||||
for(int i=0; i<landtypes; i++)
|
for(int i=0; i<landtypes; i++)
|
||||||
|
@ -669,7 +669,7 @@ namespace hr { namespace gp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void show() {
|
void show() {
|
||||||
cmode = sm::SIDE;
|
cmode = sm::SIDE | sm::MAYDARK;
|
||||||
gamescreen(0);
|
gamescreen(0);
|
||||||
dialog::init(XLAT("variations"));
|
dialog::init(XLAT("variations"));
|
||||||
|
|
||||||
|
@ -879,7 +879,7 @@ string irrhelp =
|
|||||||
"For technical reasons, the density cannot be too small.";
|
"For technical reasons, the density cannot be too small.";
|
||||||
|
|
||||||
void show_gridmaker() {
|
void show_gridmaker() {
|
||||||
cmode = sm::SIDE;
|
cmode = sm::SIDE | sm::MAYDARK;
|
||||||
gamescreen(0);
|
gamescreen(0);
|
||||||
dialog::init(XLAT("irregular grid"));
|
dialog::init(XLAT("irregular grid"));
|
||||||
dialog::addSelItem(XLAT("density"), fts(density), 'd');
|
dialog::addSelItem(XLAT("density"), fts(density), 'd');
|
||||||
|
@ -306,7 +306,7 @@ void editScale() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void showDisplayMode() {
|
void showDisplayMode() {
|
||||||
cmode = sm::SIDE;
|
cmode = sm::SIDE | sm::MAYDARK;
|
||||||
gamescreen(0);
|
gamescreen(0);
|
||||||
|
|
||||||
dialog::init(XLAT("special display modes"));
|
dialog::init(XLAT("special display modes"));
|
||||||
|
@ -290,7 +290,7 @@ namespace flocking {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void show() {
|
void show() {
|
||||||
cmode = sm::SIDE;
|
cmode = sm::SIDE | sm::MAYDARK;
|
||||||
gamescreen(0);
|
gamescreen(0);
|
||||||
dialog::init(XLAT("flocking"), iinf[itPalace].color, 150, 0);
|
dialog::init(XLAT("flocking"), iinf[itPalace].color, 150, 0);
|
||||||
|
|
||||||
|
@ -846,7 +846,7 @@ namespace levelline {
|
|||||||
void show() {
|
void show() {
|
||||||
if(levellines.size() == 0) create();
|
if(levellines.size() == 0) create();
|
||||||
gamescreen(0);
|
gamescreen(0);
|
||||||
cmode = vid.xres > vid.yres * 1.4 ? sm::SIDE : 0;
|
cmode = sm::SIDE | sm::MAYDARK;
|
||||||
dialog::init("level lines");
|
dialog::init("level lines");
|
||||||
char nx = 'a';
|
char nx = 'a';
|
||||||
for(auto &l : levellines) {
|
for(auto &l : levellines) {
|
||||||
|
@ -201,7 +201,7 @@ void check() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void showMenu() {
|
void showMenu() {
|
||||||
cmode = sm::SIDE;
|
cmode = sm::SIDE | sm::MAYDARK;
|
||||||
gamescreen(0);
|
gamescreen(0);
|
||||||
dialog::init(XLAT("Spiral Staircase"), iinf[itPalace].color, 150, 0);
|
dialog::init(XLAT("Spiral Staircase"), iinf[itPalace].color, 150, 0);
|
||||||
|
|
||||||
|
2
rug.cpp
2
rug.cpp
@ -1766,7 +1766,7 @@ string makehelp() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void show() {
|
void show() {
|
||||||
cmode = sm::SIDE;
|
cmode = sm::SIDE | sm::MAYDARK;
|
||||||
gamescreen(0);
|
gamescreen(0);
|
||||||
dialog::init(XLAT("hypersian rug mode"), iinf[itPalace].color, 150, 100);
|
dialog::init(XLAT("hypersian rug mode"), iinf[itPalace].color, 150, 100);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user