CLI option -grotatei

This commit is contained in:
Zeno Rogue committed 2023-03-16 14:43:14 +01:00
1 parent ad90aecee7
commit 5473c1645c
1 file changed
+7
+7
View File
@@ -289,6 +289,13 @@ int arg::readCommon() {
shift(); View = View * cspin(i, j, argf());
playermoved = false;
}
else if(argis("-grotatei")) {
PHASE(3); start_game();
shift(); int i = argi();
shift(); int j = argi();
shift(); rotate_view(cspin(i, j, argf()));
playermoved = false;
}
else if(argis("-cview")) {
PHASE(3); start_game();
View = Id;