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