CLI option -cview

This commit is contained in:
Zeno Rogue 2022-06-23 09:33:58 +02:00
parent 61fcf62727
commit e691c63abe
1 changed files with 4 additions and 0 deletions

View File

@ -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);