projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
corrected comment
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index 2fd5e97b7fde94f66eaaf79d4da28450a4c0aeb0..2a888667737e51d03611383a6a0e8510663c70ad 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
@@
-870,8
+871,8
@@
struct FontBitmapInfo
{
Bitmap *bitmap;
{
Bitmap *bitmap;
- int src_x, src_y; /* start position of
animation frame
s */
- int width, height; /* width
/height of each animation frame
*/
+ int src_x, src_y; /* start position of
font character
s */
+ int width, height; /* width
/ height of font characters
*/
int draw_xoffset; /* offset for drawing font characters */
int draw_yoffset; /* offset for drawing font characters */
int draw_xoffset; /* offset for drawing font characters */
int draw_yoffset; /* offset for drawing font characters */
@@
-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
@@
-1503,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);