ScummVM
Composer::ComposerEngine Class Reference

#include <composer.h>

+ Inheritance diagram for Composer::ComposerEngine:
+ Collaboration diagram for Composer::ComposerEngine:

Public Member Functions

 ComposerEngine (OSystem *syst, const ComposerGameDescription *gameDesc)
 
 ~ComposerEngine () override
 
bool hasFeature (EngineFeature f) const override
 Determine whether the engine supports the specified feature. More...
 
int getGameType () const
 
const char * getGameId () const
 
uint32 getFeatures () const
 
Common::Language getLanguage () const
 
Common::Platform getPlatform () const
 
bool loadDetectedConfigFile (Common::INIFile &configFile) const
 
- Public Member Functions inherited from Engine
 Engine (OSystem *syst)
 
virtual ~Engine ()
 
virtual void initializePath (const Common::FSNode &gamePath)
 Init SearchMan according to the game path. More...
 
virtual void errorString (const char *buf_input, char *buf_output, int buf_output_size)
 Prepare an error string, which is printed by the error() function. More...
 
virtual GUI::DebuggergetDebugger ()
 Return the engine's debugger instance, if any. More...
 
void setDebugger (GUI::Debugger *debugger)
 Sets the engine's debugger. More...
 
GUI::DebuggergetOrCreateDebugger ()
 Return the engine's debugger instance, or create one if none is present. More...
 
virtual void syncSoundSettings ()
 Notify the engine that the sound settings in the config manager may have changed and that it hence should adjust any internal volume etc. More...
 
virtual void flipMute ()
 Flip mute all sound option. More...
 
virtual Common::Error loadGameStream (Common::SeekableReadStream *stream)
 Load a game state. More...
 
void setGameToLoadSlot (int slot)
 Sets the game slot for a savegame to be loaded after global main menu execution. More...
 
virtual Common::Error saveGameStream (Common::WriteStream *stream, bool isAutosave=false)
 Save a game state. More...
 
bool saveGameDialog ()
 Shows the ScummVM save dialog, allowing users to save their game. More...
 
bool loadGameDialog ()
 Shows the ScummVM Restore dialog, allowing users to load a game. More...
 
void pauseEngine (bool pause)
 Pause or resume the engine. More...
 
bool isPaused () const
 Return whether the engine is currently paused or not. More...
 
void openMainMenuDialog ()
 Run the Global Main Menu Dialog. More...
 
uint32 getTotalPlayTime () const
 Get the total play time. More...
 
void setTotalPlayTime (uint32 time=0)
 Set the game time counter to the specified time. More...
 
Common::TimerManagergetTimerManager ()
 
Common::EventManagergetEventManager ()
 
Common::SaveFileManagergetSaveFileManager ()
 
void checkCD ()
 On some systems, check if the game appears to be run from CD. More...
 
void handleAutoSave ()
 Checks for whether it's time to do an autosave, and if so, does it. More...
 
void saveAutosaveIfEnabled ()
 Does an autosave immediately if autosaves are turned on. More...
 
virtual bool canSaveAutosaveCurrently ()
 Indicates whether an autosave can currently be saved. More...
 
virtual int getAutosaveSlot () const
 Returns the slot that should be used for autosaves. More...
 
bool shouldPerformAutoSave (int lastSaveTime)
 

Public Attributes

const ComposerGameDescription_gameDescription
 
- Public Attributes inherited from Engine
OSystem_system
 
Audio::Mixer_mixer
 

Protected Member Functions

Common::Error run () override
 Init the engine and start its main loop. More...
 
template<typename T >
void syncArray (Common::Serializer &ser, Common::Array< T > &data, Common::Serializer::Version minVersion=0, Common::Serializer::Version maxVersion=Common::Serializer::kLastVersion)
 
template<typename T >
void syncList (Common::Serializer &ser, Common::List< T > &data, Common::Serializer::Version minVersion=0, Common::Serializer::Version maxVersion=Common::Serializer::kLastVersion)
 
