ttyborg / castlesand

Automatically exported from code.google.com/p/castlesand
0 stars 0 forks source link

Disabled images should not be totaly black #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A disabled image should be blended with 50% (guessed) grey rather than
making it totally black.

A good example is the school, where the left and right units should be
greyed not totally blacked out. Same thing for the unit icon in unoccupied
houses.

I don't understand the OpenGL functions, so you should do this.

Original issue reported on code.google.com by lewinjh@gmail.com on 3 Jan 2009 at 4:39

GoogleCodeExporter commented 9 years ago
Issue fixed, see RenderUI TRenderUI.WritePic for some explanation.

Original comment by kromster80@gmail.com on 5 Jan 2009 at 10:15