changed comments from old to new style (one-line comments only)
[rocksndiamonds.git] / src / game_mm / mm_tools.h
index 39c58a8b5ed1d747679d3fd8dd72f3054577afb8..7b3df48c3a38ff8c7422582cf8319ecf1ff9169f 100644 (file)
 
 #include "main_mm.h"
 
-/* for SetDrawtoField */
-#define DRAW_DIRECT            0
-#define DRAW_BUFFERED          1
-#define DRAW_BACKBUFFER                2
 
-/* for DrawElementShifted */
+// for DrawElementShifted
 #define NO_CUTTING             0
 #define CUT_ABOVE              (1 << 0)
 #define CUT_BELOW              (1 << 1)
 #define CUT_LEFT               (1 << 2)
 #define CUT_RIGHT              (1 << 3)
 
-/* for masking functions */
+// for masking functions
 #define NO_MASKING             0
 #define USE_MASKING            1
 
-/* for MoveDoor */
+// for MoveDoor
 #define DOOR_OPEN_1            (1 << 0)
 #define DOOR_OPEN_2            (1 << 1)
 #define DOOR_CLOSE_1           (1 << 2)
@@ -46,7 +42,7 @@
 #define DOOR_NO_DELAY          (1 << 5)
 #define DOOR_GET_STATE         (1 << 6)
 
-/* for Request */
+// for Request
 #define REQ_ASK                        (1 << 0)
 #define REQ_OPEN               (1 << 1)
 #define REQ_CLOSE              (1 << 2)
 
 #define REQUEST_WAIT_FOR       (REQ_ASK | REQ_CONFIRM)
 
-/* font types */
+// font types
 #define FS_SMALL               0
 #define FS_BIG                 1
 #define FS_MEDIUM              2
 
 
 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);