summaryrefslogtreecommitdiff
path: root/include
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
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')
-rwxr-xr-xinclude/interface.h2
-rw-r--r--include/item.h5
-rw-r--r--include/screen_table.h17
3 files changed, 21 insertions, 3 deletions
diff --git a/include/interface.h b/include/interface.h
index 850fe19..929c8bf 100755
--- a/include/interface.h
+++ b/include/interface.h
@@ -23,7 +23,7 @@
#define WINDOW_SIZE_Y 600
//napis na okne
-#define WINDOW_TITLE "Tuxanci next generation SVN revision 11"
+#define WINDOW_TITLE "Tuxanci next generation SVN revision 13"
#define WIN_BPP 0
#define USR_EVT_TIMER 0
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);
diff --git a/include/screen_table.h b/include/screen_table.h
new file mode 100644
index 0000000..d16cbbb
--- /dev/null
+++ b/include/screen_table.h
@@ -0,0 +1,17 @@
+
+#ifndef SCREEN_TABLE_H
+
+#define SCREEN_TABLE_H
+
+#define SCREEN_TABLE_MAX_PLAYERS 10
+#define SCREEN_TABLE_FILE_HIGHSCORE_NAME "highscore"
+
+extern void startScreenTable();
+extern void drawScreenTable();
+extern void eventScreenTable();
+extern void stopScreenTable();
+extern int addPlayerInHighScore(char *name, int score);
+extern void initScreenTable();
+extern void quitScreenTable();
+
+#endif