From 437da38a26548714e6e1640722148f0f9f601ccb Mon Sep 17 00:00:00 2001 From: oroborus Date: Mon, 17 Mar 2008 20:29:34 +0000 Subject: - opravena chyba, clent nacital iba _jeden_ sietovy packet za 50 ms ( ano aj ked ich prislo viacej) - server pinguje clientov a na zaklade toho client vie, ci server nespadol - publicserver sa da korektne vypnut signalom SIGQUIT - publicserver bol pretiahnuty cez valgrind, teraz za pocet volani funkcie malloc rovna poctu volani funkcie free - v sietovom multiplayeri sa da chodit cez teleporty a strielat do teleportov - do rur sa da siez strielat git-svn-id: http://opensvn.csie.org/tuxanci_ng@24 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- include/shot.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/shot.h') diff --git a/include/shot.h b/include/shot.h index 22fb2f5..d0460e2 100644 --- a/include/shot.h +++ b/include/shot.h @@ -1,6 +1,8 @@ #ifndef SHOT_H +#define SHOT_H + #include "main.h" #ifndef BUBLIC_SERVER #include "interface.h" @@ -42,6 +44,8 @@ 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 transformOnlyLasser(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); -- cgit v1.2.3