mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 23:10:26 +00:00
removed some junk
This commit is contained in:
parent
a49de4530f
commit
7d086da036
13
cell.cpp
13
cell.cpp
@ -597,8 +597,6 @@ bool randpatternMajority(cell *c, int ival, int iterations) {
|
|||||||
return memo;
|
return memo;
|
||||||
}
|
}
|
||||||
|
|
||||||
map<heptagon*, int> spins;
|
|
||||||
|
|
||||||
#define RVAL_MASK 0x10000000
|
#define RVAL_MASK 0x10000000
|
||||||
#define DATA_MASK 0x20000000
|
#define DATA_MASK 0x20000000
|
||||||
|
|
||||||
@ -684,17 +682,6 @@ cdata *getHeptagonCdata(heptagon *h) {
|
|||||||
setHeptagonRval(hs.at);
|
setHeptagonRval(hs.at);
|
||||||
|
|
||||||
affect(mydata, hs.spin ? hs.at->rval0 : hs.at->rval1, signum);
|
affect(mydata, hs.spin ? hs.at->rval0 : hs.at->rval1, signum);
|
||||||
|
|
||||||
/* if(!(spins[hs.at] & hs.spin)) {
|
|
||||||
spins[hs.at] |= (1<<hs.spin);
|
|
||||||
int t = 0;
|
|
||||||
for(int k=0; k<7; k++) if(spins[hs.at] & (1<<k)) t++;
|
|
||||||
static bool wast[256];
|
|
||||||
if(!wast[spins[hs.at]]) {
|
|
||||||
printf("%p %4x\n", hs.at, spins[hs.at]);
|
|
||||||
wast[spins[hs.at]] = true;
|
|
||||||
}
|
|
||||||
} */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return h->cdata = new cdata(mydata);
|
return h->cdata = new cdata(mydata);
|
||||||
|
2
game.cpp
2
game.cpp
@ -5600,8 +5600,6 @@ void sageheat(cell *c, double v) {
|
|||||||
|
|
||||||
void activateFlashFrom(cell *cf, eMonster who, flagtype flags);
|
void activateFlashFrom(cell *cf, eMonster who, flagtype flags);
|
||||||
|
|
||||||
vector<cell*> nonmovers;
|
|
||||||
|
|
||||||
bool sagefresh = true;
|
bool sagefresh = true;
|
||||||
|
|
||||||
int nearestPathPlayer(cell *c) {
|
int nearestPathPlayer(cell *c) {
|
||||||
|
Loading…
Reference in New Issue
Block a user