X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=4e53f626d624d0676dcb88bff81a9873be2aa0ef;hb=0c454763268d571be71d2c7a633f5bd855d0ad0b;hp=02938e3544e07825eabf196ea4b01faafd5a81fb;hpb=522cba3565ad60664933d454f83518961deb41c5;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index 02938e35..4e53f626 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -671,7 +671,7 @@ void BlitBitmapTiled(Bitmap *src_bitmap, Bitmap *dst_bitmap, } } -void FadeRectangle(Bitmap *bitmap_cross, int x, int y, int width, int height, +void FadeRectangle(int x, int y, int width, int height, int fade_mode, int fade_delay, int post_delay, void (*draw_border_function)(void)) { @@ -679,7 +679,7 @@ void FadeRectangle(Bitmap *bitmap_cross, int x, int y, int width, int height, if (!InClippedRectangle(backbuffer, &x, &y, &width, &height, TRUE)) return; - SDLFadeRectangle(bitmap_cross, x, y, width, height, + SDLFadeRectangle(x, y, width, height, fade_mode, fade_delay, post_delay, draw_border_function); }