added support for setting alpha value for global animations
authorHolger Schemel <info@artsoft.org>
Sun, 19 Nov 2023 11:27:57 +0000 (12:27 +0100)
committerHolger Schemel <info@artsoft.org>
Sun, 19 Nov 2023 13:20:22 +0000 (14:20 +0100)
commita9e8a4cac51cb2856f339d84bab5e07e8be75037
tree5bca54a36dcffa48f71c4737ee775ab8abb735f5
parent38a107846ee06e0643bc50ee270962b3c8872cb0
added support for setting alpha value for global animations

To set alpha value for global animation graphics, just use the new
attribute ".alpha" for the global animation's graphics definition,
where the value "0" means transparent and "255" means "opaque".
src/anim.c
src/conf_gfx.c
src/init.c
src/libgame/sdl.c
src/libgame/sdl.h
src/libgame/system.c
src/libgame/system.h
src/main.h