ScummVM API documentation
Dgds::Scene Class Referenceabstract

#include <scene.h>

Inheritance diagram for Dgds::Scene:
Dgds::GDSScene Dgds::SDSScene

Public Member Functions

virtual bool parse (Common::SeekableReadStream *s)=0
 
bool isVersionOver (const char *version) const
 
bool isVersionUnder (const char *version) const
 
uint32 getMagic () const
 
const Common::StringgetVersion () const
 
bool runPreTickOps ()
 
bool runPostTickOps ()
 
virtual Common::Error syncState (Common::Serializer &s)=0
 

Static Public Member Functions

static bool runOps (const Common::Array< SceneOp > ops, int16 addMinutes=0)
 
static bool checkConditions (const Common::Array< SceneConditions > &cond)
 
static void segmentStateOps (const Common::Array< uint16 > &args)
 
static void setItemAttrOp (const Common::Array< uint16 > &args)
 
static void setDragItemOp (const Common::Array< uint16 > &args)
 

Protected Member Functions

bool readConditionList (Common::SeekableReadStream *s, Common::Array< SceneConditions > &list) const
 
bool readHotArea (Common::SeekableReadStream *s, HotArea &dst) const
 
bool readHotAreaList (Common::SeekableReadStream *s, Common::List< HotArea > &list) const
 
bool readGameItemList (Common::SeekableReadStream *s, Common::Array< GameItem > &list) const
 
bool readMouseHotspotList (Common::SeekableReadStream *s, Common::Array< MouseCursor > &list) const
 
bool readObjInteractionList (Common::SeekableReadStream *s, Common::Array< ObjectInteraction > &list) const
 
bool readOpList (Common::SeekableReadStream *s, Common::Array< SceneOp > &list) const
 
bool readDialogList (Common::SeekableReadStream *s, Common::Array< Dialog > &list, int16 filenum=0) const
 
bool readTriggerList (Common::SeekableReadStream *s, Common::Array< SceneTrigger > &list) const
 
bool readDialogActionList (Common::SeekableReadStream *s, Common::Array< DialogAction > &list) const
 
bool readConditionalSceneOpList (Common::SeekableReadStream *s, Common::Array< ConditionalSceneOp > &list) const
 

Protected Attributes

uint32 _magic
 
Common::String _version
 
Common::Array< SceneOp_preTickOps
 
Common::Array< SceneOp_postTickOps
 
Common::Array< ConditionalSceneOp_conditionalOps
 

Detailed Description

A scene is described by an SDS file, which points to the ADS script to load and holds the dialog info.


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