Removed box_full and box_empty from this.
authorRicardo Cruz <rick2@aeiou.pt>
Thu, 22 Apr 2004 21:24:31 +0000 (21:24 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Thu, 22 Apr 2004 21:24:31 +0000 (21:24 +0000)
They are now implemented as tiles.

SVN-Revision: 660

src/resources.cpp
src/resources.h

index 668a9a2..5da2c82 100644 (file)
@@ -34,8 +34,6 @@ Surface* img_poletop;
 Surface* img_flag[2];
 Surface* img_cloud[2][4];
 
-Surface* img_box_full;
-Surface* img_box_empty;
 Surface* img_red_glow;
 
 SpriteManager* sprite_manager = 0;
@@ -184,14 +182,6 @@ void loadshared()
                USE_ALPHA);
 
 
-  /* Boxes: */
-
-  img_box_full = new Surface(datadir + "/images/shared/box-full.png",
-               IGNORE_ALPHA);
-  img_box_empty = new Surface(datadir + "/images/shared/box-empty.png",
-               IGNORE_ALPHA);
-
-
   /* Water: */
 
 
@@ -334,9 +324,6 @@ void unloadshared(void)
 
   free_badguy_gfx();
 
-  delete img_box_full;
-  delete img_box_empty;
-
   delete img_water;
   for (i = 0; i < 3; i++)
     delete img_waves[i];
index 4133ffa..3a7933e 100644 (file)
@@ -29,8 +29,6 @@ extern Surface* img_poletop;
 extern Surface* img_flag[2];
 extern Surface* img_cloud[2][4];
 
-extern Surface* img_box_full;
-extern Surface* img_box_empty;
 extern Surface* img_super_bkgd;
 extern Surface* img_red_glow;