option disable_bigstuff for some experiments

This commit is contained in:
Zeno Rogue 2021-09-30 13:22:12 +02:00
parent aeb93f7e3f
commit 99f85aecfd
3 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,8 @@
#include "hyper.h" #include "hyper.h"
namespace hr { namespace hr {
EX bool disable_bigstuff;
// horocycles // horocycles
EX int newRoundTableRadius() { EX int newRoundTableRadius() {
@ -1922,6 +1924,7 @@ EX void gen_temple(cell *c) {
} }
EX void moreBigStuff(cell *c) { EX void moreBigStuff(cell *c) {
if(disable_bigstuff) return;
if((bearsCamelot(c->land) && !euclid && !quotient && !nil) || c->land == laCamelot) if((bearsCamelot(c->land) && !euclid && !quotient && !nil) || c->land == laCamelot)
if(have_alt(c)) if(!(bt::in() && specialland != laCamelot)) if(have_alt(c)) if(!(bt::in() && specialland != laCamelot))

View File

@ -3569,6 +3569,7 @@ EX namespace windmap {
} }
EX void create() { EX void create() {
if(disable_bigstuff) return;
if(cgflags & qPORTALSPACE) return; if(cgflags & qPORTALSPACE) return;
samples.clear(); samples.clear();
neighbors.clear(); neighbors.clear();

View File

@ -214,6 +214,7 @@ EX void initgame() {
pregen(); pregen();
setdist(cwt.at, BARLEV, NULL); setdist(cwt.at, BARLEV, NULL);
if(!disable_bigstuff)
if(isCyclic(specialland) || specialland == laCanvas) { if(isCyclic(specialland) || specialland == laCanvas) {
#if CAP_COMPLEX2 #if CAP_COMPLEX2
camelot::anthraxBonus = items[itHolyGrail]; camelot::anthraxBonus = items[itHolyGrail];