mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
added imssing MAXMDIM guards in racing
This commit is contained in:
parent
51de394193
commit
a246e53d2c
@ -879,7 +879,7 @@ EX void showStartMenu() {
|
|||||||
pconf.scale = 998;
|
pconf.scale = 998;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if CAP_RACING
|
#if CAP_RACING && MAXMDIM >= 4
|
||||||
else if(uni == 'r' - 96) {
|
else if(uni == 'r' - 96) {
|
||||||
popScreenAll();
|
popScreenAll();
|
||||||
resetModes();
|
resetModes();
|
||||||
|
@ -1060,6 +1060,7 @@ void race_projection() {
|
|||||||
|
|
||||||
bool alternate = false;
|
bool alternate = false;
|
||||||
|
|
||||||
|
#if MAXMDIM >= 4
|
||||||
EX void thurston_racing() {
|
EX void thurston_racing() {
|
||||||
gamescreen(1);
|
gamescreen(1);
|
||||||
dialog::init(XLAT("racing in Thurston geometries"));
|
dialog::init(XLAT("racing in Thurston geometries"));
|
||||||
@ -1112,6 +1113,7 @@ void race_projection() {
|
|||||||
dialog::addBack();
|
dialog::addBack();
|
||||||
dialog::display();
|
dialog::display();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void raceconfigurer() {
|
void raceconfigurer() {
|
||||||
|
|
||||||
@ -1199,8 +1201,10 @@ void race_projection() {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if MAXMDIM >= 4
|
||||||
dialog::addItem(XLAT("racing in Thurston geometries"), 'T');
|
dialog::addItem(XLAT("racing in Thurston geometries"), 'T');
|
||||||
dialog::add_action_push(thurston_racing);
|
dialog::add_action_push(thurston_racing);
|
||||||
|
#endif
|
||||||
|
|
||||||
dialog::addBack();
|
dialog::addBack();
|
||||||
dialog::display();
|
dialog::display();
|
||||||
|
Loading…
Reference in New Issue
Block a user