- moved loadshared() to the right point
[supertux.git] / src / resources.cpp
index 4fe0740..b02fe49 100644 (file)
@@ -3,6 +3,7 @@
 #include "player.h"
 #include "badguy.h"
 #include "gameobjs.h"
+#include "special.h"
 #include "resources.h"
 
 texture_type img_waves[3]; 
@@ -12,6 +13,12 @@ texture_type img_poletop;
 texture_type img_flag[2];
 texture_type img_cloud[2][4];
 
+texture_type img_box_full;
+texture_type img_box_empty;
+texture_type img_mints;
+texture_type img_coffee;
+texture_type img_red_glow;
+
 /* Load graphics/sounds shared between all levels: */
 void loadshared()
 {
@@ -276,12 +283,6 @@ void loadshared()
                USE_ALPHA);
 
 
-  /* Super background: */
-
-  texture_load(&img_super_bkgd, datadir + "/images/shared/super-bkgd.png",
-               IGNORE_ALPHA);
-
-
   /* Sound effects: */
 
   /* if (use_sound) // this will introduce SERIOUS bugs here ! because "load_sound"