fix tile colors, mem constant
This commit is contained in:
@ -82,7 +82,7 @@ func (t *Tile) GetChar() string {
|
||||
}
|
||||
|
||||
func (t *Tile) GetRawColor() uint32 {
|
||||
if t.Visible {
|
||||
if !t.Visible {
|
||||
return t.Appearance.ColorSet.Fg.GetColor()
|
||||
} else {
|
||||
return t.Appearance.ColorSet.DarkFg.GetColor()
|
||||
@ -90,7 +90,7 @@ func (t *Tile) GetRawColor() uint32 {
|
||||
}
|
||||
|
||||
func (t *Tile) GetRawBgColor() uint32 {
|
||||
if t.Visible {
|
||||
if !t.Visible {
|
||||
return t.Appearance.ColorSet.Bg.GetColor()
|
||||
} else {
|
||||
return t.Appearance.ColorSet.DarkBg.GetColor()
|
||||
@ -182,11 +182,11 @@ func NewWaterTile() *Tile {
|
||||
Bg: &DanceColorHolder{
|
||||
255,
|
||||
singleColorRing(19),
|
||||
fillColorRing(19, 0, 15, 2),
|
||||
fillColorRing(70, 120, 220, 12),
|
||||
fillColorRing(22, 2, 42, 4),
|
||||
fillColorRing(204, 180, 229, 12),
|
||||
},
|
||||
DarkFg: &PlainColorHolder{255, 30, 20, 50 },
|
||||
DarkBg: &PlainColorHolder{255, 7, 7, 30},
|
||||
DarkBg: &PlainColorHolder{255, 7, 7, 80},
|
||||
},
|
||||
},
|
||||
}
|
||||
@ -209,11 +209,11 @@ func NewDeepWaterTile() *Tile {
|
||||
Bg: &DanceColorHolder{
|
||||
255,
|
||||
singleColorRing(5),
|
||||
fillColorRing(2,2,42,4),
|
||||
fillColorRing(154, 150, 229, 12),
|
||||
fillColorRing(2,0,15,2),
|
||||
fillColorRing(154, 120, 180, 5),
|
||||
},
|
||||
DarkFg: &PlainColorHolder{255, 30, 20, 50},
|
||||
DarkBg: &PlainColorHolder{255, 7, 7, 30},
|
||||
DarkBg: &PlainColorHolder{255, 7, 7, 80},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user