mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-29 20:14:30 +00:00
updated to 10.0c
This commit is contained in:
1 parent
ce5650a81f
commit
8cb8e2a3ec
45 files changed
+2383
-1358
No files matched your search
@@ -664,6 +664,11 @@ cell *cwpeek(cellwalker cw, int dir) {
|
||||
return createMov(cw.c, (cw.spin+420+dir) % cw.c->type);
|
||||
}
|
||||
|
||||
void cwmirrorat(cellwalker& cw, int d) {
|
||||
cw.spin = (d+d - cw.spin + 420) % cw.c->type;
|
||||
cw.mirrored = !cw.mirrored;
|
||||
}
|
||||
|
||||
void cwstep(cellwalker& cw) {
|
||||
createMov(cw.c, cw.spin);
|
||||
int nspin = cw.c->spn(cw.spin);
|
||||
|
||||
Reference in new issue
Block a user