mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-08 03:36:43 +00:00
better gp tiles unification in floorshapes
This commit is contained in:
parent
3906e11d92
commit
e9ab4bf2dd
@ -538,11 +538,11 @@ namespace gp {
|
||||
int siid, sidir;
|
||||
if(geosupport_threecolor() == 2) {
|
||||
auto si = patterns::getpatterninfo(c, patterns::PAT_COLORING, 0);
|
||||
siid = si.id>>2;
|
||||
siid = (si.id>>2) ? 1 : 0;
|
||||
// if(siid == 2) si.dir++;
|
||||
// if(siid != pattern_threecolor(c)) printf("threecolor mismatch\n");
|
||||
// if(pattern_threecolor(createMov(c, fixdir(si.dir, c))) != (siid+1)%3) printf("threecolor mismatch direction\n");
|
||||
sidir = fixdir(si.dir, c);
|
||||
sidir = (fixdir(si.dir, c)) & 1;
|
||||
}
|
||||
else if(geosupport_graveyard() == 2) {
|
||||
siid = !pseudohept(c);
|
||||
|
Loading…
x
Reference in New Issue
Block a user