projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added some more graphics customization options for the level editor
[rocksndiamonds.git]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index 4937e55c0cdd83433719aee52211e59e4a3908ed..8e1546fe86b29214ed20241d1966854ed1aa577f 100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-2239,18
+2239,38
@@
struct PreviewInfo
int anim_mode;
};
int anim_mode;
};
+struct EditorButtonInfo
+{
+ struct XY prev_level;
+ struct XY next_level;
+};
+
+struct EditorInputInfo
+{
+ struct XY level_number;
+};
+
+struct EditorPaletteElementInfo
+{
+ int x, y;
+ int tile_size;
+};
+
struct EditorPaletteInfo
{
int x, y;
int cols, rows;
struct EditorPaletteInfo
{
int x, y;
int cols, rows;
+ int tile_size;
- struct
XY
element_left;
- struct
XY
element_middle;
- struct
XY
element_right;
+ struct
EditorPaletteElementInfo
element_left;
+ struct
EditorPaletteElementInfo
element_middle;
+ struct
EditorPaletteElementInfo
element_right;
};
struct EditorInfo
{
};
struct EditorInfo
{
+ struct EditorButtonInfo button;
+ struct EditorInputInfo input;
struct EditorPaletteInfo palette;
};
struct EditorPaletteInfo palette;
};