This is the mail archive of the xconq7@sourceware.cygnus.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Real Images!


I'm pleased to be able to announce a major upgrade to Xconq's
graphics.  First, Xconq can now read in GIFs directly, by using a
`(file "foo.gif")' clause in the .imf file.  More importantly, it can
get several images from a single gif, and can have any number of
transparent colors.

I've also checked in the code that applies all this to a very cool
case - the display of rivers, roads, and other linear terrain.  For
border types like rivers, you use a gif that includes 16 fragments
that the display assembles into a continuous border, while for
connection types like roads, you have a large gif that includes 64
images, one for each combination of roads on the six sides of a cell.
These are real images, not patterns, so you have to have more of them
(if you don't, Xconq falls back to the old drawing methods), but in
exchange you get much better-looking games!

So far this is only implemented in the tcl/tk interface, although the
code is mostly generic and supporting for Mac would be easy.
Usagewise, there should be no change, unless you use -L to point to an
uninstalled library (/lib); you'll now need to add another -L to point
to an uninstalled image library (/images).

Next up for enhancement: cell terrain images and transitions.

								Stan

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]