From b84b59153c587248ca8a6a94a6d93977e851233f Mon Sep 17 00:00:00 2001 From: oroborus Date: Sat, 15 Mar 2008 18:35:48 +0000 Subject: - moznost skompilovat public server bez GUI ( pomocou Makefile-publicServer ) port sa nastavuje ako ./publicserver --port - jeto iba prvotna verzia treba to este odladit a zostabilnit git-svn-id: http://opensvn.csie.org/tuxanci_ng@18 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 749767f..3bd0142 100644 --- a/include/shot.h +++ b/include/shot.h @@ -25,14 +25,18 @@ typedef struct shot_struct tux_t *author; bool_t isCanKillAuthor; +#ifndef BUBLIC_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, tux_t *author); +#ifndef BUBLIC_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(list_t *listShot); -- cgit v1.2.3