X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=2949115c55f26fa0762d4910851e24410510a71f;hb=d2fe3484366d23690887c6547636cd681db22007;hp=1aab5d3244ae971678b1c35b0ee3fee3b5866d65;hpb=1264abe158bef8419451c95e6db9a738eeec76f8;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index 1aab5d32..2949115c 100644 --- a/src/tools.h +++ b/src/tools.h @@ -80,7 +80,10 @@ void FadeCross(int); void FadeCrossSaveBackbuffer(); void ClearWindow(); +void SetWindowBackgroundImageIfDefined(int); void SetMainBackgroundImageIfDefined(int); +void SetDoorBackgroundImageIfDefined(int); +void SetWindowBackgroundImage(int); void SetMainBackgroundImage(int); void SetDoorBackgroundImage(int); void SetPanelBackground(); @@ -90,6 +93,8 @@ void DrawBackgroundForGraphic(int, int, int, int, int); void MarkTileDirty(int, int); void SetBorderElement(); +void FloodFillLevel(int, int, int, short[MAX_LEV_FIELDX][MAX_LEV_FIELDY], + int, int); void SetRandomAnimationValue(int, int); int getGraphicAnimationFrame(int, int); @@ -171,6 +176,15 @@ int el2edimg(int); int el2preimg(int); int font2baseimg(int); +int getBeltNrFromBeltElement(int); +int getBeltNrFromBeltActiveElement(int); +int getBeltNrFromBeltSwitchElement(int); +int getBeltDirNrFromBeltElement(int); +int getBeltDirNrFromBeltSwitchElement(int); +int getBeltDirFromBeltElement(int); +int getBeltDirFromBeltSwitchElement(int); +int getBeltElementFromBeltNrAndBeltDir(int, int); + unsigned int InitRND(long); void InitGraphicInfo_EM(void); @@ -178,6 +192,8 @@ void PlayMenuSound(); void PlayMenuSoundStereo(int, int); void PlayMenuSoundIfLoop(); void PlayMenuMusic(); +void PlaySoundActivating(); +void PlaySoundSelecting(); void ToggleFullscreenIfNeeded();