template<typename T >
void syncListReverse (Common::Serializer &ser, Common::List< T > &data, Common::Serializer::Version minVersion=0, Common::Serializer::Version maxVersion=Common::Serializer::kLastVersion)
 
template<typename T >
void sync (Common::Serializer &ser, T &data, Common::Serializer::Version minVersion, Common::Serializer::Version maxVersion)
 
bool canLoadGameStateCurrently () override
 Indicates whether a game state can be loaded. More...
 
Common::Error loadGameState (int slot) override
 Load a game state. More...
 
bool canSaveGameStateCurrently () override
 Indicates whether a game state can be saved. More...
 
Common::Error saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override
 Save a game state. More...
 
template<>
void sync (Common::Serializer &ser, uint16 &data, Common::Serializer::Version minVersion, Common::Serializer::Version maxVersion)
 
template<>
void sync (Common::Serializer &ser, uint32 &data, Common::Serializer::Version minVersion, Common::Serializer::Version maxVersion)
 
template<>
void sync (Common::Serializer &ser, Library &data, Common::Serializer::Version minVersion, Common::Serializer::Version maxVersion)
 
template<>
void syncListReverse (Common::Serializer &ser, Common::List< Library > &data, Common::Serializer::Version minVersion, Common::Serializer::Version maxVersion)
 
template<>
void sync (Common::Serializer &ser, PendingPageChange &data, Common::Serializer::Version minVersion, Common::Serializer::Version maxVersion)
 
template<>
void sync (Common::Serializer &ser, OldScript *&data, Common::Serializer::Version minVersion, Common::Serializer::Version maxVersion)
 
template<>
void sync (Common::Serializer &ser, QueuedScript &data, Common::Serializer::Version minVersion, Common::Serializer::Version maxVersion)
 
template<>
void sync (Common::Serializer &ser, Pipe *&data, Common::Serializer::Version minVersion, Common::Serializer::Version maxVersion)
 
template<>
void sync (Common::Serializer &ser, AnimationEntry &data, Common::Serializer::Version minVersion, Common::Serializer::Version maxVersion)
 
template<>
void sync (Common::Serializer &ser, Animation *&data, Common::Serializer::Version minVersion, Common::Serializer::Version maxVersion)
 
template<>
void sync (Common::Serializer &ser, Sprite &data, Common::Serializer::Version minVersion, Common::Serializer::Version maxVersion)
 
- Protected Member Functions inherited from Engine
virtual int runDialog (GUI::Dialog &dialog)
 
virtual void pauseEngineIntern (bool pause)
 Actual implementation of pauseEngine by subclasses. More...
 

Private Member Functions

void onMouseDown (const Common::Point &pos)
 
void onMouseMove (const Common::Point &pos)
 
void onKeyDown (uint16 keyCode)
 
void setCursor (uint16 id, const Common::Point &offset)
 
void setCursorVisible (bool visible)
 
virtual Common::String getSaveStateName (int slot) const override
 Generates the savegame filename. More...
 
Common::String getStringFromConfig (const Common::String &section, const Common::String &key)
 
Common::String getFilename (const Common::String &section, uint id)
 
Common::String mangleFilename (Common::String filename)
 
void loadLibrary (uint id)
 
void unloadLibrary (uint id)
 
bool hasResource (uint32 tag, uint16 id)
 
Common::SeekableReadStreamgetResource (uint32 tag, uint16 id)
 
void runEvent (uint16 id, int16 param1, int16 param2, int16 param3)
 
int16 runScript (uint16 id, int16 param1, int16 param2, int16 param3)
 
int16 getArg (uint16 arg, uint16 type)
 
void setArg (uint16 arg, uint16 type, uint16 val)
 
void runScript (uint16 id)
 
int16 scriptFuncCall (uint16 id, int16 param1, int16 param2, int16 param3)
 
