X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=e2bb9f09cf16815403fffdb6ac8a699d75ff4f7a;hb=45483d224aed58ac2cf856b0fcdd2d4707084047;hp=08eb907250e3158924b92e152977c02cc273dafa;hpb=0f953325f06ce1e21439fd90fd1d73d8ee515095;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index 08eb9072..e2bb9f09 100644 --- a/src/tools.h +++ b/src/tools.h @@ -83,7 +83,7 @@ void DrawMaskedBorder_DOOR_3(void); void DrawMaskedBorder_ALL(void); void DrawMaskedBorder(int); void DrawMaskedBorderToTarget(int); -void DrawTileCursor(int); +void DrawTileCursor(int, int); void SetDrawtoField(int); int GetDrawtoField(void); @@ -131,6 +131,7 @@ void FloodFillLevel(int, int, int, short[MAX_LEV_FIELDX][MAX_LEV_FIELDY], int, i void FloodFillLevelExt(int, int, int, int x, int y, short field[x][y], int, int); void SetRandomAnimationValue(int, int); +void SetAnimationFirstLevel(int); int getGraphicAnimationFrame(int, int); int getGraphicAnimationFrameXY(int, int, int); @@ -214,7 +215,7 @@ void DrawNetworkPlayers(void); void ClearNetworkPlayers(void); void WaitForEventToContinue(void); -boolean Request(char *, unsigned int); +int Request(char *, unsigned int); void InitGraphicCompatibilityInfo_Doors(void); void InitDoors(void); unsigned int OpenDoor(unsigned int); @@ -229,6 +230,9 @@ void UndrawSpecialEditorDoor(void); void CreateToolButtons(void); void FreeToolButtons(void); +int map_element_RND_to_BD(int); +int map_element_BD_to_RND(int); + int map_element_RND_to_EM_cave(int); int map_element_EM_to_RND_cave(int); int map_element_EM_to_RND_game(int); @@ -273,6 +277,8 @@ int getBeltSwitchElementFromBeltNrAndBeltDirNr(int, int); int getBeltSwitchElementFromBeltNrAndBeltDir(int, int); unsigned int InitRND(int); + +void InitGraphicInfo_BD(void); void InitGraphicInfo_EM(void); void PlayMenuSoundExt(int);