mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-13 20:27:10 +00:00
colorize for gSeifertCover
This commit is contained in:
@@ -737,6 +737,10 @@ EX color_t colorize(cell *c, char whichCanvas) {
|
|||||||
co = told(reg3::decode_coord(c->master->fieldval)), dim = 4;
|
co = told(reg3::decode_coord(c->master->fieldval)), dim = 4;
|
||||||
for(int a=0; a<4; a++) if(co[a] > 4) co[a] -= 8;
|
for(int a=0; a<4; a++) if(co[a] > 4) co[a] -= 8;
|
||||||
}
|
}
|
||||||
|
else if(geometry == gSeifertCover) {
|
||||||
|
int i = c->master->fieldval;
|
||||||
|
for(int a=0; a<3; a++) co[a] = i%5, i /= 5;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
else if(euclid) {
|
else if(euclid) {
|
||||||
auto tab = euc::get_ispacemap()[c->master];
|
auto tab = euc::get_ispacemap()[c->master];
|
||||||
|
|||||||
Reference in New Issue
Block a user