void runOldScript (uint16 id, uint16 wait)
 
void stopOldScript (uint16 id)
 
void tickOldScripts ()
 
bool tickOldScript (OldScript *script)
 
void loadAnimation (Animation *&anim, uint16 animId, int16 x, int16 y, int16 eventParam, int32 size=0)
 
void playAnimation (uint16 animId, int16 param1, int16 param2, int16 param3)
 
void stopAnimation (Animation *anim, bool localOnly=false, bool pipesOnly=false)
 
void playWaveForAnim (uint16 id, uint16 priority, bool bufferingOnly)
 
void processAnimFrame ()
 
void playPipe (uint16 id)
 
void stopPipes ()
 
bool spriteVisible (uint16 id, uint16 animId)
 
SpriteaddSprite (uint16 id, uint16 animId, uint16 zorder, const Common::Point &pos)
 
void removeSprite (uint16 id, uint16 animId)
 
const SpritegetSpriteAtPos (const Common::Point &pos)
 
const ButtongetButtonFor (const Sprite *sprite, const Common::Point &pos)
 
void setButtonActive (uint16 id, bool active)
 
void dirtySprite (const Sprite &sprite)
 
void redraw ()
 
void loadCTBL (uint16 id, uint fadePercent)
 
void setBackground (uint16 id)
 
void decompressBitmap (uint16 type, Common::SeekableReadStream *stream, byte *buffer, uint32 size, uint width, uint height)
 
bool initSprite (Sprite &sprite)
 
Common::SeekableReadStreamgetStreamForSprite (uint16 id)
 
void drawSprite (const Sprite &sprite)
 

Private Attributes

Common::RandomSource_rnd
 
Audio::SoundHandle _soundHandle
 
Audio::QueuingAudioStream_audioStream
 
uint16 _currSoundPriority
 
uint32 _currentTime
 
uint32 _lastTime
 
uint32 _timeDelta
 
bool _needsUpdate
 
Common::Array< Common::Rect_dirtyRects
 
Graphics::Surface _screen
 
Common::List< Sprite_sprites
 
uint _directoriesToStrip
 
Common::INIFile _bookIni
 
Common::String _bookGroup
 
Common::List< Library_libraries
 
Common::Array< PendingPageChange_pendingPageChanges
 
Common::Array< uint16_stack
 
Common::Array< uint16_vars
 
Common::List< OldScript * > _oldScripts
 
Common::Array< QueuedScript_queuedScripts
 
Common::List< Animation * > _anims
 
Common::List< Pipe * > _pipes
 
Common::Array< Common::SeekableReadStream * > _pipeStreams
 
Common::HashMap< uint16, Common::Array< RandomEvent > > _randomEvents
 
bool _mouseEnabled
 
bool _mouseVisible
 
Common::Point _lastMousePos
 
const Button_lastButton
 
uint16 _mouseSpriteId
 
Common::Point _mouseOffset
 

Additional Inherited Members

- Public Types inherited from Engine
enum  EngineFeature { kSupportsSubtitleOptions, kSupportsRTL, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime }
 A feature in this context means an ability of the engine which can be either available or not. More...
 
- Static Public Member Functions inherited from Engine
static void quitGame ()
 Request the engine to quit. More...
 
static bool shouldQuit ()
 Return whether the ENGINE should quit respectively should return to the launcher. More...
 
static MetaEnginegetMetaEngine ()
 
static bool warnUserAboutUnsupportedGame ()
 Display a warning to the user that the game is not fully supported. More...
 
- Protected Attributes inherited from Engine
Common::TimerManager_timer
 
Common::EventManager_eventMan
 
Common::SaveFileManager_saveFileMan
 
GUI::Dialog_mainMenuDialog
 
const Common::String _targetName
 

Detailed Description

Definition at line 157 of file composer.h.

Constructor & Destructor Documentation

◆ ComposerEngine()

