X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=2efb705d828d136bf6ed1a3e8d1d09d68a54b8f8;hb=5c6c42f1ed5cf72421e5a91c903b9c67584399f1;hp=7af465eb5461c1b861ab443b68d416614d3c632a;hpb=0e571d5d795b7ab85fd0f57f0a9e71295dac86f2;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index 7af465eb..2efb705d 100644 --- a/src/tools.h +++ b/src/tools.h @@ -119,8 +119,8 @@ void RedrawGlobalBorder(); void MarkTileDirty(int, int); void SetBorderElement(); -void FloodFillLevel(int, int, int, short[MAX_LEV_FIELDX][MAX_LEV_FIELDY], - int, int); +void FloodFillLevel(int, int, int, short[][MAX_LEV_FIELDY], int, int); +void FloodFillLevelExt(int, int, int, int, int y, short field[][y], int, int); void SetRandomAnimationValue(int, int); int getGraphicAnimationFrame(int, int); @@ -157,6 +157,8 @@ void DrawFixedGraphicThruMaskExt(DrawBuffer *, int, int, int, int); void DrawSizedGraphic(int, int, int, int, int); void DrawSizedGraphicExt(DrawBuffer *, int, int, int, int, int); +void DrawSizedGraphicThruMask(int, int, int, int, int); +void DrawSizedGraphicThruMaskExt(DrawBuffer *, int, int, int, int, int); void DrawMiniGraphic(int, int, int); void DrawMiniGraphicExt(DrawBuffer *, int, int, int); @@ -176,7 +178,9 @@ void DrawLevelElement(int, int, int); void DrawScreenField(int, int); void DrawLevelField(int, int); +void DrawSizedWallParts_MM(int, int, int, int, boolean, int); void DrawSizedElement(int, int, int, int); +void DrawSizedElementThruMask(int, int, int, int); void DrawSizedElementOrWall(int, int, int, int, int); void DrawMiniElement(int, int, int); @@ -221,7 +225,10 @@ int map_action_SP_to_RND(int); int map_element_RND_to_MM(int); int map_element_MM_to_RND(int); +int map_action_MM_to_RND(int); +int map_sound_MM_to_RND(int); int map_mm_wall_element(int); +int map_mm_wall_element_editor(int); int get_next_element(int); int el_act_dir2img(int, int, int); @@ -269,4 +276,7 @@ void ResetFontStatus(); void ToggleFullscreenOrChangeWindowScalingIfNeeded(); void ChangeViewportPropertiesIfNeeded(); +boolean CheckIfPlayfieldViewportHasChanged(); +boolean CheckIfGlobalBorderOrPlayfieldViewportHasChanged(); + #endif /* TOOLS_H */