This is the mail archive of the
xconq-cvs@sourceware.cygnus.com
mailing list for the Xconq project.
xconq/ /ChangeLog ernel/imf.c ernel/imf.h ib/t ...
- To: xconq-cvs@sourceware.cygnus.com
- Subject: xconq/ /ChangeLog ernel/imf.c ernel/imf.h ib/t ...
- From: shebs@sourceware.cygnus.com
- Date: 26 Jun 1999 01:25:59 -0000
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@egcs.cygnus.com 99/06/25 18:25:59
Modified files:
. : ChangeLog
kernel : imf.c imf.h
lib : terrain.imf
tcltk : tkimf.c tkmap.c
Added files:
images : sea.gif stdt44x48.gif
Log message:
Add support for terrain images.
* imf.h (Image numsubimages, subx, suby): New slots.
* imf.c (interp_image): Fill in from "x" property.
(make_image_from_file_image): Get offsets from filedata, add
ability to collect multiple images for a normal image, use
copy_from_file_image for build all types of subimages.
(copy_from_file_image): New function, extract image/subimage
data from a file image (tileset).
* tkimf.c (tk_interp_image): Call for generic subimages.
* tkmap.c (draw_terrain_row): Draw terrain images.
* terrain.imf: Add offsets, references to stdt44x48.gif.
* images/stdt44x48.gif: New file, GIF of standard terrain types.
* images/sea.gif: New file, GIF with sea pattern.
* tkmap.c (draw_map_outline): Fix typo.