projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug with mis-using image config option '.tile_size' for screen output
[rocksndiamonds.git]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index f9c2de0326881b8bc0d7d761f16e62a7d7cbb2e4..61bc328e52c81c014ac2a560c07985d0746ef7c5 100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-2051,6
+2051,11
@@
#define NUM_ENGINE_TYPES 4
#define NUM_ENGINE_TYPES 4
+/* values for automatically playing tapes */
+#define AUTOPLAY_TEST 0
+#define AUTOPLAY_PLAY 1
+#define AUTOPLAY_FFWD 2
+
struct BorderInfo
{
struct BorderInfo
{
@@
-2166,6
+2171,7
@@
struct MenuInfo
int scrollbar_xoffset;
int list_size[NUM_SPECIAL_GFX_ARGS];
int scrollbar_xoffset;
int list_size[NUM_SPECIAL_GFX_ARGS];
+ int list_size_info[NUM_SPECIAL_GFX_INFO_ARGS];
struct TitleFadingInfo enter_menu;
struct TitleFadingInfo leave_menu;
struct TitleFadingInfo enter_menu;
struct TitleFadingInfo leave_menu;
@@
-2209,6
+2215,8
@@
struct RequestInfo
int step_offset;
int step_delay;
int anim_mode;
int step_offset;
int step_delay;
int anim_mode;
+ int align;
+ int valign;
boolean autowrap;
boolean centered;
boolean wrap_single_words;
boolean autowrap;
boolean centered;
boolean wrap_single_words;
@@
-2319,6
+2327,11
@@
struct EditorPaletteInfo
struct EditorPaletteElementInfo element_right;
};
struct EditorPaletteElementInfo element_right;
};
+struct EditorDrawingAreaInfo
+{
+ int tile_size;
+};
+
struct EditorInfo
{
struct EditorSettingsInfo settings;
struct EditorInfo
{
struct EditorSettingsInfo settings;
@@
-2326,6
+2339,7
@@
struct EditorInfo
struct EditorButtonInfo button;
struct EditorInputInfo input;
struct EditorPaletteInfo palette;
struct EditorButtonInfo button;
struct EditorInputInfo input;
struct EditorPaletteInfo palette;
+ struct EditorDrawingAreaInfo drawingarea;
};
struct ViewportInfo
};
struct ViewportInfo
@@
-2513,6
+2527,7
@@
struct GlobalInfo
char *autoplay_leveldir;
int autoplay_level[MAX_TAPES_PER_SET];
boolean autoplay_all;
char *autoplay_leveldir;
int autoplay_level[MAX_TAPES_PER_SET];
boolean autoplay_all;
+ boolean autoplay_mode;
char *convert_leveldir;
int convert_level_nr;
char *convert_leveldir;
int convert_level_nr;
@@
-2940,6
+2955,9
@@
extern int VXSIZE, VYSIZE;
extern int EXSIZE, EYSIZE;
extern int TILESIZE_VAR;
extern int EXSIZE, EYSIZE;
extern int TILESIZE_VAR;
+extern int FADE_SX, FADE_SY;
+extern int FADE_SXSIZE, FADE_SYSIZE;
+
extern int FX, FY;
extern int ScrollStepSize;
extern int ScreenMovDir, ScreenMovPos, ScreenGfxPos;
extern int FX, FY;
extern int ScrollStepSize;
extern int ScreenMovDir, ScreenMovPos, ScreenGfxPos;