X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_mm%2Fmm_tools.h;h=d491c4274b7775c64f68970dd1f0a89d02f0ccd8;hb=6e9813476a7d45f1f6fba23357e10b3aff33c0c2;hp=39c58a8b5ed1d747679d3fd8dd72f3054577afb8;hpb=8cef7dc31f5b96c492079d59acab2cb1587b3c8c;p=rocksndiamonds.git diff --git a/src/game_mm/mm_tools.h b/src/game_mm/mm_tools.h index 39c58a8b..d491c427 100644 --- a/src/game_mm/mm_tools.h +++ b/src/game_mm/mm_tools.h @@ -16,10 +16,6 @@ #include "main_mm.h" -/* for SetDrawtoField */ -#define DRAW_DIRECT 0 -#define DRAW_BUFFERED 1 -#define DRAW_BACKBUFFER 2 /* for DrawElementShifted */ #define NO_CUTTING 0 @@ -63,18 +59,16 @@ void SetDrawtoField_MM(int); -void BackToFront(); -void FadeToFront(); -void ClearWindow(); +void BackToFront(void); +void FadeToFront(void); +void ClearWindow(void); void MarkTileDirty(int, int); void DrawAllPlayers_MM(void); void DrawPlayerField_MM(int, int); void DrawPlayer_MM(struct PlayerInfo *); -void DrawGraphicAnimationExt_MM(int, int, int, int, int, int, int); -void DrawGraphicAnimation_MM(int, int, int, int, int, int); -void DrawGraphicAnimationThruMask_MM(int, int, int, int, int, int); +void DrawGraphicAnimation_MM(int, int, int, int); void DrawGraphic_MM(int, int, int); void DrawGraphicExt_MM(DrawBuffer *, int, int, int); @@ -102,6 +96,7 @@ void DrawMiniElementOrWall_MM(int, int, int, int); void DrawField_MM(int, int); void DrawLevel_MM(void); +void DrawLaser_MM(void); void DrawElement_MM(int, int, int); void DrawWallsExt_MM(int, int, int, int); void DrawWalls_MM(int, int, int); @@ -114,12 +109,12 @@ unsigned int OpenDoor(unsigned int); unsigned int CloseDoor(unsigned int); unsigned int GetDoorState(void); unsigned int MoveDoor(unsigned int); -void DrawSpecialEditorDoor_MM(); -void UndrawSpecialEditorDoor(); +void DrawSpecialEditorDoor_MM(void); +void UndrawSpecialEditorDoor(void); Pixel ReadPixel(DrawBuffer *, int, int); void SetRGB(unsigned int, unsigned short, unsigned short, unsigned short); -void CreateToolButtons(); +void CreateToolButtons(void); int get_base_element(int); int get_element_phase(int);