Composer::ComposerEngine::ComposerEngine ( OSystem syst,
const ComposerGameDescription gameDesc 
)

Definition at line 43 of file composer.cpp.

◆ ~ComposerEngine()

Composer::ComposerEngine::~ComposerEngine ( )
override

Definition at line 57 of file composer.cpp.

Member Function Documentation

◆ addSprite()

Sprite * Composer::ComposerEngine::addSprite ( uint16  id,
uint16  animId,
uint16  zorder,
const Common::Point pos 
)
private

Definition at line 439 of file graphics.cpp.

◆ canLoadGameStateCurrently()

bool Composer::ComposerEngine::canLoadGameStateCurrently ( )
inlineoverrideprotectedvirtual

Indicates whether a game state can be loaded.

Reimplemented from Engine.

Definition at line 169 of file composer.h.

◆ canSaveGameStateCurrently()

bool Composer::ComposerEngine::canSaveGameStateCurrently ( )
inlineoverrideprotectedvirtual

Indicates whether a game state can be saved.

Reimplemented from Engine.

Definition at line 171 of file composer.h.

◆ decompressBitmap()

void Composer::ComposerEngine::decompressBitmap ( uint16  type,
Common::SeekableReadStream stream,
byte buffer,
uint32  size,
uint  width,
uint  height 
)
private

Definition at line 676 of file graphics.cpp.

◆ dirtySprite()

void Composer::ComposerEngine::dirtySprite ( const Sprite sprite)
private

Definition at line 527 of file graphics.cpp.

◆ drawSprite()

void Composer::ComposerEngine::drawSprite ( const Sprite sprite)
private

Definition at line 831 of file graphics.cpp.

◆ getArg()

int16 Composer::ComposerEngine::getArg ( uint16  arg,
uint16  type 
)
private

Definition at line 139 of file scripting.cpp.

◆ getButtonFor()

const Button * Composer::ComposerEngine::getButtonFor ( const Sprite sprite,
const Common::Point pos 
)
private

Definition at line 657 of file composer.cpp.

◆ getFeatures()

uint32 Composer::ComposerEngine::getFeatures ( ) const

Definition at line 47 of file detection.cpp.

◆ getFilename()

Common::String Composer::ComposerEngine::getFilename ( const Common::String section,
uint  id 
)
private

Definition at line 338 of file composer.cpp.

◆ getGameId()

const char * Composer::ComposerEngine::getGameId ( ) const

Definition at line 43 of file detection.cpp.

◆ getGameType()

int Composer::ComposerEngine::getGameType ( ) const

Definition at line 39 of file detection.cpp.

◆ getLanguage()

Common::Language Composer::ComposerEngine::getLanguage ( ) const

Definition at line 51 of file detection.cpp.

◆ getPlatform()

Common::Platform Composer::ComposerEngine::getPlatform ( ) const

Definition at line 55 of file detection.cpp.

◆ getResource()

Common::SeekableReadStream * Composer::ComposerEngine::getResource ( uint32  tag,
uint16  id 
)
private

Definition at line 550 of file composer.cpp.

◆ getSaveStateName()

Common::String Composer::ComposerEngine::getSaveStateName ( int  slot) const
overrideprivatevirtual

Generates the savegame filename.

Reimplemented from Engine.

Definition at line 270 of file saveload.cpp.

◆ getSpriteAtPos()

const Sprite * Composer::ComposerEngine::getSpriteAtPos ( const Common::Point pos)
private

Definition at line 514 of file graphics.cpp.

◆ getStreamForSprite()

Common::SeekableReadStream * Composer::ComposerEngine::getStreamForSprite ( uint16  id)
private

Definition at line 791 of file graphics.cpp.

◆ getStringFromConfig()

Common::String Composer::ComposerEngine::getStringFromConfig ( const Common::String section,
const Common::String key 
)
private

Definition at line 331 of file composer.cpp.

◆ hasFeature()

