#include <scene_data.h>
Public Member Functions | |
| virtual | ~SceneInfo () |
| void | load (int sceneId, int variant, const Common::String &resName, int flags, DepthSurface &depthSurface, BaseSurface &bgSurface) |
| void | loadPalette (int sceneId, int artFileNum, const Common::String &resName, int flags, BaseSurface &bgSurface) |
| void | loadMadsV1Background (int sceneId, const Common::String &resName, int flags, BaseSurface &bgSurface) |
| void | loadMadsV2Background (int sceneId, const Common::String &resName, int flags, BaseSurface &bgSurface) |
| virtual void | loadCodes (BaseSurface &depthSurface, int variant)=0 |
| virtual void | loadCodes (BaseSurface &depthSurface, Common::SeekableReadStream *stream)=0 |
Static Public Member Functions | |
| static SceneInfo * | init (MADSEngine *vm) |
Public Attributes | |
| int | _sceneId |
| int | _artFileNum |
| int | _depthStyle |
| int | _width |
| int | _height |
| int | _yBandsEnd |
| int | _yBandsStart |
| int | _maxScale |
| int | _minScale |
| int | _depthList [15] |
| int | _field4A |
| int | _usageIndex |
| Common::Array< PaletteCycle > | _paletteCycles |
| WalkNodeList | _nodes |
Protected Member Functions | |
| SceneInfo (MADSEngine *vm) | |
Protected Attributes | |
| MADSEngine * | _vm |
Handles general data for a given scene
|
protected |
Constructor
|
inlinevirtual |
Destructor
|
static |
Instantiates the class
| void MADS::SceneInfo::load | ( | int | sceneId, |
| int | variant, | ||
| const Common::String & | resName, | ||
| int | flags, | ||
| DepthSurface & | depthSurface, | ||
| BaseSurface & | bgSurface | ||
| ) |
loads the data
| void MADS::SceneInfo::loadPalette | ( | int | sceneId, |
| int | artFileNum, | ||
| const Common::String & | resName, | ||
| int | flags, | ||
| BaseSurface & | bgSurface | ||
| ) |
Loads the palette for a scene
| void MADS::SceneInfo::loadMadsV1Background | ( | int | sceneId, |
| const Common::String & | resName, | ||
| int | flags, | ||
| BaseSurface & | bgSurface | ||
| ) |
Loads a V1 game background
| void MADS::SceneInfo::loadMadsV2Background | ( | int | sceneId, |
| const Common::String & | resName, | ||
| int | flags, | ||
| BaseSurface & | bgSurface | ||
| ) |
Loads a V2 game background
|
pure virtual |
Loads the given surface with depth information of a given scene
| depthSurface | Depth/walk surface |
| variant | Variant number to load |
Implemented in MADS::Nebular::SceneInfoNebular.
|
pure virtual |
Loads the given surface with depth information of a given scene
| depthSurface | Depth/walk surface |
| stream | Stream to load the data from |
Implemented in MADS::Nebular::SceneInfoNebular.