CivOne icon indicating copy to clipboard operation
CivOne copied to clipboard

In Civilpedia pages, unit and building icons drawn with problem colors

Open fire-eggs opened this issue 6 years ago • 4 comments
trafficstars

Capture

Appears to be units which show "skin": diplomat, legion

fire-eggs avatar Jun 09 '19 20:06 fire-eggs

Microprose: image

fire-eggs avatar Jul 25 '19 20:07 fire-eggs

Similar issues when drawing the encyclopedia:

Civ One: image

Microprose: image

CivOne is failing to replace pink with "flesh" and something else with black

fire-eggs avatar Jul 29 '19 23:07 fire-eggs

Initial attempts to fix this have been difficult.

The graphic that goes with the page appears to have a palette conflict with the (e.g.) unit icon. I.e. I can set the palette so the icon looks good, but then the main graphic looks like crap.

E.g. Palette = Resources["SP257"].Palette; will make the icon look good.

In the reports such as the military report, or on the map screen, the icons look good because they have been explicitly drawn, e.g. unit.ToBitmap().

Need to understand palettes / colors better.

fire-eggs avatar Nov 03 '19 01:11 fire-eggs

"SP257.PIC", "SP257.PAL" - seems to be for some graphics there is also palette

iegik avatar Sep 30 '21 10:09 iegik