diff options
| author | Dusan Durech <dusan@debian.debian> | 2009-04-22 20:03:05 +0200 |
|---|---|---|
| committer | Dusan Durech <dusan@debian.debian> | 2009-04-22 20:03:05 +0200 |
| commit | b7b72cca9df9c9c3601e88ac1381802ac83014ee (patch) | |
| tree | a7805d76cc8fa90c37db4982c896f8060e7031f6 /src/modules/modAI.c | |
| parent | 31941d9f3b2a665317503166785a3eb6cef35a9c (diff) | |
rename macro UNSET on UNSED
Diffstat (limited to 'src/modules/modAI.c')
| -rw-r--r-- | src/modules/modAI.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/modules/modAI.c b/src/modules/modAI.c index 63b94c8..b987f20 100644 --- a/src/modules/modAI.c +++ b/src/modules/modAI.c @@ -48,8 +48,8 @@ alternative_t *cloneAlternative(alternative_t * p, int route, int x, int y) assert(p != NULL); - UNUSET(x); - UNUSET(y); + UNUSED(x); + UNUSED(y); new = newAlternative(route, p->x, p->y); new->first = p->first; @@ -121,7 +121,7 @@ void destroyAlternative(alternative_t * p) static void cmd_ai(char *line) { - UNUSET(line); + UNUSED(line); } int init(export_fce_t * p) @@ -134,10 +134,10 @@ 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); + UNUSED(x); + UNUSED(y); + UNUSED(w); + UNUSED(h); return 0; } @@ -167,7 +167,7 @@ static void shotTux(arena_t * arena, tux_t * tux_ai, tux_t * tux_rival) int x_rival, y_rival; int w, h; - UNUSET(arena); + UNUSED(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); @@ -336,8 +336,8 @@ static void tux_eventAI(tux_t * tux) static void action_tuxAI(space_t * space, tux_t * tux, void *p) { - UNUSET(space); - UNUSET(p); + UNUSED(space); + UNUSED(p); if (tux->control == TUX_CONTROL_AI && tux->status == TUX_STATUS_ALIVE) { tux_eventAI(tux); @@ -394,10 +394,10 @@ int event() int isConflict(int x, int y, int w, int h) { - UNUSET(x); - UNUSET(y); - UNUSET(w); - UNUSET(h); + UNUSED(x); + UNUSED(y); + UNUSED(w); + UNUSED(h); return 0; } @@ -410,7 +410,7 @@ void cmdArena(char *line) void recvMsg(char *msg) { - UNUSET(msg); + UNUSED(msg); } int destroy() |