summaryrefslogtreecommitdiff
path: root/include/item.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-09 21:36:26 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-09 21:36:26 +0000
commit1438b79069821cba744a4ea4739324560be64fb6 (patch)
tree1229b2aca2937be2e838fb2d787ab31d83cd59c7 /include/item.h
parentda85e88878251f6a980fef95bd47109169a3cf7c (diff)
- pridany doomovsky adresar
- moznost ulozit nastavenie - tabulka najlepsich - zabytie protigraca minou sa rata do bodov supera git-svn-id: http://opensvn.csie.org/tuxanci_ng@13 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include/item.h')
-rw-r--r--include/item.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/item.h b/include/item.h
index 49b3173..3f6b6bd 100644
--- a/include/item.h
+++ b/include/item.h
@@ -21,6 +21,7 @@ typedef struct item_struct
int frame; //poradove cislo animacie
int count;
+ tux_t *author;
SDL_Surface *img; //obrazok
} item_t;
@@ -49,8 +50,8 @@ typedef struct item_struct
extern bool_t isItemInicialized();
extern void initItem();
-extern item_t* newItem(int x, int y, int type);
-extern void addNewItem(list_t *listItem);
+extern item_t* newItem(int x, int y, int type, tux_t *author);
+extern void addNewItem(list_t *listItem, tux_t *author);
extern void drawItem(item_t *p);
extern void drawListItem(list_t *listItem);
extern void eventListItem(list_t *listItem);