#include <imagemgr.h>
Public Member Functions | |
ImageInfo * | get (const Common::String &name, bool returnUnscaled=false) |
SubImage * | getSubImage (const Common::String &name) |
void | freeIntroBackgrounds () |
const Std::vector< Common::String > & | getSetNames () |
Common::File * | getImageFile (ImageInfo *info) |
bool | imageExists (ImageInfo *info) |
Static Public Member Functions | |
static ImageMgr * | getInstance () |
static void | destroy () |
The image manager singleton that keeps track of all the images.
ImageInfo* Ultima::Ultima4::ImageMgr::get | ( | const Common::String & | name, |
bool | returnUnscaled = false |
||
) |
Load in a background image from a ".ega" file.
SubImage* Ultima::Ultima4::ImageMgr::getSubImage | ( | const Common::String & | name | ) |
Returns information for the given image set.
void Ultima::Ultima4::ImageMgr::freeIntroBackgrounds | ( | ) |
Free up any background images used only in the animations.