From 858f01dedbb681c8e62c9dae4d7c3174991844bf Mon Sep 17 00:00:00 2001 From: oroborus Date: Fri, 7 Mar 2008 21:12:57 +0000 Subject: -podpora teleportov -podpora rur git-svn-id: http://opensvn.csie.org/tuxanci_ng@9 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- include/shot.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/shot.h') diff --git a/include/shot.h b/include/shot.h index c248538..749767f 100644 --- a/include/shot.h +++ b/include/shot.h @@ -19,8 +19,7 @@ typedef struct shot_struct int px; int py; - int course; - int speed; + int position; int gun; tux_t *author; @@ -36,6 +35,10 @@ extern void drawShot(shot_t *p); extern void drawListShot(list_t *listShot); extern int isConflictWithListShot(list_t *listShot, int x, int y, int w, int h); extern void eventMoveListShot(list_t *listShot); + +extern void moveShot(shot_t *shot, int position, int src_x, int src_y, + int dist_x, int dist_y, int dist_w, int dist_h); + extern void destroyShot(shot_t *p); extern void quitShot(); -- cgit v1.2.3