X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=64f67a179593cbd844576d746892c5a9fc17d489;hp=0e3a272866f59408483af20003bb8ada148ad03a;hb=30eb586d06bc4d1ee7388dced1c20e530292aa93;hpb=115ce6f2da1914d68b0fe0e5f9082973190dacdd diff --git a/src/libgame/system.c b/src/libgame/system.c index 0e3a2728..64f67a17 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -445,7 +445,7 @@ void SetDrawBackgroundMask(int draw_background_mask) gfx.draw_background_mask = draw_background_mask; } -void SetBackgroundBitmap(Bitmap *background_bitmap_tile, int mask) +static void SetBackgroundBitmap(Bitmap *background_bitmap_tile, int mask) { if (background_bitmap_tile != NULL) gfx.background_bitmap_mask |= mask; @@ -659,9 +659,11 @@ void ReCreateBitmap(Bitmap **bitmap, int width, int height) } } -void CloseWindow(DrawWindow *window) +#if 0 +static void CloseWindow(DrawWindow *window) { } +#endif void SetRedrawMaskFromArea(int x, int y, int width, int height) { @@ -1018,8 +1020,8 @@ void DrawSimpleWhiteLine(Bitmap *bitmap, int from_x, int from_y, SDLDrawSimpleLine(bitmap, from_x, from_y, to_x, to_y, WHITE_PIXEL); } -void DrawLine(Bitmap *bitmap, int from_x, int from_y, - int to_x, int to_y, Pixel pixel, int line_width) +static void DrawLine(Bitmap *bitmap, int from_x, int from_y, + int to_x, int to_y, Pixel pixel, int line_width) { int x, y;