mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
arg:: -grotate
This commit is contained in:
parent
ca76e7c217
commit
393f299074
@ -158,6 +158,12 @@ int arg::readCommon() {
|
||||
shift(); ld b = argf();
|
||||
View = View * cspin(1, 2, M_PI * 2 * a / b);
|
||||
}
|
||||
else if(argis("-grotate")) {
|
||||
PHASE(3); start_game();
|
||||
shift(); int i = argi();
|
||||
shift(); int j = argi();
|
||||
shift(); View = View * cspin(i, j, argf());
|
||||
}
|
||||
else if(argis("-exit")) {
|
||||
PHASE(3); printf("Success.\n");
|
||||
exit(0);
|
||||
|
Loading…
Reference in New Issue
Block a user