diff options
Diffstat (limited to 'src/base/tux.c')
| -rw-r--r-- | src/base/tux.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/base/tux.c b/src/base/tux.c index 5907a49..21fa7e6 100644 --- a/src/base/tux.c +++ b/src/base/tux.c @@ -233,23 +233,6 @@ void replaceTuxID(tux_t *tux, int id) tux->id = id; } -#if 0 -int isTuxSeesTux(tux_t *tux, tux_t *thisTux) -{ - int tux_x, tux_y, tux_w, tux_h; - int thisTux_x, thisTux_y, thisTux_w, thisTux_h; - int screen_x, screen_y; - - getTuxProportion(tux, &tux_x, &tux_y, &tux_w, &tux_h); - getTuxProportion(thisTux, &thisTux_x, &thisTux_y, &thisTux_w, &thisTux_h); - - getCenterScreen(&screen_x, &screen_y, tux->x, tux->y); - - return conflictSpace(screen_x-WINDOW_SIZE_X/4, screen_y-WINDOW_SIZE_Y/4, - WINDOW_SIZE_X*1.25, WINDOW_SIZE_Y*1.25, thisTux_x, thisTux_y, thisTux_w, thisTux_h); -} -#endif - static void timer_spawnTux(void *p) { tux_t *tux; |