projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added functions for creating and updating user level sets
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index 730c8a7fd1e3c245bc8283aac4886b271358ac6d..cd7e5357b27bf14cca8fea8aa2a3f603c91c2ca3 100644
(file)
--- a/
src/libgame/system.h
+++ b/
src/libgame/system.h
@@
-321,6
+321,7
@@
#define STYLE_NONE 0
#define STYLE_ACCURATE_BORDERS (1 << 0)
#define STYLE_INNER_CORNERS (1 << 1)
#define STYLE_NONE 0
#define STYLE_ACCURATE_BORDERS (1 << 0)
#define STYLE_INNER_CORNERS (1 << 1)
+#define STYLE_REVERSE (1 << 2)
#define STYLE_DEFAULT STYLE_NONE
#define STYLE_DEFAULT STYLE_NONE
@@
-517,6
+518,7
@@
/* file names and filename extensions */
#define LEVELSETUP_DIRECTORY "levelsetup"
#define SETUP_FILENAME "setup.conf"
/* file names and filename extensions */
#define LEVELSETUP_DIRECTORY "levelsetup"
#define SETUP_FILENAME "setup.conf"
+#define AUTOSETUP_FILENAME "autosetup.conf"
#define LEVELSETUP_FILENAME "levelsetup.conf"
#define EDITORSETUP_FILENAME "editorsetup.conf"
#define EDITORCASCADE_FILENAME "editorcascade.conf"
#define LEVELSETUP_FILENAME "levelsetup.conf"
#define EDITORSETUP_FILENAME "editorsetup.conf"
#define EDITORCASCADE_FILENAME "editorcascade.conf"
@@
-1016,6
+1018,11
@@
struct SetupEditorInfo
boolean use_template_for_new_levels;
};
boolean use_template_for_new_levels;
};
+struct SetupAutoSetupInfo
+{
+ int editor_zoom_tilesize;
+};
+
struct SetupEditorCascadeInfo
{
boolean el_bd;
struct SetupEditorCascadeInfo
{
boolean el_bd;
@@
-1155,6
+1162,7
@@
struct SetupInfo
int volume_loops;
int volume_music;
int volume_loops;
int volume_music;
+ struct SetupAutoSetupInfo auto_setup;
struct SetupEditorInfo editor;
struct SetupEditorCascadeInfo editor_cascade;
struct SetupShortcutInfo shortcut;
struct SetupEditorInfo editor;
struct SetupEditorCascadeInfo editor_cascade;
struct SetupShortcutInfo shortcut;
@@
-1408,6
+1416,16
@@
struct TextPosInfo
boolean draw_player; /* special case for network player buttons */
int sort_priority; /* also used for suffix ".draw_order" */
int id;
boolean draw_player; /* special case for network player buttons */
int sort_priority; /* also used for suffix ".draw_order" */
int id;
+
+ int direction; /* needed for panel time/health graphics */
+ int class; /* needed for panel time/health graphics */
+ int style; /* needed for panel time/health graphics */
+};
+
+struct MouseActionInfo
+{
+ int lx, ly;
+ int button;
};
struct LevelStats
};
struct LevelStats
@@
-1496,6
+1514,7
@@
void SetRedrawMaskFromArea(int, int, int, int);
void LimitScreenUpdates(boolean);
void LimitScreenUpdates(boolean);
+void InitVideoDefaults(void);
void InitVideoDisplay(void);
void CloseVideoDisplay(void);
void InitVideoBuffer(int, int, int, boolean);
void InitVideoDisplay(void);
void CloseVideoDisplay(void);
void InitVideoBuffer(int, int, int, boolean);