printf("::: image: '%s'\n", image->token);
#endif
+#if 0
+ printf("::: image # %d: '%s' ['%s']\n",
+ i, image->token,
+ getTokenFromImageID(i));
+#endif
+
set_graphic_parameters(i, image->parameter);
/* now check if no animation frames are outside of the loaded image */
sound_info[i].loop = FALSE;
#if 0
- printf("::: sound: '%s'\n", sound->token);
+ printf("::: sound %d: '%s'\n", i, sound->token);
#endif
/* determine all loop sounds and identify certain sound classes */
element_action_info[j].suffix) == 0)
{
sound_effect_properties[i] = element_action_info[j].value;
+ sound_info[i].loop = element_action_info[j].is_loop_sound;
- if (element_action_info[j].is_loop_sound)
- sound_info[i].loop = TRUE;
+ break;
}
}