projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20060816-2-src
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index 38e341b06c90e38ecbb41cf7a2616e9670f3b459..264a3366832f24750ff3de0a2a9d3527ed2b9377 100644
(file)
--- a/
src/libgame/system.c
+++ b/
src/libgame/system.c
@@
-327,6
+327,7
@@
void InitVideoBuffer(DrawBuffer **backbuffer, DrawWindow **window,
video.width = width;
video.height = height;
video.depth = GetRealDepth(depth);
video.width = width;
video.height = height;
video.depth = GetRealDepth(depth);
+
video.fullscreen_available = FULLSCREEN_STATUS;
video.fullscreen_enabled = FALSE;
video.fullscreen_modes = NULL;
video.fullscreen_available = FULLSCREEN_STATUS;
video.fullscreen_enabled = FALSE;
video.fullscreen_modes = NULL;
@@
-457,13
+458,15
@@
void BlitBitmap(Bitmap *src_bitmap, Bitmap *dst_bitmap,
dst_x, dst_y, BLIT_OPAQUE);
}
dst_x, dst_y, BLIT_OPAQUE);
}
-void Fade
Screen(Bitmap *bitmap_cross, int fade_mode, int fade_delay
,
- int post_delay)
+void Fade
Rectangle(Bitmap *bitmap_cross, int x, int y, int width, int height
,
+
int fade_mode, int fade_delay,
int post_delay)
{
#if defined(TARGET_SDL)
{
#if defined(TARGET_SDL)
- SDLFadeScreen(bitmap_cross, fade_mode, fade_delay, post_delay);
+ SDLFadeRectangle(bitmap_cross, x, y, width, height,
+ fade_mode, fade_delay, post_delay);
#else
#else
- X11FadeScreen(bitmap_cross, fade_mode, fade_delay, post_delay);
+ X11FadeRectangle(bitmap_cross, x, y, width, height,
+ fade_mode, fade_delay, post_delay);
#endif
}
#endif
}