mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
chessboard/threecolor pattern for CA
This commit is contained in:
parent
71513369ea
commit
4cbffbd8df
@ -143,12 +143,22 @@ void celldrawer::setcolors() {
|
||||
case laCrossroads2: case laCrossroads3: case laCrossroads4: case laCrossroads5:
|
||||
case laRose: case laPower: case laWildWest: case laHalloween: case laRedRock:
|
||||
case laDragon: case laStorms: case laTerracotta: case laMercuryRiver:
|
||||
case laDesert: case laKraken: case laDocks: case laCA:
|
||||
case laDesert: case laKraken: case laDocks:
|
||||
case laMotion: case laGraveyard: case laWineyard: case laLivefjord:
|
||||
case laRlyeh: case laHell: case laCrossroads: case laJungle:
|
||||
case laAlchemist: case laFrog:
|
||||
fcol = floorcolors[c->land]; break;
|
||||
|
||||
case laCA:
|
||||
fcol = floorcolors[c->land];
|
||||
if(geosupport_chessboard()) {
|
||||
if(chessvalue(c)) fcol += 0x202020;
|
||||
}
|
||||
else if(geosupport_threecolor()) {
|
||||
fcol += 0x202020 * pattern_threecolor(c);
|
||||
}
|
||||
break;
|
||||
|
||||
case laWet:
|
||||
fcol = 0x40FF40; break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user