ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::BaseSurfaceStorage Class Reference

#include <base_surface_storage.h>

Inheritance diagram for Wintermute::BaseSurfaceStorage:
Collaboration diagram for Wintermute::BaseSurfaceStorage:

List of all members.

Public Member Functions

bool initLoop ()
bool sortSurfaces ()
bool cleanup (bool warn=false)
bool restoreAll ()
BaseSurfaceaddSurface (const Common::String &filename, bool defaultCK=true, byte ckRed=0, byte ckGreen=0, byte ckBlue=0, int lifeTime=-1, bool keepLoaded=false)
bool removeSurface (BaseSurface *surface)
 BaseSurfaceStorage (BaseGame *inGame)
 ~BaseSurfaceStorage () override

Static Public Member Functions

static bool surfaceSortCB (const BaseSurface *arg1, const BaseSurface *arg2)

Public Attributes

uint32 _lastCleanupTime
Common::Array< BaseSurface * > _surfaces

Detailed Description

Definition at line 37 of file base_surface_storage.h.

Constructor & Destructor Documentation

Wintermute::BaseSurfaceStorage::BaseSurfaceStorage ( BaseGame inGame  ) 

Definition at line 43 of file base_surface_storage.cpp.

Wintermute::BaseSurfaceStorage::~BaseSurfaceStorage (  )  [override]

Definition at line 49 of file base_surface_storage.cpp.

Member Function Documentation

BaseSurface * Wintermute::BaseSurfaceStorage::addSurface ( const Common::String filename,
bool  defaultCK = true,
byte  ckRed = 0,
byte  ckGreen = 0,
byte  ckBlue = 0,
int  lifeTime = -1,
bool  keepLoaded = false 

Definition at line 105 of file base_surface_storage.cpp.

bool Wintermute::BaseSurfaceStorage::cleanup ( bool  warn = false  ) 

Definition at line 55 of file base_surface_storage.cpp.

bool Wintermute::BaseSurfaceStorage::initLoop (  ) 

Definition at line 69 of file base_surface_storage.cpp.

bool Wintermute::BaseSurfaceStorage::removeSurface ( BaseSurface surface  ) 

Definition at line 89 of file base_surface_storage.cpp.

bool Wintermute::BaseSurfaceStorage::restoreAll (  ) 

Definition at line 143 of file base_surface_storage.cpp.

bool Wintermute::BaseSurfaceStorage::sortSurfaces (  ) 

Definition at line 173 of file base_surface_storage.cpp.

bool Wintermute::BaseSurfaceStorage::surfaceSortCB ( const BaseSurface arg1,
const BaseSurface arg2 
) [static]

Definition at line 180 of file base_surface_storage.cpp.

Member Data Documentation

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

Generated on Sat Sep 26 2020 05:04:12 for ResidualVM by doxygen 1.7.1
curved edge   curved edge