ScummVM API documentation
Dgds::SDSScene Class Reference
Inheritance diagram for Dgds::SDSScene:
Dgds::Scene

Public Member Functions

bool load (const Common::String &filename, ResourceManager *resourceManager, Decompressor *decompressor)
 
bool parse (Common::SeekableReadStream *s) override
 
void unload ()
 
const Common::StringgetAdsFile () const
 
void runEnterSceneOps ()
 
void runLeaveSceneOps ()
 
void checkTriggers ()
 
int getNum () const
 
Common::String dump (const Common::String &indent) const
 
bool checkDialogActive ()
 
void drawActiveDialogBgs (Graphics::ManagedSurface *dst)
 
bool drawAndUpdateDialogs (Graphics::ManagedSurface *dst)
 
bool checkForClearedDialogs ()
 
void mouseMoved (const Common::Point &pt)
 
void mouseLDown (const Common::Point &pt)
 
void mouseLUp (const Common::Point &pt)
 
void mouseRDown (const Common::Point &pt)
 
void mouseRUp (const Common::Point &pt)
 
void addInvButtonToHotAreaList ()
 
void removeInvButtonFromHotAreaList ()
 
const Common::List< HotArea > & getHotAreas () const
 
const GameItemgetDragItem () const
 
GameItemgetDragItem ()
 
void setDragItem (GameItem *item)
 
const Common::Array< ObjectInteraction > & getObjInteractions1 ()
 
const Common::Array< ObjectInteraction > & getObjInteractions2 ()
 
bool hasVisibleDialog ()
 
bool hasVisibleOrOpeningDialog () const
 
Common::Error syncState (Common::Serializer &s) override
 
void onDragFinish (const Common::Point &pt)
 
void enableTrigger (uint16 num, bool enable=true)
 
DialogloadDialogData (uint16 num)
 
void freeDialogData (uint16 num)
 
bool loadTalkData (uint16 num)
 
void freeTalkData (uint16 num)
 
void updateVisibleTalkers ()
 
void loadTalkDataAndSetFlags (uint16 talknum, uint16 headnum)
 
void drawVisibleHeads (Graphics::ManagedSurface *dst)
 
bool hasVisibleHead () const
 
void addAndShowTiredDialog ()
 
void prevChoice ()
 
void nextChoice ()
 
void activateChoice ()
 
bool isTriggerEnabled (uint16 num)
 
bool isLButtonDown () const
 
bool isRButtonDown () const
 
void showDialog (uint16 fileNum, uint16 dlgNum)
 
const Common::Array< ConditionalSceneOp > & getConditionalOps ()
 
void updateHotAreasFromDynamicRects ()
 
void setDynamicSceneRect (int16 num, int16 x, int16 y, int16 width, int16 height)
 
void setSceneNum (int16 num)
 
- Public Member Functions inherited from Dgds::Scene
bool isVersionOver (const char *version) const
 
bool isVersionUnder (const char *version) const
 
uint32 getMagic () const
 
const Common::StringgetVersion () const
 
bool runPreTickOps ()
 
bool runPostTickOps ()
 

Protected Member Functions

HotAreafindAreaUnderMouse (const Common::Point &pt)
 
- Protected Member Functions inherited from Dgds::Scene
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
 

Additional Inherited Members

- Static Public Member Functions inherited from Dgds::Scene
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 Attributes inherited from Dgds::Scene
uint32 _magic
 
Common::String _version
 
Common::Array< SceneOp_preTickOps
 
Common::Array< SceneOp_postTickOps
 
Common::Array< ConditionalSceneOp_conditionalOps
 

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