public inbox for xconq-cvs@sourceware.org
help / color / mirror / Atom feed
From: shebs@sourceware.cygnus.com
To: xconq-cvs@sourceware.cygnus.com
Subject: xconq ./ChangeLog kernel/ai.h kernel/ai.c kern ...
Date: Mon, 27 Nov 2000 07:33:00 -0000	[thread overview]
Message-ID: <20001127153323.5126.qmail@sourceware.cygnus.com> (raw)

CVSROOT:	/cvs/xconq
Module name:	xconq
Changes by:	shebs@sources.redhat.com	2000-11-27 07:33:22

Modified files:
	.              : ChangeLog 
	kernel         : ai.h ai.c config.h iplayer.c mplayer.c 
	                 oplayer.c 
	mac            : macmenus.c 

Log message:
	Remove wired-in list of AI types.
	* config.h (numaitypes): Remove.
	(MAXAITYPES): New macro.
	* ai.h (enum AIType): Remove.
	(AI_ops): Move back to here from conq.h.
	(Strategy type): Remove field.
	* ai.c (mplayer_ops, iplayer_ops, oplayer_ops): Remove.
	(numaitypes): New global.
	(all_ai_ops): Make static array of ops, instead of pointers to ops.
	(init_ai_types): Call registration functions.
	(ai_type_name): Re-enable.
	(next_ai_type_name, ai_type_help, etc): Fix refs to all_ai_ops.
	(next_ai_type_name, init_ai, etc): Fix AI type iteration.
	* iplayer.c (register_iplayer): New function.
	(iplayer_ops): Remove.
	(iplayer_create_strategy): Don't init type.
	* mplayer.c (register_mplayer): New function.
	(mplayer_ops): Remove.
	(mplayer_create_strategy): Don't init type.
	* oplayer.c (register_oplayer): New function.
	(oplayer_ops): Remove.
	(oplayer_create_strategy): Don't init type.
	
	* macmenus.c (build_ai_type_menu): Use next_ai_type_name to
	iterate over AI types.
	(adjust_menus): Iterate over AI type menu entries instead of
	using numaitypes.
	
	* ai.c (ai_go_after_victim, etc): Don't assume mplayer in debug
	output.
	(unit_strength): Remove, never used.


                 reply	other threads:[~2000-11-27  7:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001127153323.5126.qmail@sourceware.cygnus.com \
    --to=shebs@sourceware.cygnus.com \
    --cc=xconq-cvs@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).