projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added several new event types that can trigger global animations
[rocksndiamonds.git]
/
src
/
files.c
diff --git
a/src/files.c
b/src/files.c
index 9f20487fb0e4f5aebb8bd2108b2f7e19040db114..5ec5f7f063e83c9454f7e2d85b3be2b8fb5b2414 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-10066,11
+10066,19
@@
static int get_anim_parameter_value(char *s)
{
int event_value[] =
{
{
int event_value[] =
{
- ANIM_EVENT_CLICK
+ ANIM_EVENT_CLICK,
+ ANIM_EVENT_INIT,
+ ANIM_EVENT_START,
+ ANIM_EVENT_END,
+ ANIM_EVENT_POST
};
char *pattern_1[] =
{
};
char *pattern_1[] =
{
- "click:anim_"
+ "click:anim_",
+ "init:anim_",
+ "start:anim_",
+ "end:anim_",
+ "post:anim_"
};
char *pattern_2 = ".part_";
char *matching_char = NULL;
};
char *pattern_2 = ".part_";
char *matching_char = NULL;