X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=a9aedb2369defc58adbee8a7b97a5e4ad27c5899;hb=c981ce2708040be6519fa2694c6ea8b4d9c51a27;hp=a96930f12ea7c331656f564ef559a090efa02093;hpb=115ce6f2da1914d68b0fe0e5f9082973190dacdd;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index a96930f1..a9aedb23 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) @@ -284,6 +284,6 @@ void ToggleFullscreenOrChangeWindowScalingIfNeeded(void); void ChangeViewportPropertiesIfNeeded(void); boolean CheckIfPlayfieldViewportHasChanged(void); -boolean CheckIfGlobalBorderOrPlayfieldViewportHasChanged(void); +boolean CheckFadeAll(void); -#endif /* TOOLS_H */ +#endif // TOOLS_H