1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-14 22:07:38 +00:00

replaced 'archimedean' with 'arcm::in()'

This commit is contained in:
Zeno Rogue
2019-12-14 11:42:16 +01:00
parent d529449999
commit f772f9b7fd
28 changed files with 138 additions and 136 deletions

View File

@@ -662,7 +662,7 @@ void geometry_information::generate_floorshapes() {
#endif
#if CAP_ARCM
else if(archimedean) {
else if(arcm::in()) {
arcm::parent_index_of(&modelh) = 0;
auto &ac = arcm::current;
for(int i=0; i<2*ac.N + 2; i++) {
@@ -826,7 +826,7 @@ EX int shvid(cell *c) {
return gp::get_plainshape_id(c);
else if(IRREGULAR)
return irr::cellindex[c];
else if(archimedean)
else if(arcm::in())
return arcm::id_of(c->master);
else if(arb::in())
return arb::id_of(c->master);
@@ -864,7 +864,7 @@ EX struct dqi_poly *draw_shapevec(cell *c, const transmatrix& V, const vector<hp
}
#endif
#if CAP_ARCM
else if(archimedean) {
else if(arcm::in()) {
return &queuepolyat(V, shv[arcm::id_of(c->master)], col, prio);
}
#endif