1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-16 19:18:05 +00:00

big change: more configuration for the torus (and also Klein bottle)

This commit is contained in:
Zeno Rogue
2017-12-28 16:46:10 +01:00
parent d67ca714fd
commit 11569c693d
21 changed files with 546 additions and 287 deletions

View File

@@ -150,11 +150,11 @@ void initgame() {
yendor::lastchallenge = yendor::challenge;
yendor::init(2);
for(int i=0; i<65536; i++) euland[i] = laNone;
clear_euland(specialland);
if(euclid && specialland == laPrincessQuest) {
cell *c = euclideanAtCreate(EPX, EPY);
cell *c = euclideanAtCreate(pair_to_vec(EPX, EPY));
princess::generating = true;
c->land = laPalace;
for(int j=BARLEV; j>=0; j--) setdist(c, j, NULL);