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/history.def kernel/ac ... Date: Thu, 28 Dec 2000 07:10:00 -0000 Message-id: <20001228151046.4873.qmail@sourceware.cygnus.com> X-SW-Source: 2000/msg00700.html List-Id: CVSROOT: /cvs/xconq Module name: xconq Changes by: shebs@sources.redhat.com 2000-12-28 07:10:46 Modified files: . : ChangeLog kernel : history.def actions.c combat.c nlang.c game.h ai.c init.c Log message: Add more feedback for action failures. * history.def (occ-cannot-do, attack-cannot-hit, overrun-cannot-hit, fire-cannot-hit, extract-no-source): New event types. * actions.c (check_extract_action): Use one. * combat.c (check_attack_action, check_overrun_action, check_fire_at_action, check_fire_into_action, check_capture_action): Ditto. * nlang.c (action_result_desc): Describe new event types. * actions.c (check_add_terrain_action, check_remove_terrain_action): Return A_ANY_TOO_FAR instead of A_ANY_ERROR if too far. * combat.c (check_capture_action, check_detonate_action): Ditto. * game.h (could_develop): New macro. * actions.c (check_develop_action): Use it. (check_create_common): Use could_create. (any_construction_possible): Ditto. * ai.c (build_depot_for_self, needs_develop): Use could_create. * init.c (cache_possible_types): Ditto.