X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ffiles.c;h=cf3c80a9c295d20b1a59f6e68890b61a2d9573a7;hb=a29d462b1da802456be5d55e67337541aa0cbcc5;hp=5ec5f7f063e83c9454f7e2d85b3be2b8fb5b2414;hpb=f4d75550969f97716de4b9f5340b8fcf835ab7fc;p=rocksndiamonds.git diff --git a/src/files.c b/src/files.c index 5ec5f7f0..cf3c80a9 100644 --- a/src/files.c +++ b/src/files.c @@ -10168,6 +10168,9 @@ static int get_anim_parameter_values(char *s) string_has_parameter(s, "self")) event_value |= ANIM_EVENT_SELF; + if (string_has_parameter(s, "unclick:any")) + event_value |= ANIM_EVENT_UNCLICK_ANY; + // if animation event found, add it to global animation event list if (event_value != ANIM_EVENT_NONE) list_pos = AddGlobalAnimEventValue(list_pos, event_value); @@ -10287,7 +10290,10 @@ int get_parameter_value(char *value_raw, char *suffix, int type) { result = get_anim_parameter_values(value); } - else if (strEqual(suffix, ".init_event_action") || + else if (strEqual(suffix, ".init_delay_action") || + strEqual(suffix, ".anim_delay_action") || + strEqual(suffix, ".post_delay_action") || + strEqual(suffix, ".init_event_action") || strEqual(suffix, ".anim_event_action")) { result = get_anim_action_parameter_value(value_raw);