bool Composer::ComposerEngine::hasFeature ( EngineFeature  f) const
overridevirtual

Determine whether the engine supports the specified feature.

Reimplemented from Engine.

Definition at line 176 of file detection.cpp.

◆ hasResource()

bool Composer::ComposerEngine::hasResource ( uint32  tag,
uint16  id 
)
private

Definition at line 542 of file composer.cpp.

◆ initSprite()

bool Composer::ComposerEngine::initSprite ( Sprite sprite)
private

Definition at line 803 of file graphics.cpp.

◆ loadAnimation()

void Composer::ComposerEngine::loadAnimation ( Animation *&  anim,
uint16  animId,
int16  x,
int16  y,
int16  eventParam,
int32  size = 0 
)
private

Definition at line 86 of file graphics.cpp.

◆ loadCTBL()

void Composer::ComposerEngine::loadCTBL ( uint16  id,
uint  fadePercent 
)
private

Definition at line 572 of file graphics.cpp.

◆ loadDetectedConfigFile()

bool Composer::ComposerEngine::loadDetectedConfigFile ( Common::INIFile configFile) const

Definition at line 59 of file detection.cpp.

◆ loadGameState()

Common::Error Composer::ComposerEngine::loadGameState ( int  slot)
overrideprotectedvirtual

Load a game state.

Parameters
slotthe slot from which a savestate should be loaded
Returns
returns kNoError on success, else an error code.

Reimplemented from Engine.

Definition at line 274 of file saveload.cpp.

◆ loadLibrary()

void Composer::ComposerEngine::loadLibrary ( uint  id)
private

Definition at line 373 of file composer.cpp.

◆ mangleFilename()

Common::String Composer::ComposerEngine::mangleFilename ( Common::String  filename)
private

Definition at line 345 of file composer.cpp.

◆ onKeyDown()

void Composer::ComposerEngine::onKeyDown ( uint16  keyCode)
private

Definition at line 268 of file composer.cpp.

◆ onMouseDown()

void Composer::ComposerEngine::onMouseDown ( const Common::Point pos)
private

Definition at line 225 of file composer.cpp.

◆ onMouseMove()

void Composer::ComposerEngine::onMouseMove ( const Common::Point pos)
private

Definition at line 243 of file composer.cpp.

◆ playAnimation()

void Composer::ComposerEngine::playAnimation ( uint16  animId,
int16  param1,
int16  param2,
int16  param3 
)
private

Definition at line 141 of file graphics.cpp.

◆ playPipe()

void Composer::ComposerEngine::playPipe ( uint16  id)
private

Definition at line 390 of file graphics.cpp.

◆ playWaveForAnim()

void Composer::ComposerEngine::playWaveForAnim ( uint16  id,
uint16  priority,
bool  bufferingOnly 
)
private

Definition at line 201 of file graphics.cpp.

◆ processAnimFrame()

void Composer::ComposerEngine::processAnimFrame ( )
private

Definition at line 244 of file graphics.cpp.

◆ redraw()

void Composer::ComposerEngine::redraw ( )
private

Definition at line 543 of file graphics.cpp.

◆ removeSprite()

void Composer::ComposerEngine::removeSprite ( uint16  id,
uint16  animId 
)
private

Definition at line 497 of file graphics.cpp.

◆ run()

Common::Error Composer::ComposerEngine::run ( )
overrideprotectedvirtual

Init the engine and start its main loop.

Returns
returns kNoError on success, else an error code.

Implements Engine.

Definition at line 73 of file composer.cpp.

◆ runEvent()

void Composer::ComposerEngine::runEvent ( uint16  id,
int16  param1,
int16  param2,
int16  param3 
)
private

Definition at line 106 of file scripting.cpp.

◆ runOldScript()

void Composer::ComposerEngine::runOldScript ( uint16  id,
uint16  wait 
)
private

Definition at line 735 of file scripting.cpp.

◆ runScript() [1/2]

