// ---------- part 1 ------------------------------------------------------
// start or stop global animations by change of game mode
// (special handling of animations for "current screen" and "all screens")
// ---------- part 1 ------------------------------------------------------
// start or stop global animations by change of game mode
// (special handling of animations for "current screen" and "all screens")
if (isClickedPart(part, mx, my, clicked))
{
if (isClickedPart(part, mx, my, clicked))
{
// check if this click is defined to trigger other animations
int gic_anim_nr = part->old_anim_nr + 1; // X as in "anim_X"
// check if this click is defined to trigger other animations
int gic_anim_nr = part->old_anim_nr + 1; // X as in "anim_X"
struct GlobalAnimPartControlInfo *part2 = &anim2->part[part2_nr];
if (isClickablePart(part2, mask))
struct GlobalAnimPartControlInfo *part2 = &anim2->part[part2_nr];
if (isClickablePart(part2, mask))