1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-02 18:57:56 +00:00

fixed the shape pattern for converted tilings

This commit is contained in:
Zeno Rogue
2024-05-28 13:04:24 +02:00
parent 3b3e9e2de6
commit fcc3cae938
3 changed files with 10 additions and 5 deletions

View File

@@ -1570,6 +1570,14 @@ EX bool is_vertex(heptagon *h) {
return id_of(h) >= 2 * current.N;
}
EX int get_graphical_id(cell *c) {
int id = arcm::id_of(c->master);
int tid = arcm::current.tilegroup[id];
int tid2 = arcm::current.tilegroup[id^1];
if(tid2 >= 0) tid = min(tid, tid2);
return tid;
}
bool archimedean_tiling::get_step_values(int& steps, int& single_step) {
int nom = -2;