public inbox for xconq-cvs@sourceware.org
help / color / mirror / Atom feed
* xconq/ /ChangeLog cltk/tkcmd.c cltk/tkconq.h c ...
@ 2000-03-27 8:57 shebs
0 siblings, 0 replies; 4+ messages in thread
From: shebs @ 2000-03-27 8:57 UTC (permalink / raw)
To: xconq-cvs
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@sourceware.cygnus.com 00/03/27 08:57:18
Modified files:
. : ChangeLog
tcltk : tkcmd.c tkconq.h tkconq.tcl tkinit.c tkmain.c
tkmap.c
Added files:
bitmaps : scursdown.b scursdownm.b scursleft.b
scursleftm.b scursright.b scursrightm.b
scursup.b scursupm.b
Log message:
* tkconq.h (enum mapmode): New values no_scroll_mode,
scroll_up_mode, etc.
(Map): New field scrollmode.
* tkconq.tcl (make_unit_paint_frame): Include emblems in
unit image sample.
(dbg_set_design_data): Update unit paint frame emblem.
(make_feature_paint_frame): Rewrite to make feature renaming
an integral part of paint frame instead of a dialog.
(update_feature_name_entry): New proc.
(new_feature): Don't tweak popup's label here.
* tkinit.c: Include new scroll cursor bitmaps.
(init_cursors): Use them.
* tkmain.c (tk_feature_desc): New tcl command.
(tk_feature_info, tk_set_feature_info): Rename from
..._feature_name, extend to get/set type name also.
(tk_create_new_feature): Recalc feature-related caches.
(update_mouseover): Set map->scrollmode also.
* tkmap.c (draw_row): Wrap x before passing to subrs.
(draw_feature_boundary): Wrap x before using.
(set_tool_cursor): Set cursor to a scroll cursor if in
map is scrolling.
* bitmaps/scursdown.b, bitmaps/scursdownm.b, bitmaps/scursleft.b,
bitmaps/scursleftm.b, bitmaps/scursright.b, bitmaps/scursrightm.b,
bitmaps/scursup.b, bitmaps/scursupm.b: New files, bitmaps
indicating autoscroll direction.
^ permalink raw reply [flat|nested] 4+ messages in thread
* xconq/ /ChangeLog cltk/tkcmd.c cltk/tkconq.h c ...
@ 2000-04-10 7:43 shebs
0 siblings, 0 replies; 4+ messages in thread
From: shebs @ 2000-04-10 7:43 UTC (permalink / raw)
To: xconq-cvs
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@sourceware.cygnus.com 00/04/10 07:43:29
Modified files:
. : ChangeLog
tcltk : tkcmd.c tkconq.h tkconq.tcl tkmain.c tkmap.c
Log message:
* tkconq.h: Include sys/time.h here instead of in tkmain.c.
(Map): Make scroll mode and last raw x,y into 2-element arrays,
add autoscroll_delaying and autoscroll_start_time arrays.
* tkconq.tcl (create_map_menus): Label meridian interval menu
items in degrees.
(autoscroll): Add argument, remove w_autoscroll proc.
* tkmain.c (autoscroll_delay): New global.
(autoscroll_width): Reduce to 16 pixels.
(autoscroll): New function, autoscrolls both main and world maps,
also don't try to scroll if at edge of map.
(update_mouseover, update_world_mouseover): Use it.
* tkmap.c (set_tool_cursor): Add argument.
(set_w_tool_cursor): Remove.
* tkcmd.c, tkmain.c: Change all callers.
^ permalink raw reply [flat|nested] 4+ messages in thread
* xconq/ /ChangeLog cltk/tkcmd.c cltk/tkconq.h c ...
@ 1999-10-30 7:56 shebs
0 siblings, 0 replies; 4+ messages in thread
From: shebs @ 1999-10-30 7:56 UTC (permalink / raw)
To: xconq-cvs
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@sourceware.cygnus.com 99/10/30 07:56:58
Modified files:
. : ChangeLog
tcltk : tkcmd.c tkconq.h tkconq.tcl tkinit.c tkmain.c
tkmap.c
Log message:
* tkcmd.c, tkinit.c, tkmain.c, tkmap.c: Use is_designer instead of
side->designer everywhere.
(do_map): Improve an error message.
* tkinit.c (init_ui): Set dside here, warn if trying to open
more than one display.
* tkconq.h (ui_init): Remove decl.
* tkmain.c (ui_init): Remove, fold parts into launch_game_2.
(grok_string, etc): Enclose strings in braces when passing to tcl.
* tkmap.c (draw_units, draw_unit_and_occs): Use unit_visible and
occupants_visible.
^ permalink raw reply [flat|nested] 4+ messages in thread
* xconq/ /ChangeLog cltk/tkcmd.c cltk/tkconq.h c ...
@ 1999-07-13 20:26 shebs
0 siblings, 0 replies; 4+ messages in thread
From: shebs @ 1999-07-13 20:26 UTC (permalink / raw)
To: xconq-cvs
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-04-10 7:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-27 8:57 xconq/ /ChangeLog cltk/tkcmd.c cltk/tkconq.h c shebs
-- strict thread matches above, loose matches on Subject: below --
2000-04-10 7:43 shebs
1999-10-30 7:56 shebs
1999-07-13 20:26 shebs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).