X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=e2bb9f09cf16815403fffdb6ac8a699d75ff4f7a;hb=45483d224aed58ac2cf856b0fcdd2d4707084047;hp=e80efbf2057908d46b705d0da47d3fbb84fcfad8;hpb=e09651f7389e369d07f23cbdd009937a33ba37c5;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index e80efbf2..e2bb9f09 100644 --- a/src/tools.h +++ b/src/tools.h @@ -63,8 +63,6 @@ #define REQ_STAY_CLOSED (1 << 4) #define REQ_REOPEN (1 << 5) -#define REQUEST_WAIT_FOR_INPUT (REQ_ASK | REQ_CONFIRM | REQ_PLAYER) - int getFieldbufferOffsetX_RND(int, int); int getFieldbufferOffsetY_RND(int, int); @@ -85,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); @@ -133,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); @@ -203,7 +202,7 @@ void DrawMiniElementOrWall(int, int, int, int); void ShowEnvelope(int); void ShowEnvelopeDoor(char *, int); -void DrawEnvelopeRequestToScreen(int, int); +void DrawEnvelopeRequestToScreen(int); void DrawLevel(int); void DrawSizedLevel(int, int, int, int, int); @@ -216,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); @@ -231,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); @@ -275,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);