1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 14:26:01 +00:00

changed names generateAlts to extend_altmap and createAlternateMap to create_altmap

This commit is contained in:
Zeno Rogue
2021-07-29 14:51:49 +02:00
parent 0e71e67ba6
commit bc79fd05df
7 changed files with 30 additions and 30 deletions

View File

@@ -689,7 +689,7 @@ void compute_horocycle(heptagon *alt) {
set<heptagon*> region;
for(int i=0; i<LOOKUP-1; i++) {
for(auto h: hs[i]) {
currentmap->generateAlts(h);
currentmap->extend_altmap(h);
for(int j=0; j<S7; j++) {
if(h->move(j)->alt->alt != master->alt->alt) continue;
region.insert(h->move(j));
@@ -760,7 +760,7 @@ EX int celldist(cell *c, bool alts) {
}
}
if(doalts == 0) {
currentmap->generateAlts(master);
currentmap->extend_altmap(master);
for(int i=0; i<S7; i++) if(master->move(i)->alt == master->alt->move[0] && periodmap[master->move(i)].celldists[true].empty())
compute_horocycle(master);
}