diff options
Diffstat (limited to 'src/modules/modAI.c')
| -rw-r--r-- | src/modules/modAI.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/modules/modAI.c b/src/modules/modAI.c index f084933..63b94c8 100644 --- a/src/modules/modAI.c +++ b/src/modules/modAI.c @@ -48,6 +48,9 @@ alternative_t *cloneAlternative(alternative_t * p, int route, int x, int y) assert(p != NULL); + UNUSET(x); + UNUSET(y); + new = newAlternative(route, p->x, p->y); new->first = p->first; new->step = p->step; @@ -118,6 +121,7 @@ void destroyAlternative(alternative_t * p) static void cmd_ai(char *line) { + UNUSET(line); } int init(export_fce_t * p) @@ -130,6 +134,11 @@ int init(export_fce_t * p) #ifndef PUBLIC_SERVER int draw(int x, int y, int w, int h) { + UNUSET(x); + UNUSET(y); + UNUSET(w); + UNUSET(h); + return 0; } #endif @@ -158,6 +167,8 @@ static void shotTux(arena_t * arena, tux_t * tux_ai, tux_t * tux_rival) int x_rival, y_rival; int w, h; + UNUSET(arena); + export_fce->fce_tux_get_proportion(tux_ai, &x_ai, &y_ai, &w, &h); export_fce->fce_tux_get_proportion(tux_rival, &x_rival, &y_rival, &w, &h); @@ -325,6 +336,9 @@ static void tux_eventAI(tux_t * tux) static void action_tuxAI(space_t * space, tux_t * tux, void *p) { + UNUSET(space); + UNUSET(p); + if (tux->control == TUX_CONTROL_AI && tux->status == TUX_STATUS_ALIVE) { tux_eventAI(tux); } @@ -380,6 +394,11 @@ int event() int isConflict(int x, int y, int w, int h) { + UNUSET(x); + UNUSET(y); + UNUSET(w); + UNUSET(h); + return 0; } @@ -391,6 +410,7 @@ void cmdArena(char *line) void recvMsg(char *msg) { + UNUSET(msg); } int destroy() |