X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=2949115c55f26fa0762d4910851e24410510a71f;hb=d2fe3484366d23690887c6547636cd681db22007;hp=1174199e65b85ce2aac3622f0d47c8249df5ef16;hpb=38ea4e57bc9b730abf7a15f8cc235465e6f0ad4c;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index 1174199e..2949115c 100644 --- a/src/tools.h +++ b/src/tools.h @@ -1,7 +1,7 @@ /*********************************************************** * Rocks'n'Diamonds -- McDuffin Strikes Back! * *----------------------------------------------------------* -* (c) 1995-2002 Artsoft Entertainment * +* (c) 1995-2006 Artsoft Entertainment * * Holger Schemel * * Detmolder Strasse 189 * * 33604 Bielefeld * @@ -62,24 +62,39 @@ void DumpTile(int, int); +void DrawMaskedBorder_FIELD(); +void DrawMaskedBorder_DOOR_1(); +void DrawMaskedBorder_DOOR_2(); +void DrawMaskedBorder_DOOR_3(); +void DrawMaskedBorder_ALL(); +void DrawMaskedBorder(int); + void SetDrawtoField(int); void RedrawPlayfield(boolean, int, int, int, int); void BackToFront(); void FadeToFront(); void FadeIn(int); -void FadeOut(int, int); +void FadeOut(int); 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(); void DrawBackground(int, int, int, int); +void DrawBackgroundForFont(int, int, int, int, int); +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); @@ -161,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); @@ -168,6 +192,8 @@ void PlayMenuSound(); void PlayMenuSoundStereo(int, int); void PlayMenuSoundIfLoop(); void PlayMenuMusic(); +void PlaySoundActivating(); +void PlaySoundSelecting(); void ToggleFullscreenIfNeeded();