From: Ricardo Cruz Date: Thu, 22 Apr 2004 21:24:31 +0000 (+0000) Subject: Removed box_full and box_empty from this. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=eb5a43f2e99b6e6bcb8329848ac19ea6f8e3d278;p=supertux.git Removed box_full and box_empty from this. They are now implemented as tiles. SVN-Revision: 660 --- diff --git a/src/resources.cpp b/src/resources.cpp index 668a9a214..5da2c82ff 100644 --- a/src/resources.cpp +++ b/src/resources.cpp @@ -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]; diff --git a/src/resources.h b/src/resources.h index 4133ffa06..3a7933e96 100644 --- a/src/resources.h +++ b/src/resources.h @@ -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;