X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=inline;f=src%2Ftools.h;h=e0c4726d4c5e260b7d7cb08e5257425488b63ba8;hb=a1b595c8791394699e73f35c30770c4afd61abbd;hp=3413308c8926cfa395c5ea028f6ee191d49e36a0;hpb=073fb8edb944e8547b3d0e4b102bb30b40671674;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index 3413308c..e0c4726d 100644 --- a/src/tools.h +++ b/src/tools.h @@ -108,9 +108,12 @@ void FadeSetDisabled(void); void FadeSkipNextFadeIn(void); void FadeSkipNextFadeOut(void); +int getImageFromGraphicOrDefault(int, int); Bitmap *getGlobalBorderBitmapFromStatus(int); void ClearField(void); + +void SetBackgroundImage(int, int); void SetWindowBackgroundImageIfDefined(int); void SetMainBackgroundImageIfDefined(int); void SetDoorBackgroundImageIfDefined(int); @@ -126,8 +129,8 @@ void RedrawGlobalBorder(void); void MarkTileDirty(int, int); void SetBorderElement(void); -void FloodFillLevel(int, int, int, short[][MAX_LEV_FIELDY], int, int); -void FloodFillLevelExt(int, int, int, int, int y, short field[][y], int, int); +void FloodFillLevel(int, int, int, short[MAX_LEV_FIELDX][MAX_LEV_FIELDY], int, int); +void FloodFillLevelExt(int, int, int, int x, int y, short field[x][y], int, int); void SetRandomAnimationValue(int, int); int getGraphicAnimationFrame(int, int);