projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved handling mouse actions (for MM engine)
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index 2fd5e97b7fde94f66eaaf79d4da28450a4c0aeb0..cc9e45d930fd280de9d59457533e48272c71824b 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
@@
-1415,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