#include "tools.h"
-/* values for toon definition */
-#define MAX_NUM_TOONS 20
-
static struct ToonInfo toons[MAX_NUM_TOONS];
static void PrepareBackbuffer()
FreeAllImageTextures();
+ for (i = 0; i < MAX_NUM_TOONS; i++)
+ CreateImageTextures(IMG_TOON_1 + i);
+
for (i = 0; i < NUM_GLOBAL_ANIMS; i++)
{
for (j = 0; j < NUM_GLOBAL_ANIM_PARTS_ALL; j++)
#define NUM_FONTS 38
#define NUM_INITIAL_FONTS 4
+/* values for toon animation configuration */
+#define MAX_NUM_TOONS 20
+
/* values for global animation configuration (must match those from main.c) */
#define NUM_GLOBAL_ANIMS 8
#define NUM_GLOBAL_ANIM_PARTS 8