summaryrefslogtreecommitdiff
path: root/include/shot.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-04-15 19:28:48 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-04-15 19:28:48 +0000
commita8bec57e7a9be7b1fa36ef8be618db4e46cbd599 (patch)
tree1af5e651f4ff628f99393109e3352dbd7b1f39f4 /include/shot.h
parentc8223ce77a4dbf57be272d10c4e1d31f69bd516e (diff)
- oprava chyby #0007 #0006 #0005
- nova zbran bombball - client dostava svoju vlastnu poziciu od servera kazdych 5000 ms git-svn-id: http://opensvn.csie.org/tuxanci_ng@45 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include/shot.h')
-rw-r--r--include/shot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/shot.h b/include/shot.h
index d3e9bcc..27f05a5 100644
--- a/include/shot.h
+++ b/include/shot.h
@@ -37,6 +37,7 @@ typedef struct shot_struct
extern bool_t isShotInicialized();
extern void initShot();
extern shot_t* newShot(int x,int y, int px, int py, int gun, tux_t *author);
+extern shot_t* getShotID(list_t *listShot, int id);
#ifndef PUBLIC_SERVER
extern void drawShot(shot_t *p);
extern void drawListShot(list_t *listShot);
@@ -45,6 +46,7 @@ extern int isConflictWithListShot(list_t *listShot, int x, int y, int w, int h);
extern void eventMoveListShot(list_t *listShot);
extern void transformOnlyLasser(shot_t *shot);
+extern void boundBombBall(shot_t *shot);
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);