mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
Merge pull request #271 from jruderman/nestcolors
Adjust Snake Nest colors so drawMonster can add them without overflowing to black
This commit is contained in:
commit
8ca6d3407a
@ -3367,7 +3367,9 @@ ld wavefun(ld x) {
|
||||
else return 0; */
|
||||
}
|
||||
|
||||
EX colortable nestcolors = { 0x800000, 0x008000, 0x000080, 0x404040, 0x700070, 0x007070, 0x707000, 0x606060 };
|
||||
// Color components in nestcolors must be less than 0x80 (for addition in drawMonster for Rock Snakes)
|
||||
// and must be divisible by 4 (for brightening of raised cells in celldrawer::setcolors)
|
||||
EX colortable nestcolors = { 0x7C0000, 0x007C00, 0x00007C, 0x404040, 0x700070, 0x007070, 0x707000, 0x606060 };
|
||||
|
||||
color_t floorcolors[landtypes];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user