mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-09-29 14:30:40 +00:00
fixed disabling CAP_RUG and CAP_TOUR
This commit is contained in:
parent
b6969bca22
commit
d0dc017ce3
@ -281,7 +281,9 @@ bool have_current_settings() {
|
|||||||
int modecount = 0;
|
int modecount = 0;
|
||||||
if(inv::on) modecount++;
|
if(inv::on) modecount++;
|
||||||
if(shmup::on) modecount += 10;
|
if(shmup::on) modecount += 10;
|
||||||
|
#if CAP_TOUR
|
||||||
if(tour::on) modecount += 10;
|
if(tour::on) modecount += 10;
|
||||||
|
#endif
|
||||||
if(chaosmode) modecount += 10;
|
if(chaosmode) modecount += 10;
|
||||||
if(nonbitrunc) modecount += 10;
|
if(nonbitrunc) modecount += 10;
|
||||||
if(peace::on) modecount += 10;
|
if(peace::on) modecount += 10;
|
||||||
|
@ -643,7 +643,9 @@ namespace conformal {
|
|||||||
|
|
||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
dialog::addItem(XLAT("history mode"), 'a');
|
dialog::addItem(XLAT("history mode"), 'a');
|
||||||
|
#if CAP_RUG
|
||||||
dialog::addItem(XLAT("hypersian rug mode"), 'u');
|
dialog::addItem(XLAT("hypersian rug mode"), 'u');
|
||||||
|
#endif
|
||||||
dialog::addItem(XLAT("exit this menu"), 'q');
|
dialog::addItem(XLAT("exit this menu"), 'q');
|
||||||
dialog::display();
|
dialog::display();
|
||||||
|
|
||||||
@ -677,8 +679,10 @@ namespace conformal {
|
|||||||
projectionDialog();
|
projectionDialog();
|
||||||
else if(uni == 'b')
|
else if(uni == 'b')
|
||||||
config_camera_rotation();
|
config_camera_rotation();
|
||||||
|
#if CAP_RUG
|
||||||
else if(uni == 'u')
|
else if(uni == 'u')
|
||||||
pushScreen(rug::show);
|
pushScreen(rug::show);
|
||||||
|
#endif
|
||||||
else if(uni == 'l' && pmodel == mdHalfplane)
|
else if(uni == 'l' && pmodel == mdHalfplane)
|
||||||
lower_halfplane = !lower_halfplane;
|
lower_halfplane = !lower_halfplane;
|
||||||
else if(uni == 'a')
|
else if(uni == 'a')
|
||||||
|
2
hyper.h
2
hyper.h
@ -919,11 +919,11 @@ namespace rug {
|
|||||||
extern bool rug_perspective;
|
extern bool rug_perspective;
|
||||||
|
|
||||||
bool handlekeys(int sym, int uni);
|
bool handlekeys(int sym, int uni);
|
||||||
#endif
|
|
||||||
|
|
||||||
void addTriangle(rugpoint *t1, rugpoint *t2, rugpoint *t3, ld len = 1);
|
void addTriangle(rugpoint *t1, rugpoint *t2, rugpoint *t3, ld len = 1);
|
||||||
rugpoint *addRugpoint(hyperpoint h, double dist);
|
rugpoint *addRugpoint(hyperpoint h, double dist);
|
||||||
void buildRug();
|
void buildRug();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#define HASLINEVIEW
|
#define HASLINEVIEW
|
||||||
|
Loading…
Reference in New Issue
Block a user