1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 15:00:26 +00:00

arg:: -grotate

This commit is contained in:
Zeno Rogue 2019-07-28 11:08:20 +02:00
parent ca76e7c217
commit 393f299074

View File

@ -158,6 +158,12 @@ int arg::readCommon() {
shift(); ld b = argf(); shift(); ld b = argf();
View = View * cspin(1, 2, M_PI * 2 * a / b); 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")) { else if(argis("-exit")) {
PHASE(3); printf("Success.\n"); PHASE(3); printf("Success.\n");
exit(0); exit(0);