From e691c63abea442023a97d20d3aa12e50fbd144c3 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 23 Jun 2022 09:33:58 +0200 Subject: [PATCH] CLI option -cview --- commandline.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commandline.cpp b/commandline.cpp index 8b49223c..318f0b35 100644 --- a/commandline.cpp +++ b/commandline.cpp @@ -282,6 +282,10 @@ int arg::readCommon() { shift(); int j = argi(); shift(); View = View * cspin(i, j, argf()); } + else if(argis("-cview")) { + PHASE(3); start_game(); + View = Id; + } else if(argis("-exit")) { PHASE(3); printf("Success.\n"); exit(0);