From 5473c1645c6859bb68bd20b2251e40a496f70f58 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 16 Mar 2023 14:43:14 +0100 Subject: [PATCH] CLI option -grotatei --- commandline.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/commandline.cpp b/commandline.cpp index d181e5d1..38df9b59 100644 --- a/commandline.cpp +++ b/commandline.cpp @@ -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;