1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-14 18:18:05 +00:00

face/edge/vertex centering

This commit is contained in:
Zeno Rogue
2020-04-01 12:01:55 +02:00
parent dc2658a98c
commit 650604227a
4 changed files with 43 additions and 4 deletions

View File

@@ -566,7 +566,9 @@ void cheat_move(char c) {
else if(c == 'r') cheat(), cwt += rev;
else if(c == 'm') cheat(), cwt += wmirror;
else if(c == 'z') cheat(), cwt.spin = 0, cwt.mirrored = false;
else if(c == 'F') fullcenter();
else if(c == 'F') centering = eCentering::face, fullcenter();
else if(c == 'E') centering = eCentering::edge, fullcenter();
else if(c == 'V') centering = eCentering::vertex, fullcenter();
else if(c == 'a') cheat(), history::save_end();
else println(hlog, "unknown move command: ", c);
}