summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-02 19:41:48 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-03-02 19:41:48 +0000
commit44404eb5063bd5f040c7a4d8605aa3d43e3a968a (patch)
treed9b4fceb80a2abf6103fd6022de80dd3286caaf0 /include
parent8a14d60d2078b4bcdfc789b1b9794e2008979f02 (diff)
- par uprav
- dopisany credits git-svn-id: http://opensvn.csie.org/tuxanci_ng@8 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include')
-rwxr-xr-xinclude/interface.h2
-rw-r--r--include/main.h1
-rw-r--r--include/path.h1
-rw-r--r--include/screen_credits.h20
-rw-r--r--include/screen_world.h1
5 files changed, 24 insertions, 1 deletions
diff --git a/include/interface.h b/include/interface.h
index 858f295..2012632 100755
--- a/include/interface.h
+++ b/include/interface.h
@@ -23,7 +23,7 @@
#define WINDOW_SIZE_Y 600
//napis na okne
-#define WINDOW_TITLE "RPG engine"
+#define WINDOW_TITLE "Tuxanci next generation SVN revision 8"
#define WIN_BPP 0
#define USR_EVT_TIMER 0
diff --git a/include/main.h b/include/main.h
index 7761edd..2ffe452 100644
--- a/include/main.h
+++ b/include/main.h
@@ -5,6 +5,7 @@
#include "bool.h"
#include "string_length.h"
+#include "path.h"
extern char* getParam(char *s);
extern char* getParamElse(char *s1, char *s2);
diff --git a/include/path.h b/include/path.h
index 11eeaee..ab1ae61 100644
--- a/include/path.h
+++ b/include/path.h
@@ -12,5 +12,6 @@
#define PATH_MUSIC DISTDIR PATH_DIR "music/"
#define PATH_CONFIG DISTDIR PATH_DIR "conf/"
#define PATH_LANG DISTDIR PATH_DIR "lang/"
+#define PATH_DATA DISTDIR PATH_DIR "data/"
#endif
diff --git a/include/screen_credits.h b/include/screen_credits.h
new file mode 100644
index 0000000..2bbce80
--- /dev/null
+++ b/include/screen_credits.h
@@ -0,0 +1,20 @@
+
+#ifndef SCREEN_CREDITS_H
+
+#define SCREEN_CREDITS_H
+
+#define SCREEN_CREDITS_FILE "credits.en"
+
+#define SCREEN_CREDITS_OFFSET_MIN 130
+#define SCREEN_CREDITS_OFFSET_MAX WINDOW_SIZE_Y-120
+#define SCREEN_CREDITS_OFFSET_RESTART -1000
+#define SCREEN_CREDITS_OFFSET_SPEED 2
+
+extern void startScreenCredits();
+extern void drawScreenCredits();
+extern void eventScreenCredits();
+extern void stopScreenCredits();
+extern void initScreenCredits();
+extern void quitScreenCredits();
+
+#endif
diff --git a/include/screen_world.h b/include/screen_world.h
index aa43968..d6dfd12 100644
--- a/include/screen_world.h
+++ b/include/screen_world.h
@@ -14,6 +14,7 @@ extern void initWorld();
extern arena_t* getWorldArena();
extern void setWorldArena(int id);
extern void countRoundInc();
+extern void setWorldEnd();
extern void setMaxCountRound(int n);
extern int conflictSpace(int x1,int y1,int w1,int h1,int x2,int y2,int w2,int h2);
extern int isFreeSpace(int x, int y, int w, int h);