diff options
Diffstat (limited to 'include')
| -rwxr-xr-x | include/interface.h | 2 | ||||
| -rw-r--r-- | include/main.h | 1 | ||||
| -rw-r--r-- | include/path.h | 1 | ||||
| -rw-r--r-- | include/screen_credits.h | 20 | ||||
| -rw-r--r-- | include/screen_world.h | 1 |
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); |