From mboxrd@z Thu Jan 1 00:00:00 1970 From: shebs@sourceware.cygnus.com To: xconq-cvs@sourceware.cygnus.com Subject: xconq ./ChangeLog kernel/conq.h kernel/cmd.c k ... Date: Tue, 15 Aug 2000 09:11:00 -0000 Message-id: <20000815161132.32562.qmail@sourceware.cygnus.com> X-SW-Source: 2000/msg00376.html List-Id: 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.