From 2eef87c8970db643c4ef09e0fd9e8110c8193043 Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Sat, 20 Feb 2021 00:11:23 +0100 Subject: finish condition and bad cost function --- gst/units.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/units.h') diff --git a/gst/units.h b/gst/units.h index 615eaa7..8e78d8d 100644 --- a/gst/units.h +++ b/gst/units.h @@ -34,8 +34,8 @@ void army_grid_init(army *ar); void army_init (army *ar, map *m); void army_destory(army *ar); void army_spawn (army *ar, map *m, unit u); -void army_move (infos *info, army *ar, map *m); -void army_fire (infos *info, army *ar, map *m); +int army_move (infos *info, army *ar, map *m); +int army_fire (infos *info, army *ar, map *m); void army_upkeep (infos *info, army *ar, map *m); #endif \ No newline at end of file -- cgit v1.2.3-54-g00ecf