This is the mail archive of the
xconq-cvs@sources.redhat.com
mailing list for the Xconq project.
xconq ./ChangeLog kernel/conq.h kernel/cmd.c k ...
- To: xconq-cvs at sourceware dot cygnus dot com
- Subject: xconq ./ChangeLog kernel/conq.h kernel/cmd.c k ...
- From: shebs at sourceware dot cygnus dot com
- Date: 15 Aug 2000 16:11:32 -0000
CVSROOT: /cvs/xconq
Module name: xconq
Changes by: shebs@sourceware.cygnus.com 2000-08-15 09:11:32
Modified files:
. : ChangeLog
kernel : conq.h cmd.c ui.c ui.h nlang.c
mac : maccmd.c macconq.h
curses : ccmd.c
tcltk : tkcmd.c
Log message:
Make still more commands generic.
* cmd.c (do_reserve, do_one_reserve, do_return, do_one_return,
do_sleep, do_one_sleep, do_take, do_one_take): New functions,
adapted from interface-specific versions.
* ccmd.c, maccmd.c, macconq.h, tkcmd.c: Remove interface-specific
versions of these.
* cmd.c (do_give): Test for material types.
(do_one_give): Call report_give.
(do_release): Add more validity tests and more feedback.
* nlang.c, conq.h (make_text): Remove, no longer used.
(report_give): New function.
* ui.c, ui.h (give_supplies): Return recipient of supplies,
add more searching for units to give to.
(advance_into_cell): Simplify structure slightly.