mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-27 01:14:52 +00:00
angles now can be given in quarterturns
This commit is contained in:
parent
5022b76d75
commit
4d57041c9f
1
util.cpp
1
util.cpp
@ -488,6 +488,7 @@ ld angle_unit(char ch) {
|
|||||||
if(ch == 'r') return 1;
|
if(ch == 'r') return 1;
|
||||||
if(ch == 'd') return degree;
|
if(ch == 'd') return degree;
|
||||||
if(ch == 't') return TAU;
|
if(ch == 't') return TAU;
|
||||||
|
if(ch == 'q') return TAU/4;
|
||||||
if(ch == 'l') return -1;
|
if(ch == 'l') return -1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user