projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added "last played level sets" sub-menu to level set selection screen
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index 598fbfef447e9ee781b03b1ee425244249d220ce..46124b82e231c27c48679ac19a9db3bbbd16ac3a 100644
(file)
--- a/
src/libgame/system.h
+++ b/
src/libgame/system.h
@@
-581,6
+581,9
@@
JOY_BUTTON_2 : \
JOY_NO_ACTION)
JOY_BUTTON_2 : \
JOY_NO_ACTION)
+// maximum number of level sets in the level set history
+#define MAX_LEVELDIR_HISTORY 12
+
// default name for empty highscore entry
#define EMPTY_PLAYER_NAME "no name"
// default name for empty highscore entry
#define EMPTY_PLAYER_NAME "no name"
@@
-1294,6
+1297,11
@@
struct SetupAutoSetupInfo
int editor_zoom_tilesize;
};
int editor_zoom_tilesize;
};
+struct SetupLevelSetupInfo
+{
+ char *last_level_series[MAX_LEVELDIR_HISTORY + 1];
+};
+
struct SetupEditorCascadeInfo
{
boolean el_bd;
struct SetupEditorCascadeInfo
{
boolean el_bd;
@@
-1465,6
+1473,8
@@
struct SetupInfo
char *network_server_hostname;
struct SetupAutoSetupInfo auto_setup;
char *network_server_hostname;
struct SetupAutoSetupInfo auto_setup;
+ struct SetupLevelSetupInfo level_setup;
+
struct SetupEditorInfo editor;
struct SetupEditorCascadeInfo editor_cascade;
struct SetupShortcutInfo shortcut;
struct SetupEditorInfo editor;
struct SetupEditorCascadeInfo editor_cascade;
struct SetupShortcutInfo shortcut;