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/item.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/item.h') diff --git a/include/item.h b/include/item.h index 3f6b6bd..fd66839 100644 --- a/include/item.h +++ b/include/item.h @@ -22,8 +22,9 @@ typedef struct item_struct int count; tux_t *author; +#ifndef BUBLIC_SERVER SDL_Surface *img; //obrazok - +#endif } item_t; #define ITEM_MAX_COUNT 2 @@ -52,8 +53,10 @@ extern bool_t isItemInicialized(); extern void initItem(); extern item_t* newItem(int x, int y, int type, tux_t *author); extern void addNewItem(list_t *listItem, tux_t *author); +#ifndef BUBLIC_SERVER extern void drawItem(item_t *p); extern void drawListItem(list_t *listItem); +#endif extern void eventListItem(list_t *listItem); extern void eventConflictShotWithItem(list_t *listItem, list_t *listShot); extern int isConflictWithListItem(list_t *listItem, int x, int y, int w, int h); -- cgit v1.2.3