Use bar-energy for calculate the shape of bars,

...instead of bar-energy-unmoved.

Remove obsolete useless images.
This commit is contained in:
Ali El Gariani 2007-05-11 23:50:19 +00:00
parent 3584e160b1
commit b42cd42c8e
4 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 654 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 666 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 B

View file

@ -1364,7 +1364,7 @@ void display::draw_bar(const std::string& image, int xpos, int ypos, size_t heig
surface surf(image::get_image(image,image::SCALED_TO_ZOOM,image::NO_ADJUST_COLOUR));
// we use UNSCALED because scaling (and bilinear interpolaion )
// is bad for calculate_energy_bar. But we will do a geometric scaling later
surface unmoved_surf(image::get_image("misc/bar-energy-unmoved.png",image::UNSCALED,image::NO_ADJUST_COLOUR));
surface unmoved_surf(image::get_image("misc/bar-energy.png",image::UNSCALED,image::NO_ADJUST_COLOUR));
if(surf == NULL || unmoved_surf == NULL) {
return;
}