void Composer::ComposerEngine::runScript ( uint16  id)
private

Definition at line 165 of file scripting.cpp.

◆ runScript() [2/2]

int16 Composer::ComposerEngine::runScript ( uint16  id,
int16  param1,
int16  param2,
int16  param3 
)
private

Definition at line 124 of file scripting.cpp.

◆ saveGameState()

Common::Error Composer::ComposerEngine::saveGameState ( int  slot,
const Common::String desc,
bool  isAutosave = false 
)
overrideprotectedvirtual

Save a game state.

Parameters
slotthe slot into which the savestate should be stored
desca description for the savestate, entered by the user
isAutosaveExpected to be true if an autosave is being created
Returns
returns kNoError on success, else an error code.

Reimplemented from Engine.

Definition at line 373 of file saveload.cpp.

◆ scriptFuncCall()

int16 Composer::ComposerEngine::scriptFuncCall ( uint16  id,
int16  param1,
int16  param2,
int16  param3 
)
private

Definition at line 528 of file scripting.cpp.

◆ setArg()

void Composer::ComposerEngine::setArg ( uint16  arg,
uint16  type,
uint16  val 
)
private

Definition at line 152 of file scripting.cpp.

◆ setBackground()

void Composer::ComposerEngine::setBackground ( uint16  id)
private

Definition at line 592 of file graphics.cpp.

◆ setButtonActive()

void Composer::ComposerEngine::setButtonActive ( uint16  id,
bool  active 
)
private

Definition at line 682 of file composer.cpp.

◆ setCursor()

void Composer::ComposerEngine::setCursor ( uint16  id,
const Common::Point offset 
)
private

Definition at line 300 of file composer.cpp.

◆ setCursorVisible()

void Composer::ComposerEngine::setCursorVisible ( bool  visible)
private

Definition at line 314 of file composer.cpp.

◆ spriteVisible()

bool Composer::ComposerEngine::spriteVisible ( uint16  id,
uint16  animId 
)
private

Definition at line 427 of file graphics.cpp.

◆ stopAnimation()

void Composer::ComposerEngine::stopAnimation ( Animation anim,
bool  localOnly = false,
bool  pipesOnly = false 
)
private

Definition at line 160 of file graphics.cpp.

◆ stopOldScript()

void Composer::ComposerEngine::stopOldScript ( uint16  id)
private

Definition at line 744 of file scripting.cpp.

◆ stopPipes()

void Composer::ComposerEngine::stopPipes ( )
private

Definition at line 407 of file graphics.cpp.

◆ sync() [1/11]

template<>
void Composer::ComposerEngine::sync ( Common::Serializer ser,
Animation *&  data,
Common::Serializer::Version  minVersion,
Common::Serializer::Version  maxVersion 
)
protected

Definition at line 214 of file saveload.cpp.

◆ sync() [2/11]

template<>
void Composer::ComposerEngine::sync ( Common::Serializer ser,
AnimationEntry data,
Common::Serializer::Version  minVersion,
Common::Serializer::Version  maxVersion 
)
protected

Definition at line 208 of file saveload.cpp.

◆ sync() [3/11]

template<>
void Composer::ComposerEngine::sync ( Common::Serializer ser,
Library data,
Common::Serializer::Version  minVersion,
Common::Serializer::Version  maxVersion 
)
protected

Definition at line 104 of file saveload.cpp.

◆ sync() [4/11]

template<>
void Composer::ComposerEngine::sync ( Common::Serializer ser,
OldScript *&  data,
Common::Serializer::Version  minVersion,
Common::Serializer::Version  maxVersion 
)
protected

Definition at line 138 of file saveload.cpp.

◆ sync() [5/11]

template<>
void Composer::ComposerEngine::sync ( Common::Serializer ser,
PendingPageChange data,
Common::Serializer::Version  minVersion,
Common::Serializer::Version  maxVersion 
)
protected

