X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=38ec0b5b2e5148a2dbf69dd2a8accc65b959b694;hb=8ae535c1c76e1c33572afbcd4b2d3d9c3d7ba63e;hp=40b1aaa47945aec040da5b9141441baf02a2abac;hpb=3b067343f8b86fd6df84b1a37b7f392775434528;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index 40b1aaa4..38ec0b5b 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -234,11 +234,16 @@ void InitGfxDrawBusyAnimFunction(void (*draw_busy_anim_function)(void)) gfx.draw_busy_anim_function = draw_busy_anim_function; } -void InitGfxDrawGlobalAnimFunction(void (*draw_global_anim_function)(void)) +void InitGfxDrawGlobalAnimFunction(void (*draw_global_anim_function)(int)) { gfx.draw_global_anim_function = draw_global_anim_function; } +void InitGfxDrawGlobalBorderFunction(void (*draw_global_border_function)(int)) +{ + gfx.draw_global_border_function = draw_global_border_function; +} + void InitGfxCustomArtworkInfo() { gfx.override_level_graphics = FALSE; @@ -1190,6 +1195,11 @@ void CreateBitmapTextures(Bitmap **bitmaps) SDLCreateBitmapTextures(bitmaps[IMG_BITMAP_STANDARD]); } +void FreeBitmapTextures(Bitmap **bitmaps) +{ + SDLFreeBitmapTextures(bitmaps[IMG_BITMAP_STANDARD]); +} + void ScaleBitmap(Bitmap **bitmaps, int zoom_factor) { CreateScaledBitmaps(bitmaps, zoom_factor, 0, FALSE);