From 99f85aecfd7fcd593cb6d9b373772cc7c14f5bf9 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 30 Sep 2021 13:22:12 +0200 Subject: [PATCH] option disable_bigstuff for some experiments --- bigstuff.cpp | 3 +++ complex.cpp | 1 + system.cpp | 1 + 3 files changed, 5 insertions(+) diff --git a/bigstuff.cpp b/bigstuff.cpp index 861dfd1b..cbfe2d53 100644 --- a/bigstuff.cpp +++ b/bigstuff.cpp @@ -15,6 +15,8 @@ #include "hyper.h" namespace hr { +EX bool disable_bigstuff; + // horocycles EX int newRoundTableRadius() { @@ -1922,6 +1924,7 @@ EX void gen_temple(cell *c) { } EX void moreBigStuff(cell *c) { + if(disable_bigstuff) return; if((bearsCamelot(c->land) && !euclid && !quotient && !nil) || c->land == laCamelot) if(have_alt(c)) if(!(bt::in() && specialland != laCamelot)) diff --git a/complex.cpp b/complex.cpp index e9bb1ccd..92526151 100644 --- a/complex.cpp +++ b/complex.cpp @@ -3569,6 +3569,7 @@ EX namespace windmap { } EX void create() { + if(disable_bigstuff) return; if(cgflags & qPORTALSPACE) return; samples.clear(); neighbors.clear(); diff --git a/system.cpp b/system.cpp index 3ea4d4de..2a4e0b50 100644 --- a/system.cpp +++ b/system.cpp @@ -214,6 +214,7 @@ EX void initgame() { pregen(); setdist(cwt.at, BARLEV, NULL); + if(!disable_bigstuff) if(isCyclic(specialland) || specialland == laCanvas) { #if CAP_COMPLEX2 camelot::anthraxBonus = items[itHolyGrail];