Update of /cvsroot/xconq/xconq/curses
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv18084/curses
Modified Files:
Tag: BRANCH_MCAMPO_PATH
ccmd.c
Log Message:
Add changelog (mcampo.README) for BRANCH_MCAMPO_PATH.
Add files necessary for A* pathfinder.
Modify kernel to accomodate pathfinder.
Change capture and hit-unit behavior.
Index: ccmd.c
===================================================================
RCS file: /cvsroot/xconq/xconq/curses/ccmd.c,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -d -r1.2 -r1.2.2.1
*** ccmd.c 6 Jun 2005 03:03:43 -0000 1.2
--- ccmd.c 8 Apr 2007 19:34:01 -0000 1.2.2.1
***************
*** 545,549 ****
sprintf(spbuf, "Move %s to where?", unit_handle(dside, curunit));
if (ask_position(spbuf, &x, &y)) {
! if (impl_move_to(side, curunit, x, y, 0)) {
return;
} else {
--- 545,549 ----
sprintf(spbuf, "Move %s to where?", unit_handle(dside, curunit));
if (ask_position(spbuf, &x, &y)) {
! if (impl_move_to(side, curunit, NULL, x, y, 0)) {
return;
} else {
|