From: Holger Schemel Date: Sun, 8 Oct 2023 11:35:15 +0000 (+0200) Subject: added selecting element for group elements according to current level X-Git-Tag: 4.3.7.0~11 X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=commitdiff_plain;h=5a6485f6e5b16c06708c45c2ebb1bfd6d5915c9a added selecting element for group elements according to current level This change works similar to the previous commit, but not selecting an animation frame according to the current level, but selecting a game element from a number of elements in a group element (selecting the first element for the first level, the second element for the second level, and so on, again overwrapping if there are more levels than game elements defined for the group element). That way, different game elements can be used in different levels which all use the same group elements. --- diff --git a/src/editor.c b/src/editor.c index 21fd262d..177336f7 100644 --- a/src/editor.c +++ b/src/editor.c @@ -2465,6 +2465,7 @@ static struct ValueTextInfo options_group_choice_mode[] = { ANIM_LINEAR, "linear" }, { ANIM_PINGPONG, "pingpong" }, { ANIM_PINGPONG2, "pingpong 2" }, + { ANIM_LEVEL_NR, "level number" }, { -1, NULL } };