X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=7cdd23a5eabdfdf6056ed98d54abac821a747299;hb=c6bdf2fa014d0a3dd50260a409704e487e73e572;hp=1c26b6d6fdb771c10d4ba1060064e9a0e474c8ce;hpb=462bca0782be497b984922afda26b5bf12bd3d75;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index 1c26b6d6..7cdd23a5 100644 --- a/src/tools.h +++ b/src/tools.h @@ -82,6 +82,8 @@ void FadeCrossSaveBackbuffer(); void ClearWindow(); void SetWindowBackgroundImageIfDefined(int); void SetMainBackgroundImageIfDefined(int); +void SetDoorBackgroundImageIfDefined(int); +void SetWindowBackgroundImage(int); void SetMainBackgroundImage(int); void SetDoorBackgroundImage(int); void SetPanelBackground(); @@ -91,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); @@ -172,12 +176,25 @@ 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); +int getBeltSwitchElementFromBeltNrAndBeltDir(int, int); + unsigned int InitRND(long); void InitGraphicInfo_EM(void); +void PlayMenuSoundExt(int); void PlayMenuSound(); void PlayMenuSoundStereo(int, int); +void PlayMenuSoundIfLoopExt(int); void PlayMenuSoundIfLoop(); +void PlayMenuMusicExt(int); void PlayMenuMusic(); void PlaySoundActivating(); void PlaySoundSelecting();