From 1438b79069821cba744a4ea4739324560be64fb6 Mon Sep 17 00:00:00 2001 From: oroborus Date: Sun, 9 Mar 2008 21:36:26 +0000 Subject: - 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 --- include/item.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/item.h') 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); -- cgit v1.2.3