CLI option -grotatei

This commit is contained in:
Zeno Rogue 2023-03-16 14:43:14 +01:00
parent ad90aecee7
commit 5473c1645c
1 changed files with 7 additions and 0 deletions

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;