X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=40a1a5d18ad4375bf397d596a4450078b4f08323;hb=56468eb7fc2e010ec2c2026793af35763195d332;hp=ad6976c8781cf13e424e5eea556c9aa8eb5ef9b4;hpb=5c5685a92a0ca8060018c4d035e6b37fea7e0f5a;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index ad6976c8..40a1a5d1 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -324,6 +324,46 @@ #define STYLE_DEFAULT STYLE_NONE +#define ANIM_EVENT_NONE 0 +#define ANIM_EVENT_CLICK_ANIM_1 (1 << 0) +#define ANIM_EVENT_CLICK_ANIM_2 (1 << 1) +#define ANIM_EVENT_CLICK_ANIM_3 (1 << 2) +#define ANIM_EVENT_CLICK_ANIM_4 (1 << 3) +#define ANIM_EVENT_CLICK_ANIM_5 (1 << 4) +#define ANIM_EVENT_CLICK_ANIM_6 (1 << 5) +#define ANIM_EVENT_CLICK_ANIM_7 (1 << 6) +#define ANIM_EVENT_CLICK_ANIM_8 (1 << 7) +#define ANIM_EVENT_CLICK_PART_1 (1 << 8) +#define ANIM_EVENT_CLICK_PART_2 (1 << 9) +#define ANIM_EVENT_CLICK_PART_3 (1 << 10) +#define ANIM_EVENT_CLICK_PART_4 (1 << 11) +#define ANIM_EVENT_CLICK_PART_5 (1 << 12) +#define ANIM_EVENT_CLICK_PART_6 (1 << 13) +#define ANIM_EVENT_CLICK_PART_7 (1 << 14) +#define ANIM_EVENT_CLICK_PART_8 (1 << 15) +#define ANIM_EVENT_CLICK_SELF (1 << 16) +#define ANIM_EVENT_CLICK_ANY (1 << 17) + +#define ANIM_EVENT_CLICK_ANIM_ALL (ANIM_EVENT_CLICK_ANIM_1 | \ + ANIM_EVENT_CLICK_ANIM_2 | \ + ANIM_EVENT_CLICK_ANIM_3 | \ + ANIM_EVENT_CLICK_ANIM_4 | \ + ANIM_EVENT_CLICK_ANIM_5 | \ + ANIM_EVENT_CLICK_ANIM_6 | \ + ANIM_EVENT_CLICK_ANIM_7 | \ + ANIM_EVENT_CLICK_ANIM_8) + +#define ANIM_EVENT_CLICK_PART_ALL (ANIM_EVENT_CLICK_PART_1 | \ + ANIM_EVENT_CLICK_PART_2 | \ + ANIM_EVENT_CLICK_PART_3 | \ + ANIM_EVENT_CLICK_PART_4 | \ + ANIM_EVENT_CLICK_PART_5 | \ + ANIM_EVENT_CLICK_PART_6 | \ + ANIM_EVENT_CLICK_PART_7 | \ + ANIM_EVENT_CLICK_PART_8) + +#define ANIM_EVENT_DEFAULT ANIM_EVENT_NONE + /* values for fade mode */ #define FADE_TYPE_NONE 0 #define FADE_TYPE_FADE_IN (1 << 0) @@ -357,6 +397,7 @@ #define POS_LOWER 5 #define POS_BOTTOM 6 #define POS_ANY 7 +#define POS_LAST 8 /* values for text alignment */ #define ALIGN_LEFT (1 << 0) @@ -764,6 +805,8 @@ struct ProgramInfo boolean global_scores; boolean many_scores_per_name; + + boolean headless; }; struct OptionInfo @@ -981,6 +1024,8 @@ struct SetupEditorInfo boolean el_by_type; boolean show_element_token; + + boolean use_template_for_new_levels; }; struct SetupEditorCascadeInfo @@ -1090,6 +1135,7 @@ struct SetupInfo boolean team_mode; boolean handicap; boolean skip_levels; + boolean increment_levels; boolean time_limit; boolean fullscreen; int window_scaling_percent;