mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-05 00:41:43 +00:00
set dx=1
This commit is contained in:
@@ -221,7 +221,7 @@ namespace torusconfig {
|
|||||||
// values as the default -- otherwise the three-color
|
// values as the default -- otherwise the three-color
|
||||||
// pattern breaks. Also, they should have no common
|
// pattern breaks. Also, they should have no common
|
||||||
// prime divisor.
|
// prime divisor.
|
||||||
int qty = 127*3, dx = -1, dy = 11*2;
|
int qty = 127*3, dx = 1, dy = -11*2;
|
||||||
}
|
}
|
||||||
|
|
||||||
int decodeId(heptagon* h);
|
int decodeId(heptagon* h);
|
||||||
@@ -724,7 +724,7 @@ void verifycells(heptagon *at) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int eupattern(cell *c) {
|
int eupattern(cell *c) {
|
||||||
if(torus) return decodeId(c->master) % 3;
|
if(torus) return (decodeId(c->master)*2) % 3;
|
||||||
eucoord x, y;
|
eucoord x, y;
|
||||||
decodeMaster(c->master, x, y);
|
decodeMaster(c->master, x, y);
|
||||||
short z = (short(y+2*x))%3;
|
short z = (short(y+2*x))%3;
|
||||||
|
|||||||
+2
-2
@@ -1002,8 +1002,8 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
|
|
||||||
if(torus) {
|
if(torus) {
|
||||||
int pid = decodeId(c->master);
|
int pid = decodeId(c->master);
|
||||||
if(pid == 381/3) c->wall = waCharged;
|
if(pid == torusconfig::qty/3) c->wall = waCharged;
|
||||||
if(pid == 381*2/3) c->wall = waGrounded;
|
if(pid == torusconfig::qty*2/3) c->wall = waGrounded;
|
||||||
}
|
}
|
||||||
else if(euclid) {
|
else if(euclid) {
|
||||||
eucoord x, y;
|
eucoord x, y;
|
||||||
|
|||||||
Reference in New Issue
Block a user