diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-15 18:35:48 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-03-15 18:35:48 +0000 |
| commit | b84b59153c587248ca8a6a94a6d93977e851233f (patch) | |
| tree | e13b33f09ee6ac130bb6045626618b1c5fc4d787 /include/item.h | |
| parent | 6038f9434f1eb40caf7992ece9a3972e95a9fc11 (diff) | |
- moznost skompilovat public server bez GUI ( pomocou Makefile-publicServer )
port sa nastavuje ako ./publicserver --port <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
Diffstat (limited to 'include/item.h')
| -rw-r--r-- | include/item.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); |