From 7055882c93022da3a6a1cf74cebf3d17c44ce6c4 Mon Sep 17 00:00:00 2001 From: oroborus Date: Mon, 12 May 2008 20:39:34 +0000 Subject: - podpora modulov - hra sa musi kompilovat s GUI ako v config.h _zakomenotvane_ #define PUBLIC_SERVER make clean make make mod su make install - hra sa musi ako server kompilovat v config.h _odkomentovane__ #define PUBLIC_SERVER make clean make make mod - pozor, urcite tam je este vela bugov //je to nedoladene zatial to ani nedavajte na server git-svn-id: http://opensvn.csie.org/tuxanci_ng@52 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/shot.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/shot.c') diff --git a/src/shot.c b/src/shot.c index 04498c0..7a7d55a 100644 --- a/src/shot.c +++ b/src/shot.c @@ -201,12 +201,6 @@ int isConflictWithListShot(list_t *listShot, int x, int y, int w, int h) return 0; } -static int myAbs(int n) -{ - return ( n > 0 ? n : -n ); -} - - static int getRandomCourse(int x, int y) { int ret; @@ -287,6 +281,7 @@ void eventMoveListShot(list_t *listShot) } } +/* static int getSppedShot(shot_t *shot) { return ( myAbs(shot->px) > myAbs(shot->py) ? myAbs(shot->px) : myAbs(shot->py) ); @@ -405,7 +400,7 @@ void moveShot(shot_t *shot, int position, int src_x, int src_y, } } - +*/ void destroyShot(shot_t *p) { assert( p != NULL ); -- cgit v1.2.3