X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=e80efbf2057908d46b705d0da47d3fbb84fcfad8;hb=7b34743564e27c65b4d9c1ef55c3b12f6cf8a94a;hp=dc5da845c126f16f57c3cd97347e050a23adc834;hpb=2913929efaf274a0c739a2e6114f34c635265798;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index dc5da845..e80efbf2 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); @@ -135,6 +138,7 @@ int getGraphicAnimationFrameXY(int, int, int); void DrawFixedGraphicAnimation(int, int, int); void DrawFixedGraphicAnimationExt(DrawBuffer *, int, int, int, int, int); +void DrawSizedGraphicAnimationExt(DrawBuffer *, int, int, int, int, int, int); void DrawLevelGraphicAnimation(int, int, int); void DrawLevelElementAnimation(int, int, int); @@ -300,6 +304,9 @@ void ChangeViewportPropertiesIfNeeded(void); boolean CheckIfAllViewportsHaveChanged(void); boolean CheckFadeAll(void); +void OpenURL(char *); +void OpenURLFromHash(SetupFileHash *, int); + void TestGeneratingUUIDs(void); #endif // TOOLS_H