summaryrefslogtreecommitdiff
path: root/include/item.h
diff options
context:
space:
mode:
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);