static struct ArtworkListInfo *image_info = NULL;
+#if 1
+static void *Load_Image(char *filename)
+#else
static void *Load_PCX(char *filename)
+#endif
{
ImageInfo *img_info;
/* ---------- initialize artwork loading/freeing functions ---------- */
+#if 1
+ image_info->load_artwork = Load_Image;
+#else
image_info->load_artwork = Load_PCX;
+#endif
image_info->free_artwork = FreeImage;
}
printf("::: reloading images '%s' ...\n", artwork.gfx_current_identifier);
#endif
+ print_timestamp_init("ReloadCustomImages");
+
LoadArtworkConfig(image_info);
+ print_timestamp_time("LoadArtworkConfig");
+
ReloadCustomArtworkList(image_info);
+ print_timestamp_time("ReloadCustomArtworkList");
+
+ print_timestamp_done("ReloadCustomImages");
}
void CreateImageWithSmallImages(int pos, int zoom_factor)