added support for custom elements triggering global animations
authorHolger Schemel <info@artsoft.org>
Sat, 29 Jul 2023 23:50:39 +0000 (01:50 +0200)
committerHolger Schemel <info@artsoft.org>
Sun, 3 Sep 2023 20:59:57 +0000 (22:59 +0200)
commit064d7909aadd84f633fefcccee3c6f6eb44d47ff
treeb2da5997807929af6fa9481b2ea956b7f41b9072
parentf110301d5f36f0a9bf0a7f45208c4cd6c85acb01
added support for custom elements triggering global animations

For the global animation options ".init_event" or "anim_event" in file
"graphicsinfo.conf", the new value "ce_change:custom_xxx" can be used
to trigger (initiate or continue) the corresponding global animation
whenever custom element "custom_xxx" changes.
src/anim.c
src/anim.h
src/files.c
src/game.c
src/libgame/system.h
src/main.h