ScummVM API documentation
Ultima::Ultima4::ImageMgr Class Reference

#include <imagemgr.h>

Inheritance diagram for Ultima::Ultima4::ImageMgr:
Ultima::Ultima4::Observer< Settings *>

Public Member Functions

ImageInfoget (const Common::String &name, bool returnUnscaled=false)
 
SubImagegetSubImage (const Common::String &name)
 
void freeIntroBackgrounds ()
 
const Std::vector< Common::String > & getSetNames ()
 
Common::FilegetImageFile (ImageInfo *info)
 
bool imageExists (ImageInfo *info)
 

Static Public Member Functions

static ImageMgrgetInstance ()
 
static void destroy ()
 

Detailed Description

The image manager singleton that keeps track of all the images.

Member Function Documentation

◆ get()

ImageInfo* Ultima::Ultima4::ImageMgr::get ( const Common::String name,
bool  returnUnscaled = false 
)

Load in a background image from a ".ega" file.

◆ getSubImage()

SubImage* Ultima::Ultima4::ImageMgr::getSubImage ( const Common::String name)

Returns information for the given image set.

◆ freeIntroBackgrounds()

void Ultima::Ultima4::ImageMgr::freeIntroBackgrounds ( )

Free up any background images used only in the animations.


The documentation for this class was generated from the following file: