X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=395e73b9cd04c71b26d61f31395418dae4a2f143;hb=fb8bb677ad12b6b837192cb32a395b9e9c2bcdb6;hp=cb8c9343d0f3c474f245c2e5941806e3c0d88e8f;hpb=bbf7eaa09cd8d4c86237bd67b8770ec54bdf026f;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index cb8c9343..395e73b9 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); @@ -126,11 +127,12 @@ 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); +int getGraphicAnimationFrameXY(int, int, int); void DrawFixedGraphicAnimation(int, int, int); void DrawFixedGraphicAnimationExt(DrawBuffer *, int, int, int, int, int); @@ -150,6 +152,7 @@ void getSizedGraphicSourceExt(int, int, int, Bitmap **, int *, int *, boolean); void getSizedGraphicSource(int, int, int, Bitmap **, int *, int *); void getFixedGraphicSource(int, int, Bitmap **, int *, int *); void getMiniGraphicSource(int, Bitmap **, int *, int *); +void getGlobalAnimGraphicSource(int, int, Bitmap **, int *, int *); void getGraphicSource(int, int, Bitmap **, int *, int *); void DrawGraphic(int, int, int, int); @@ -181,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); @@ -297,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