Included supertux.h stuff into it.
[supertux.git] / src / resources.cpp
index 829141d..b02fe49 100644 (file)
@@ -2,6 +2,8 @@
 #include "scene.h"
 #include "player.h"
 #include "badguy.h"
+#include "gameobjs.h"
+#include "special.h"
 #include "resources.h"
 
 texture_type img_waves[3]; 
@@ -11,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()
 {
@@ -251,7 +259,6 @@ void loadshared()
 
 
   /* Distros: */
-
   texture_load(&img_distro[0], datadir + "/images/shared/distro-0.png",
                USE_ALPHA);
 
@@ -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"
@@ -364,4 +365,3 @@ void unloadshared(void)
 }
 
 /* EOF */
-