This is the mail archive of the
xconq-cvs@sourceware.cygnus.com
mailing list for the Xconq project.
xconq/ /ChangeLog cltk/tkcmd.c cltk/tkconq.h c ...
- To: xconq-cvs@sourceware.cygnus.com
- Subject: xconq/ /ChangeLog cltk/tkcmd.c cltk/tkconq.h c ...
- From: shebs@sourceware.cygnus.com
- Date: 14 Jul 1999 03:26:16 -0000
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@egcs.cygnus.com 99/07/13 20:26:15
Modified files:
. : ChangeLog
tcltk : tkcmd.c tkconq.h tkimf.c tkinit.c tkmain.c
tkmap.c
Log message:
* tkconq.h (Map terrain_images, terrain_patterns): New slots,
replace terrain_style.
(Map unit_style): Delete, no longer used.
* tkcmd.c (do_map): Rename terrain style options.
* tkimf.c (tk_interp_image): Add subimage argument, rewrite
to allocate space for subimages if necessary.
(tk_interp_image_1): New function, was tk_interp_image, but
now operates on subimages.
(tk_make_color_pixmap, etc): Add start/end prints.
(blacken_masked_area, blacken_mono_masked_area): Fix calculations.
* tkinit.c (init_ui): Get preferences here.
* tkmain.c (default_vp): New global, holder for game defaults.
(tk_save_prefs): New tcl command.
(ui_update_state, get_preferences, interp_unix_ui_data): New.
(create_map): Set map->terrain_images.
* tkmap.c (mapw_cmd): Set view values from defaults.
(set_terrain_gc_for_image): Simplify, only do if terrain_patterns
enabled.
(draw_terrain_row): Handle !use_clip_mask cases better.
(draw_units): Draw dotdotdot when !use_clip_mask.
(draw_current): Fix for windows, make only two pixels wide
normally.
(draw_blast_image): Fix for windows.
(draw_unit_image): Fix mono image handling.
(draw_side_emblem): Make work for !use_clip_mask.