X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftools.h;h=5243401b18fd328792eefae88ebddd1e575a1e41;hp=a96930f12ea7c331656f564ef559a090efa02093;hb=64e7c54dce6ea8c063f04198c64c5057d751c928;hpb=855700d73bbef8bb1248fe0ac735738478d6044b diff --git a/src/tools.h b/src/tools.h index a96930f1..5243401b 100644 --- a/src/tools.h +++ b/src/tools.h @@ -16,18 +16,18 @@ #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