diff options
| author | scarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-05 16:43:55 +0000 |
|---|---|---|
| committer | scarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-07-05 16:43:55 +0000 |
| commit | 6c4fe3323d79253af707df90623e433ce12c35f2 (patch) | |
| tree | 36ca640e6865abc26789760ba9fd09a023eb0ba1 /include/shot.h | |
| parent | 6ed79c5de77b3f6be5c297cb5432d123ff1ff177 (diff) | |
* Prechod na novou verzi instalace pseudoautotools -> cmake
* Odstraneni bordelu kterej tu byl (pokud vam neco chybi brecte na me ja to zkusim najit v zaloze)
* TODO instalace: SEPSAT AUTORY, IKONKU VYROBIT
git-svn-id: http://opensvn.csie.org/tuxanci_ng@94 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include/shot.h')
| -rw-r--r-- | include/shot.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/include/shot.h b/include/shot.h deleted file mode 100644 index 7eae9cd..0000000 --- a/include/shot.h +++ /dev/null @@ -1,60 +0,0 @@ - -#ifndef SHOT_H - -#define SHOT_H - -#include "main.h" -#ifndef PUBLIC_SERVER -#include "interface.h" -#endif -#include "list.h" -#include "tux.h" -#include "arena.h" - -typedef struct shot_struct -{ - int id; - - int x; - int y; - - int w; - int h; - - int px; - int py; - - int position; - int gun; - - int author_id; - bool_t isCanKillAuthor; - -#ifndef PUBLIC_SERVER - SDL_Surface *img; -#endif -} shot_t; - -extern bool_t isShotInicialized(); -extern void initShot(); -extern shot_t* newShot(int x,int y, int px, int py, int gun, int author_id); -extern shot_t* getShotID(list_t *listShot, int id); -extern void replaceShotID(shot_t *shot, int id); -extern void getStatusShot(void *p, int *id, int *x,int *y, int *w, int *h); -extern void setStatusShot(void *p, int x, int y, int w, int h); -#ifndef PUBLIC_SERVER -extern void drawShot(shot_t *p); -extern void drawListShot(list_t *listShot); -#endif -extern int isConflictWithListShot(list_t *listShot, int x, int y, int w, int h); -extern void eventMoveListShot(arena_t *arena); -extern void checkShotIsInTuxScreen(arena_t *arena); - -extern void boundBombBall(shot_t *shot); -extern void transformOnlyLasser(shot_t *shot); - -extern void destroyShot(shot_t *p); -extern void quitShot(); - -#endif - |