Definition at line 133 of file saveload.cpp.

◆ sync() [6/11]

template<>
void Composer::ComposerEngine::sync ( Common::Serializer ser,
Pipe *&  data,
Common::Serializer::Version  minVersion,
Common::Serializer::Version  maxVersion 
)
protected

Definition at line 164 of file saveload.cpp.

◆ sync() [7/11]

template<>
void Composer::ComposerEngine::sync ( Common::Serializer ser,
QueuedScript data,
Common::Serializer::Version  minVersion,
Common::Serializer::Version  maxVersion 
)
protected

Definition at line 156 of file saveload.cpp.

◆ sync() [8/11]

template<>
void Composer::ComposerEngine::sync ( Common::Serializer ser,
Sprite data,
Common::Serializer::Version  minVersion,
Common::Serializer::Version  maxVersion 
)
protected

Definition at line 249 of file saveload.cpp.

◆ sync() [9/11]

template<typename T >
void Composer::ComposerEngine::sync ( Common::Serializer ser,
T &  data,
Common::Serializer::Version  minVersion,
Common::Serializer::Version  maxVersion 
)
protected

◆ sync() [10/11]

template<>
void Composer::ComposerEngine::sync ( Common::Serializer ser,
uint16 data,
Common::Serializer::Version  minVersion,
Common::Serializer::Version  maxVersion 
)
protected

Definition at line 96 of file saveload.cpp.

◆ sync() [11/11]

template<>
void Composer::ComposerEngine::sync ( Common::Serializer ser,
uint32 data,
Common::Serializer::Version  minVersion,
Common::Serializer::Version  maxVersion 
)
protected

Definition at line 100 of file saveload.cpp.

◆ syncArray()

template<class T >
void Composer::ComposerEngine::syncArray ( Common::Serializer ser,
Common::Array< T > &  data,
Common::Serializer::Version  minVersion = 0,
Common::Serializer::Version  maxVersion = Common::Serializer::kLastVersion 
)
protected

Definition at line 39 of file saveload.cpp.

◆ syncList()

template<class T >
void Composer::ComposerEngine::syncList ( Common::Serializer ser,
Common::List< T > &  data,
Common::Serializer::Version  minVersion = 0,
Common::Serializer::Version  maxVersion = Common::Serializer::kLastVersion 
)
protected

Definition at line 58 of file saveload.cpp.

◆ syncListReverse() [1/2]

template<>
void Composer::ComposerEngine::syncListReverse ( Common::Serializer ser,
Common::List< Library > &  data,
Common::Serializer::Version  minVersion,
Common::Serializer::Version  maxVersion 
)
protected

Definition at line 116 of file saveload.cpp.

◆ syncListReverse() [2/2]

template<class T >
void Composer::ComposerEngine::syncListReverse ( Common::Serializer ser,
Common::List< T > &  data,
Common::Serializer::Version  minVersion = 0,
Common::Serializer::Version  maxVersion = Common::Serializer::kLastVersion 
)
protected

Definition at line 77 of file saveload.cpp.

◆ tickOldScript()

bool Composer::ComposerEngine::tickOldScript ( OldScript script)
private

Definition at line 788 of file scripting.cpp.

◆ tickOldScripts()

void Composer::ComposerEngine::tickOldScripts ( )
private

Definition at line 756 of file scripting.cpp.

◆ unloadLibrary()

void Composer::ComposerEngine::unloadLibrary ( uint  id)
private

Definition at line 501 of file composer.cpp.

Member Data Documentation

◆ _anims

Common::List<Animation *> Composer::ComposerEngine::_anims
private

Definition at line 214 of file composer.h.

◆ _audioStream

Audio::QueuingAudioStream* Composer::ComposerEngine::_audioStream
private

Definition at line 193 of file composer.h.

◆ _bookGroup

Common::String Composer::ComposerEngine::_bookGroup
private

Definition at line 205 of file composer.h.

