mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 21:07:17 +00:00
added missing CAP_RACING guards
This commit is contained in:
parent
0c72130ed8
commit
d396e323c1
@ -730,6 +730,7 @@ EX void showStartMenu() {
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if CAP_RACING
|
||||||
case 8:
|
case 8:
|
||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
dialog::addBigItem(XLAT("Racing"), 'r'-96);
|
dialog::addBigItem(XLAT("Racing"), 'r'-96);
|
||||||
@ -741,6 +742,7 @@ EX void showStartMenu() {
|
|||||||
dialog::addBigItem(XLAT("Racing in Thurston geometries"), 't'-96);
|
dialog::addBigItem(XLAT("Racing in Thurston geometries"), 't'-96);
|
||||||
dialog::addInfo(XLAT("race through a maze in exotic 3D geometry!"));
|
dialog::addInfo(XLAT("race through a maze in exotic 3D geometry!"));
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
|
|
||||||
case 20:
|
case 20:
|
||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
@ -852,6 +854,7 @@ EX void showStartMenu() {
|
|||||||
vid.scale = 998;
|
vid.scale = 998;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#if CAP_RACING
|
||||||
else if(uni == 'r' - 96) {
|
else if(uni == 'r' - 96) {
|
||||||
popScreenAll();
|
popScreenAll();
|
||||||
resetModes();
|
resetModes();
|
||||||
@ -878,6 +881,7 @@ EX void showStartMenu() {
|
|||||||
pushScreen(showStartMenu);
|
pushScreen(showStartMenu);
|
||||||
pushScreen(racing::thurston_racing);
|
pushScreen(racing::thurston_racing);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#if CAP_TOUR
|
#if CAP_TOUR
|
||||||
else if(uni == 't') {
|
else if(uni == 't') {
|
||||||
popScreenAll();
|
popScreenAll();
|
||||||
|
Loading…
Reference in New Issue
Block a user