added support for stacked global animations
authorHolger Schemel <info@artsoft.org>
Wed, 8 Feb 2023 21:49:12 +0000 (22:49 +0100)
committerHolger Schemel <info@artsoft.org>
Wed, 8 Feb 2023 21:49:17 +0000 (22:49 +0100)
commit4f1505e125379280d5e68a04ac780e746e6dfdf5
tree59f2d422916fccc9bb858b803464145736aa3d7c
parent4c3c742532e3bee341c909bad60fc417c7c8ed23
added support for stacked global animations

This extension of global animations adds "stacked animations" that are
created by "stacking" the same global animation multiple times, either
horizontally, vertically, or both, with additional options to use some
empty space between two adjacent stacked animations, as follows:

global.anim_X.stacked_xfactor: <x-factor>
global.anim_X.stacked_yfactor: <y-factor>
global.anim_X.stacked_xoffset: <x-offset>
global.anim_X.stacked_yoffset: <y-offset>

This would stack global animation X <x-factor> times horizontally and
<y-factor> times vertically, while adding empty space between stacked
animations of <x-offset> pixels horizontally and <y-offset> vertically.
src/anim.c
src/conf_gfx.c
src/init.c
src/main.h