projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added headless mode (no window) for automated tape tests using 'autotest'
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index b6cea7b51ea2d38ed0d5fddae8174d9fa114521a..dd007f7f283450c8c433afbe3e2dc8f3df3f8bca 100644
(file)
--- a/
src/libgame/system.h
+++ b/
src/libgame/system.h
@@
-508,6
+508,7
@@
#define SOUNDSINFO_FILENAME "soundsinfo.conf"
#define MUSICINFO_FILENAME "musicinfo.conf"
#define ARTWORKINFO_CACHE_FILE "artworkinfo.cache"
#define SOUNDSINFO_FILENAME "soundsinfo.conf"
#define MUSICINFO_FILENAME "musicinfo.conf"
#define ARTWORKINFO_CACHE_FILE "artworkinfo.cache"
+#define LEVELTEMPLATE_FILENAME "template.level"
#define LEVELFILE_EXTENSION "level"
#define TAPEFILE_EXTENSION "tape"
#define SCOREFILE_EXTENSION "score"
#define LEVELFILE_EXTENSION "level"
#define TAPEFILE_EXTENSION "tape"
#define SCOREFILE_EXTENSION "score"
@@
-760,6
+761,11
@@
struct ProgramInfo
char *(*window_title_function)(void);
void (*exit_message_function)(char *, va_list);
void (*exit_function)(int);
char *(*window_title_function)(void);
void (*exit_message_function)(char *, va_list);
void (*exit_function)(int);
+
+ boolean global_scores;
+ boolean many_scores_per_name;
+
+ boolean headless;
};
struct OptionInfo
};
struct OptionInfo
@@
-779,6
+785,7
@@
struct OptionInfo
char *special_flags;
char *special_flags;
+ boolean mytapes;
boolean serveronly;
boolean network;
boolean verbose;
boolean serveronly;
boolean network;
boolean verbose;
@@
-964,6
+971,8
@@
struct SetupEditorInfo
boolean el_dx_boulderdash;
boolean el_chars;
boolean el_steel_chars;
boolean el_dx_boulderdash;
boolean el_chars;
boolean el_steel_chars;
+
+ boolean el_classic;
boolean el_custom;
boolean el_user_defined;
boolean el_dynamic;
boolean el_custom;
boolean el_user_defined;
boolean el_dynamic;
@@
-1414,6
+1423,7
@@
extern int FrameCounter;
void InitProgramInfo(char *, char *, char *, char *, char *, char *, char *,
int);
void InitProgramInfo(char *, char *, char *, char *, char *, char *, char *,
int);
+void InitScoresInfo();
void SetWindowTitle();
void InitWindowTitleFunction(char *(*window_title_function)(void));
void SetWindowTitle();
void InitWindowTitleFunction(char *(*window_title_function)(void));