public inbox for xconq-cvs@sourceware.org
help / color / mirror / Atom feed
* xconq/ /ChangeLog ernel/ai.c ernel/ai.h ernel/ ...
@ 2000-06-04  9:19 shebs
  0 siblings, 0 replies; only message in thread
From: shebs @ 2000-06-04  9:19 UTC (permalink / raw)
  To: xconq-cvs

CVSROOT:	/cvs/xconq
Module name:	xconq
Changes by:	shebs@sourceware.cygnus.com	00/06/04 09:19:03

Modified files:
	.              : ChangeLog 
	kernel         : ai.c ai.h cmdline.c conq.h init.c iplayer.c 
	                 kernel.h keyword.def kpublic.h module.c 
	                 mplayer.c read.c run.c score.c 
	mac            : macinit.c 
	tcltk          : tkconq.tcl tkinit.c tkmain.c 

Log message:
	More rewriting of variant handling and player setup.
	* keyword.def (indepside-has-ai, indepside-can-build,
	indepside-can-research, indepside-has-treasury): Comment out,
	will no longer define as variants.
	* ai.c, ai.h (next_ai_type_name): Rename from next_ai_type.
	(find_ai_type): New function.
	* cmdline.c (unixify_variant_name): Remove.
	(game_usage_info): Use variant ids as argument names.
	* kernel.h (set_ai_for_player, etc): Move here from conq.h.
	* init.c (make_up_a_side): Remove set of ingame, redundant.
	(set_ai_for_player): Warn about invalid AI types.
	* iplayer.c, mplayer.c: Remove decls now in ai.h.
	* kpublic.h: Rearrange some decls.
	* module.c (do_one_variant): Remove indepside variants.
	* read.c (force_all_variants): New global.
	(add_std_var): New function.
	(interp_variant_defns): Rewrite to use it for all variant
	setup.
	(add_more_variants): Remove, no longer needed.
	(interp_game_module): Call interp_variant_defns.
	* run.c (init_movement): Simplify code.
	* score.c (eval_sk_last_side_wins, eval_sk_last_alliance_wins):
	Don't require indepside to lose.
	(record_into_scorefile): Use a switch statement for variants.
	(score_variant_desc): Remove indepside variants.
	
	* macinit.c (interpret_variants, implement_variants): Remove
	indepside variants.
	(hit_player_setup_dialog): Use net_exchange_players.
	
	* tkconq.tcl (add_variants_dialog_items): Wrap help text by
	words.
	(add_player_dialog_items): Always create indepside entry but
	conditionalize packing, add indepside button, improve test of
	random/sidelib name button enabling.
	(popup_indepside, ok_indepside): New procs.
	* tkinit.c (init_display): Seed indepside globals.
	* tkmain.c (tk_set_indepside_options): New tcl command.
	(tk_set_ai_for_player): Interpret AI name passed directly.
	(interpret_variants): Remove indepside variants.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-06-04  9:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-04  9:19 xconq/ /ChangeLog ernel/ai.c ernel/ai.h ernel/ 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).