This is the mail archive of the
xconq-cvs@sources.redhat.com
mailing list for the Xconq project.
xconq ./ChangeLog kernel/kernel.h kernel/kpubl ...
- To: xconq-cvs at sourceware dot cygnus dot com
- Subject: xconq ./ChangeLog kernel/kernel.h kernel/kpubl ...
- From: shebs at sourceware dot cygnus dot com
- Date: 14 Jul 2000 15:55:39 -0000
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@sourceware.cygnus.com 2000-07-14 08:55:39
Modified files:
. : ChangeLog
kernel : kernel.h kpublic.h tp.c world.c mkterr.c
mac : macdesign.c
tcltk : tkconq.h tkconq.tcl tkmain.c tkmap.c
Log message:
* kernel/Makefile.in, tcltk/Makefile.in: Add dependencies on
kernel.h and kpublic.h.
* world.c, kernel.h (paint_elevation): Add code (set vs modify)
and random variation args.
(fix_elevations): New function.
* tp.c, kpublic.h (net_paint_elevation): Similarly.
(broadcast_layer_change): Add an argument.
(receive_world_prop): Handle extra argument in packet.
* mkterr.c (set_edge_terrrain): New function, generalizes
add_edge_terrain to control mods of edge terrain.
(set_edge_elevation): New function, split out from set_edge_values.
* macdesign.c (apply_designer_tool, paint_on_drag): Fix usages
of net_paint_elevation.
* tkconq.h (UI curelevationcode, curelevationvary): New fields.
* tkconq.tcl (popup_design_palette): Add close button.
(make_elev_paint_frame): Rewrite to support random vary and
elevation fixing, plus give better feedback.
(set_elevation, etc): Pass additional random vary arg.
(dbg_set_design_data): Update elevation painting feedback.
* tkmain.c (tk_designer_fix): New tcl command.
(tk_set_design_data): Handle random vary value.
* tkmap.c (paint_elev_code, paint_elev_vary): New globals.
(handle_designer_mouse_down): Set them, call net_paint_elevation
with new args.
(paint_on_drag): Similarly.
* tkmap.c (move_the_selected_unit): Beep if advance_into_cell
fails.