Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: er...xbmtoxpm???
- To: crossfire (at) ifi.uio.no,
- Subject: Re: er...xbmtoxpm???
- From: (Raphael Quinet)
- Date: Wed, 23 Feb 94 08:59:05 +0100
> From: Mark Wedel <>
>
> XPM files should be convereted by hand for best look. However, this
> does create some problems:
>
> 1) Several archetypes may use the same face, and color it differently
> 2) This means that a unique face for each archetype that wants to color
> it differently is needed.
> 3) the color foregroudn and background elements in each object description
> now only become useful for magic mapping.
>
> None of these are great problems, but it will increase the number of
> XPM files.
>
There's no problem, because you can use symbolic names in XPM files.
Why not use the symbolic names "foreground" and "background" (or
"face_foreground" and "face_background") in every image? You can then
bind a value to the symbolic name at load time, by putting the desired
values in the XpmColorSymbol structure.
-Raphael