From: Holger Schemel Date: Mon, 12 Jun 2023 16:59:42 +0000 (+0200) Subject: reordered some preprocessor definitions X-Git-Tag: 4.3.7.0~47 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=63589afd20f61506754ef5fed6743bc681ed47c8;p=rocksndiamonds.git reordered some preprocessor definitions --- diff --git a/src/libgame/system.h b/src/libgame/system.h index acc20894..bec94cf5 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -379,34 +379,6 @@ #define ANIM_DEFAULT ANIM_LOOP -// values for special drawing styles and event handling -#define STYLE_NONE 0 - -// values used for crumbled graphics -#define STYLE_ACCURATE_BORDERS (1 << 0) -#define STYLE_INNER_CORNERS (1 << 1) - -// values used for game panel graphics -#define STYLE_REVERSE (1 << 2) -#define STYLE_LEFTMOST_POSITION (1 << 3) - -// values used for global animations -#define STYLE_BLOCK (1 << 4) -#define STYLE_PASSTHROUGH (1 << 5) -#define STYLE_MULTIPLE_ACTIONS (1 << 6) - -#define STYLE_DEFAULT STYLE_NONE - -// values for special global animation delay types -#define ANIM_DELAY_UNDEFINED -1 -#define ANIM_DELAY_NONE 0 -#define ANIM_DELAY_INIT 1 -#define ANIM_DELAY_ANIM 2 -#define ANIM_DELAY_POST 3 - -// values for special global animation delay actions -#define ANIM_DELAY_ACTION_NONE -1 - // values for special global animation events #define ANIM_EVENT_UNDEFINED -1 #define ANIM_EVENT_NONE 0 @@ -432,6 +404,34 @@ // values for special global animation event actions #define ANIM_EVENT_ACTION_NONE -1 +// values for special global animation delay types +#define ANIM_DELAY_UNDEFINED -1 +#define ANIM_DELAY_NONE 0 +#define ANIM_DELAY_INIT 1 +#define ANIM_DELAY_ANIM 2 +#define ANIM_DELAY_POST 3 + +// values for special global animation delay actions +#define ANIM_DELAY_ACTION_NONE -1 + +// values for special drawing styles and event handling +#define STYLE_NONE 0 + +// values used for crumbled graphics +#define STYLE_ACCURATE_BORDERS (1 << 0) +#define STYLE_INNER_CORNERS (1 << 1) + +// values used for game panel graphics +#define STYLE_REVERSE (1 << 2) +#define STYLE_LEFTMOST_POSITION (1 << 3) + +// values used for global animations +#define STYLE_BLOCK (1 << 4) +#define STYLE_PASSTHROUGH (1 << 5) +#define STYLE_MULTIPLE_ACTIONS (1 << 6) + +#define STYLE_DEFAULT STYLE_NONE + // values for fade mode #define FADE_TYPE_NONE 0 #define FADE_TYPE_FADE_IN (1 << 0)