X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=80f76114b4ed560f7de9164950e168f6b18cd060;hb=7b387b9e5e8095a01c18ea041f19d71be83146b9;hp=1aab5d3244ae971678b1c35b0ee3fee3b5866d65;hpb=1264abe158bef8419451c95e6db9a738eeec76f8;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index 1aab5d32..80f76114 100644 --- a/src/tools.h +++ b/src/tools.h @@ -78,9 +78,20 @@ void FadeIn(int); void FadeOut(int); void FadeCross(int); void FadeCrossSaveBackbuffer(); +void FadeSetEnterMenu(); +void FadeSetLeaveMenu(); +void FadeSetEnterScreen(); +void FadeSetLeaveScreen(); +void FadeSetFromType(int); +void FadeSetDisabled(); +void FadeSkipNextFadeIn(); +void FadeSkipNextFadeOut(); void ClearWindow(); +void SetWindowBackgroundImageIfDefined(int); void SetMainBackgroundImageIfDefined(int); +void SetDoorBackgroundImageIfDefined(int); +void SetWindowBackgroundImage(int); void SetMainBackgroundImage(int); void SetDoorBackgroundImage(int); void SetPanelBackground(); @@ -90,6 +101,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); @@ -104,6 +117,8 @@ void DrawAllPlayers(void); void DrawPlayerField(int, int); void DrawPlayer(struct PlayerInfo *); +void getSizedGraphicSource(int, Bitmap **, int *, int *, int); +void getMiniGraphicSource(int, Bitmap **, int *, int *); void getGraphicSourceExt(int, int, Bitmap **, int *, int *, boolean); void getGraphicSource(int, int, Bitmap **, int *, int *); void DrawGraphic(int, int, int, int); @@ -111,8 +126,9 @@ void DrawGraphicExt(DrawBuffer *, int, int, int, int); void DrawGraphicThruMask(int, int, int, int); void DrawGraphicThruMaskExt(DrawBuffer *, int, int, int, int); +void DrawSizedGraphic(int, int, int, int); +void DrawSizedGraphicExt(DrawBuffer *, int, int, int, int); void DrawMiniGraphic(int, int, int); -void getMiniGraphicSource(int, Bitmap **, int *, int *); void DrawMiniGraphicExt(DrawBuffer *, int, int, int); void DrawScreenElementExt(int, int, int, int, int, int, int); @@ -169,15 +185,31 @@ int el2baseimg(int); int el2img(int); int el2edimg(int); int el2preimg(int); +int el2doorimg(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(); void ToggleFullscreenIfNeeded();