projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20140117-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index b9f65d149e19f77bffcc2b2aefc5ccc982ec461d..95076061b8f175cb6c167c25cd559f4675cad8aa 100644
(file)
--- a/
src/libgame/system.h
+++ b/
src/libgame/system.h
@@
-55,9
+55,10
@@
#define WINDOW_SCALING_NOT_AVAILABLE FALSE
#define WINDOW_SCALING_AVAILABLE TRUE
#define WINDOW_SCALING_NOT_AVAILABLE FALSE
#define WINDOW_SCALING_AVAILABLE TRUE
-#define MIN_WINDOW_SCALING_PERCENT
1
0
+#define MIN_WINDOW_SCALING_PERCENT
5
0
#define STD_WINDOW_SCALING_PERCENT 100
#define MAX_WINDOW_SCALING_PERCENT 300
#define STD_WINDOW_SCALING_PERCENT 100
#define MAX_WINDOW_SCALING_PERCENT 300
+#define STEP_WINDOW_SCALING_PERCENT 10
/* default input keys */
#define DEFAULT_KEY_LEFT KSYM_Left
/* default input keys */
#define DEFAULT_KEY_LEFT KSYM_Left
@@
-732,9
+733,11
@@
struct VideoSystemInfo
{
int default_depth;
int width, height, depth;
{
int default_depth;
int width, height, depth;
+ int window_width, window_height;
boolean fullscreen_available;
boolean fullscreen_enabled;
boolean fullscreen_available;
boolean fullscreen_enabled;
+ boolean fullscreen_initial;
struct ScreenModeInfo *fullscreen_modes;
char *fullscreen_mode_current;
struct ScreenModeInfo *fullscreen_modes;
char *fullscreen_mode_current;
@@
-1195,6
+1198,7
@@
struct TextPosInfo
int size;
int font, font_alt;
boolean draw_masked;
int size;
int font, font_alt;
boolean draw_masked;
+ boolean draw_player; /* special case for network player buttons */
int sort_priority;
int id;
};
int sort_priority;
int id;
};
@@
-1272,6
+1276,8
@@
void SetWindowBackgroundBitmap(Bitmap *);
void SetMainBackgroundBitmap(Bitmap *);
void SetDoorBackgroundBitmap(Bitmap *);
void SetMainBackgroundBitmap(Bitmap *);
void SetDoorBackgroundBitmap(Bitmap *);
+void LimitScreenUpdates(boolean);
+
void InitVideoDisplay(void);
void CloseVideoDisplay(void);
void InitVideoBuffer(int, int, int, boolean);
void InitVideoDisplay(void);
void CloseVideoDisplay(void);
void InitVideoBuffer(int, int, int, boolean);