Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: er...xbmtoxpm???



> From: Mark Wedel <master@rahul.net>
> 
>  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