X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=eddddc0ef1f6afc3119a79b583e495e8b3be7aba;hb=84a0a448bb1715b6dea187e3aedc902e5bbc2439;hp=5a02dd113a63b79bfc54b61fbff643a66d75c369;hpb=c07e4d51f30c46731bf28c42954dc7726457984e;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index 5a02dd11..eddddc0e 100644 --- a/src/tools.h +++ b/src/tools.h @@ -108,6 +108,7 @@ void FadeSetDisabled(void); void FadeSkipNextFadeIn(void); void FadeSkipNextFadeOut(void); +Bitmap *getBitmapFromGraphicOrDefault(int, int); Bitmap *getGlobalBorderBitmapFromStatus(int); void ClearField(void); @@ -131,6 +132,7 @@ void FloodFillLevelExt(int, int, int, int, int y, short field[][y], int, int); void SetRandomAnimationValue(int, int); int getGraphicAnimationFrame(int, int); +int getGraphicAnimationFrameXY(int, int, int); void DrawFixedGraphicAnimation(int, int, int); void DrawFixedGraphicAnimationExt(DrawBuffer *, int, int, int, int, int); @@ -182,6 +184,7 @@ void DrawLevelFieldCrumbled(int, int); void DrawLevelFieldCrumbledDigging(int, int, int, int); void DrawLevelFieldCrumbledNeighbours(int, int); void DrawScreenGraphic(int, int, int, int); +void DrawLevelGraphic(int, int, int, int); void DrawScreenElement(int, int, int); void DrawLevelElement(int, int, int); void DrawScreenField(int, int); @@ -298,4 +301,9 @@ void ChangeViewportPropertiesIfNeeded(void); boolean CheckIfAllViewportsHaveChanged(void); boolean CheckFadeAll(void); +void OpenURL(char *); +void OpenURLFromHash(SetupFileHash *, int); + +void TestGeneratingUUIDs(void); + #endif // TOOLS_H