1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-28 12:27:40 +00:00

rogueviz:: added some guards

This commit is contained in:
Zeno Rogue
2023-04-15 01:24:16 +02:00
parent 782b6ab4f8
commit 0410f54d43
17 changed files with 53 additions and 13 deletions

View File

@@ -8,6 +8,7 @@ bool alone = true;
bool in_special = false;
#if CAP_RVSLIDES
auto geoslide(eGeometry g, char canvas, int jhole, int jblock) {
using namespace tour;
return [=] (presmode mode) {
@@ -85,9 +86,11 @@ auto geoslide(eGeometry g, char canvas, int jhole, int jblock) {
}
};
}
#endif
string cap = "honeycombs/";
#if CAP_RVSLIDES
void honey(string s, vector<tour::slide>& v) {
if(s != "noniso") return;
using namespace tour;
@@ -148,6 +151,7 @@ void honey(string s, vector<tour::slide>& v) {
});
}
#endif
#if CAP_RVSLIDES
vector<tour::slide> noniso_slides;