mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-01-31 15:00:17 +00:00
updated to 10.0c
This commit is contained in:
5
cell.cpp
5
cell.cpp
@@ -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