◆ _bookIni

Common::INIFile Composer::ComposerEngine::_bookIni
private

Definition at line 204 of file composer.h.

◆ _currentTime

uint32 Composer::ComposerEngine::_currentTime
private

Definition at line 196 of file composer.h.

◆ _currSoundPriority

uint16 Composer::ComposerEngine::_currSoundPriority
private

Definition at line 194 of file composer.h.

◆ _directoriesToStrip

uint Composer::ComposerEngine::_directoriesToStrip
private

Definition at line 203 of file composer.h.

◆ _dirtyRects

Common::Array<Common::Rect> Composer::ComposerEngine::_dirtyRects
private

Definition at line 199 of file composer.h.

◆ _gameDescription

const ComposerGameDescription* Composer::ComposerEngine::_gameDescription

Definition at line 187 of file composer.h.

◆ _lastButton

const Button* Composer::ComposerEngine::_lastButton
private

Definition at line 229 of file composer.h.

◆ _lastMousePos

Common::Point Composer::ComposerEngine::_lastMousePos
private

Definition at line 228 of file composer.h.

◆ _lastTime

uint32 Composer::ComposerEngine::_lastTime
private

Definition at line 196 of file composer.h.

◆ _libraries

Common::List<Library> Composer::ComposerEngine::_libraries
private

Definition at line 206 of file composer.h.

◆ _mouseEnabled

bool Composer::ComposerEngine::_mouseEnabled
private

Definition at line 226 of file composer.h.

◆ _mouseOffset

Common::Point Composer::ComposerEngine::_mouseOffset
private

Definition at line 231 of file composer.h.

◆ _mouseSpriteId

uint16 Composer::ComposerEngine::_mouseSpriteId
private

Definition at line 230 of file composer.h.

◆ _mouseVisible

bool Composer::ComposerEngine::_mouseVisible
private

Definition at line 227 of file composer.h.

◆ _needsUpdate

bool Composer::ComposerEngine::_needsUpdate
private

Definition at line 198 of file composer.h.

◆ _oldScripts

Common::List<OldScript *> Composer::ComposerEngine::_oldScripts
private

Definition at line 212 of file composer.h.

◆ _pendingPageChanges

Common::Array<PendingPageChange> Composer::ComposerEngine::_pendingPageChanges
private

Definition at line 207 of file composer.h.

◆ _pipes

Common::List<Pipe *> Composer::ComposerEngine::_pipes
private

Definition at line 215 of file composer.h.

◆ _pipeStreams

Common::Array<Common::SeekableReadStream *> Composer::ComposerEngine::_pipeStreams
private

Definition at line 216 of file composer.h.

◆ _queuedScripts

Common::Array<QueuedScript> Composer::ComposerEngine::_queuedScripts
private

Definition at line 213 of file composer.h.

◆ _randomEvents

Common::HashMap<uint16, Common::Array<RandomEvent> > Composer::ComposerEngine::_randomEvents
private

Definition at line 218 of file composer.h.

◆ _rnd

Common::RandomSource* Composer::ComposerEngine::_rnd
private

Definition at line 190 of file composer.h.

◆ _screen

Graphics::Surface Composer::ComposerEngine::_screen
private

Definition at line 200 of file composer.h.

◆ _soundHandle

Audio::SoundHandle Composer::ComposerEngine::_soundHandle
private

Definition at line 192 of file composer.h.

◆ _sprites

Common::List<Sprite> Composer::ComposerEngine::_sprites
private

Definition at line 201 of file composer.h.

◆ _stack

Common::Array<uint16> Composer::ComposerEngine::_stack
private

Definition at line 209 of file composer.h.

◆ _timeDelta

uint32 Composer::ComposerEngine::_timeDelta
private

Definition at line 196 of file composer.h.

◆ _vars

Common::Array<uint16> Composer::ComposerEngine::_vars
private

Definition at line 210 of file composer.h.


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