changed comments from old to new style (one-line comments only)
[rocksndiamonds.git] / src / tools.h
index a96930f12ea7c331656f564ef559a090efa02093..5243401b18fd328792eefae88ebddd1e575a1e41 100644 (file)
 #include "game.h"
 
 
-/* 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)
@@ -55,7 +55,7 @@
 #define REDRAW_DOOR_FROM_TOKEN(x)      ((x) == DOOR_1 ? REDRAW_DOOR_1 : \
                                         REDRAW_DOOR_2)
 
-/* for Request */
+// for Request
 #define REQ_ASK                        (1 << 0)
 #define REQ_CONFIRM            (1 << 1)
 #define REQ_PLAYER             (1 << 2)
@@ -286,4 +286,4 @@ void ChangeViewportPropertiesIfNeeded(void);
 boolean CheckIfPlayfieldViewportHasChanged(void);
 boolean CheckIfGlobalBorderOrPlayfieldViewportHasChanged(void);
 
-#endif /* TOOLS_H */
+#endif // TOOLS_H