X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=1983653110101a86f592907767c2e1c1d9bc0cfa;hb=04e5f3736d715014bb08d7daf8493f96525784f9;hp=a58888bec0fd47176b950854225a56bcb433b868;hpb=ac94403f845928d307f2a7b60e81dfca1fd13cbb;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index a58888be..19836531 100644 --- a/src/tools.h +++ b/src/tools.h @@ -72,6 +72,9 @@ int getFieldbufferOffsetY_RND(int, int); int getLevelFromScreenX(int); int getLevelFromScreenY(int); +int getScreenFieldSizeX(void); +int getScreenFieldSizeY(void); + void DumpTile(int, int); void DumpTileFromScreen(int, int); @@ -85,6 +88,7 @@ void DrawMaskedBorderToTarget(int); void DrawTileCursor(int); void SetDrawtoField(int); +int GetDrawtoField(void); void RedrawPlayfield(void); void BlitScreenToBitmapExt_RND(Bitmap *, int, int); void BlitScreenToBitmap_RND(Bitmap *); @@ -127,6 +131,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); @@ -146,6 +151,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); @@ -176,6 +182,7 @@ void DrawLevelFieldThruMask(int, int); void DrawLevelFieldCrumbled(int, int); void DrawLevelFieldCrumbledDigging(int, int, int, int); void DrawLevelFieldCrumbledNeighbours(int, int); +void DrawScreenGraphic(int, int, int, int); void DrawScreenElement(int, int, int); void DrawLevelElement(int, int, int); void DrawScreenField(int, int); @@ -190,7 +197,8 @@ void DrawMiniElement(int, int, int); void DrawMiniElementOrWall(int, int, int, int); void ShowEnvelope(int); -void ShowEnvelopeDoor(char *text, int); +void ShowEnvelopeDoor(char *, int); +void DrawEnvelopeRequestToScreen(int, int); void DrawLevel(int); void DrawSizedLevel(int, int, int, int, int); @@ -291,4 +299,6 @@ void ChangeViewportPropertiesIfNeeded(void); boolean CheckIfAllViewportsHaveChanged(void); boolean CheckFadeAll(void); +void TestGeneratingUUIDs(void); + #endif // TOOLS_H