1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 01:17:39 +00:00

struct archimedean_tiling

This commit is contained in:
Zeno Rogue
2018-08-20 02:02:45 +02:00
parent 4d31e5a544
commit c54d4ec59d
10 changed files with 203 additions and 162 deletions

View File

@@ -486,9 +486,10 @@ void generate_floorshapes() {
cell model;
model.master = &master;
arcm::parent_index_of(&master) = 0;
for(int i=0; i<2*arcm::N + (nonbitrunc ? 0 : 2); i++) {
auto &ac = arcm::current;
for(int i=0; i<2*ac.N + (nonbitrunc ? 0 : 2); i++) {
arcm::id_of(&master) = i;
model.type = isize(arcm::triangles[i]);
model.type = isize(ac.triangles[i]);
if(geosupport_graveyard() == 2)
generate_floorshapes_for(i, &model, !arcm::pseudohept(i), i/2);
else