1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-20 23:54:49 +00:00

torus movement

This commit is contained in:
Zeno Rogue
2017-12-27 06:31:47 +01:00
parent 65dd903b2f
commit f6fa051eab
3 changed files with 106 additions and 75 deletions

View File

@@ -19,6 +19,7 @@ int eupattern(cell *c) {
}
int eupattern4(cell *c) {
if(torus) return 0;
eucoord x, y;
decodeMaster(c->master, x, y);
return (x&1) + ((y&1)) * 2;