1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-08 02:30:15 +00:00

commited changes from 9.4i and some extra

This commit is contained in:
Zeno Rogue
2017-05-27 21:40:40 +02:00
parent ed9f54deb7
commit 1c99cd647e
23 changed files with 3899 additions and 2710 deletions

View File

@@ -60,8 +60,6 @@ void merge(cell *c, int d, cell *c2, int d2, bool mirrored = false) {
typedef unsigned short eucoord;
#include <map>
struct cdata {
int val[4];
int bits;
@@ -653,7 +651,6 @@ void clearHexes(heptagon *at) {
}
}
#include <queue>
void clearfrom(heptagon *at) {
queue<heptagon*> q;
q.push(at);
@@ -767,6 +764,7 @@ int celldist(cell *c) {
decodeMaster(c->master, x, y);
return eudist(x, y);
}
if(sphere) return celldistance(c, currentmap->gamestart());
if(c->type == 7) return c->master->distance;
int dx[3];
for(int u=0; u<3; u++)
@@ -1100,7 +1098,6 @@ bool randpatternMajority(cell *c, int ival, int iterations) {
return memo;
}
#include <map>
map<heptagon*, int> spins;
#define RVAL_MASK 0x10000000