public inbox for xconq-cvs@sourceware.org
help / color / mirror / Atom feed
* xconq ./ChangeLog tcltk/tkconq.tcl tcltk/tkmai ...
@ 2000-08-08 10:33 shebs
0 siblings, 0 replies; 2+ messages in thread
From: shebs @ 2000-08-08 10:33 UTC (permalink / raw)
To: xconq-cvs
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@sourceware.cygnus.com 2000-08-08 10:33:38
Modified files:
. : ChangeLog
tcltk : tkconq.tcl tkmain.c tkmap.c
Log message:
* tkconq.tcl (create_map_window): Add a line to unitinfo, rename
last line of second column from "s3" to "aux0".
* tkmain.c (draw_unit_info): Share aux0 between supply (if needed)
and tooling.
(update_unit_acp_display): Call update_unit_display.
* tkmap.c (draw_unit): Remove redundant show_all test.
(draw_current): Handle show_all case.
^ permalink raw reply [flat|nested] 2+ messages in thread
* xconq ./ChangeLog tcltk/tkconq.tcl tcltk/tkmai ...
@ 2000-09-09 22:45 shebs
0 siblings, 0 replies; 2+ messages in thread
From: shebs @ 2000-09-09 22:45 UTC (permalink / raw)
To: xconq-cvs
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@sourceware.cygnus.com 2000-09-09 22:45:40
Modified files:
. : ChangeLog
tcltk : tkconq.tcl tkmain.c
kernel : ai.c cmd.c cmdline.c init.c kernel.h kpublic.h
module.c module.h read.c run.c side.h task.c
tp.c tp.h write.c
Log message:
Random rewrites and reorgs resolving remote networking bugs.
* ai.c (init_ai): Fill in side->rai for remote AIs.
(set_side_ai): Simplify, and add feedback on results.
(run_local_ais, run_ai_plan_adjust): Move here from run.c,
test taskexecs instead of need_ai_task_reaction.
* cmd.c (do_ai_side): Fix player feedback to reflect that
network roundup may be necessary before state changes.
* cmdline.c (option_width, option_height, option_circumference):
New globals.
(parse_world_option): Set these instead of pushing a variant.
(set_variants_from_options): Call net_set_variant_value instead
of pushing variant settings.
(find_variant_from_name): New function.
* init.c (start_player_pre_setup_stage): Call do_module_variants.
(final_init): Report more data structure sizes.
* kernel.h (set_variant_value): Declare.
* kpublic.h (net_set_variant_value): Declare.
* module.h (Variant newvalues): New field, array of new settings
for variant.
* module.c (create_game_module): Store a copy of the module name.
(set_variant_value): Move here from tkmain.c.
(do_one_variant): Fill from newvalues fields.
* read.c (interp_variant_defns, add_std_var): Fill in newvalues
fields.
* run.c (latest_action_x, latest_action_y): New globals.
(num_local_ais): Move to ai.c.
(need_ai_task_reaction): Remove, use taskexecs instead.
(save_run_state, clear_task_outcomes): New functions.
(run_game): Call them.
(move_one_unit_multiple): Replace need_ai_task_reaction test
with last_task_outcome and AI usage test.
(run_side_research, run_construction): Test local AI instead
of AI in general (dubious).
* side.h (Side rai): New field.
(side_has_ai): Test both local and remote AI.
(side_has_local_ai): New macro.
* task.c (execute_task): Rework recording of task outcome.
* tp.h (RAI): New struct, placeholder "remote AI".
* tp.c: Change run warnings into notices.
(net_set_variant_value): New function.
(receive_variant_settings): Allow at most three values.
* write.c (write_side_properties): Only write AI state for
local AIs (dubious).
* tkconq.tcl: Rewrite variant handling to do more work in
kernel.
(set_variant_value_cmd): New proc, replaces broadcast_variant_value.
(set_variants): Do less.
(add_world_size_dialog_items): Comment out lat/lon items.
(insert_chat_string): Test for existence of window before insert.
* tkmain.c: Rewrite for variants also.
(send_value_value, implement_variants): Remove tcl commands.
(tk_set_variant_value): Rewrite to pass along to kernel.
(interpret_variants): Rewrite.
(set_variant_world_size, set_variant_real_time): Remove,
handled uniformly in kernel.
(update_variant_setting): Rewrite.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-09-09 22:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-08 10:33 xconq ./ChangeLog tcltk/tkconq.tcl tcltk/tkmai shebs
2000-09-09 22:45 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).