1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-08 16:12:06 +00:00

CLI option -cview

This commit is contained in:
Zeno Rogue
2022-06-23 09:33:58 +02:00
parent 61fcf62727
commit e691c63abe
+4
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);