mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-29 08:23:08 +00:00
split sight/game/generation range; bonuses instead of absolute values
This commit is contained in:
1 parent
f2c5bbcea3
commit
229f717678
17 files changed
+93
-102
No files matched your search
@@ -1135,16 +1135,6 @@ bool openplains(cell *c) {
|
||||
}
|
||||
}
|
||||
|
||||
void doOvergenerate() {
|
||||
int dcs = size(dcal);
|
||||
for(int i=0; i<dcs; i++) {
|
||||
cell *c = dcal[i];
|
||||
if(weirdhyperbolic && (c->land == laCaribbean)) continue;
|
||||
if(weirdhyperbolic && (c->land == laStorms || c->land == laCamelot || c->land == laTemple || c->land == laOcean)) continue;
|
||||
if(c->cpdist <= sightrange-6) setdist(c, 1, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
void buildCamelotWall(cell *c) {
|
||||
c->wall = waCamelot;
|
||||
for(int i=0; i<c->type; i++) {
|
||||
|
||||
Reference in new issue
Block a user