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

the main (heptagon) cellshape now also uses subcellshape; removed dirdist and get_vertices and introduced get_cellshape instead

This commit is contained in:
Zeno Rogue
2021-07-12 11:07:22 +02:00
parent 2d962c324d
commit 6e6d0a7839
14 changed files with 182 additions and 206 deletions

View File

@@ -250,7 +250,8 @@ int arg::readCommon() {
}
else if(argis("-face-vertex")) {
PHASE(3); start_game();
View = cspin(0, 2, M_PI/2) * spintox(cgi.vertices_only[0]);
auto &ss = cgi.get_cellshape(cwt.at);
View = cspin(0, 2, M_PI/2) * spintox(ss.vertices_only_local[0]);
}
else if(argis("-face-face")) {
PHASE(3); start_game();