+void ReloadCustomArtwork()
+{
+ if (artwork.graphics_set_current != artwork.gfx_current->name)
+ {
+ int i;
+
+ ClearRectangle(window, 0, 0, WIN_XSIZE, WIN_YSIZE);
+
+ for(i=0; i<NUM_PICTURES; i++)
+ {
+ DrawInitText(image_filename[i], 150, FC_YELLOW);
+ ReloadCustomImage(pix[i], image_filename[i]);
+ }
+
+ FreeTileClipmasks();
+ InitTileClipmasks();
+ InitGfxBackground();
+
+ SetDoorState(DOOR_OPEN_1 | DOOR_CLOSE_2);
+
+ artwork.graphics_set_current = artwork.gfx_current->name;
+ }
+
+ if (artwork.sounds_set_current != artwork.snd_current->name)
+ {
+ InitReloadSounds(artwork.snd_current->name);
+
+ artwork.sounds_set_current = artwork.snd_current->name;
+ }
+
+ if (artwork.music_set_current != artwork.mus_current->name)
+ {
+ InitReloadMusic(artwork.mus_current->name);
+
+ artwork.music_set_current = artwork.mus_current->name;
+ }
+}
+