{
int event_value[] =
{
- ANIM_EVENT_CLICK
+ ANIM_EVENT_CLICK,
+ ANIM_EVENT_INIT,
+ ANIM_EVENT_START,
+ ANIM_EVENT_END,
+ ANIM_EVENT_POST
};
char *pattern_1[] =
{
- "click:anim_"
+ "click:anim_",
+ "init:anim_",
+ "start:anim_",
+ "end:anim_",
+ "post:anim_"
};
char *pattern_2 = ".part_";
char *matching_char = NULL;
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);