X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=a4d3f9e8b2780cae85bc519e2cbc8fef9849b162;hp=b5e4f270c284fbde5d20661d1fb7322fb6b81fcd;hb=d77d7ac6d22b63ff3e10608e54c7ac919915fae9;hpb=8bc9d8febda30d07142948f6b892365d3e11a940 diff --git a/src/libgame/system.c b/src/libgame/system.c index b5e4f270..a4d3f9e8 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -231,6 +231,11 @@ 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)) +{ + gfx.draw_global_anim_function = draw_global_anim_function; +} + void InitGfxCustomArtworkInfo() { gfx.override_level_graphics = FALSE; @@ -1125,6 +1130,11 @@ void CreateBitmapWithSmallBitmaps(Bitmap **bitmaps, int zoom_factor, CreateScaledBitmaps(bitmaps, zoom_factor, tile_size, TRUE); } +void CreateBitmapTextures(Bitmap **bitmaps) +{ + SDLCreateBitmapTextures(bitmaps[IMG_BITMAP_STANDARD]); +} + void ScaleBitmap(Bitmap **bitmaps, int zoom_factor) { CreateScaledBitmaps(bitmaps, zoom_factor, 0, FALSE);