ScummVM API documentation
Nancy::Action::ConversationCel Class Reference
Inheritance diagram for Nancy::Action::ConversationCel:
Nancy::Action::ConversationSound Nancy::Action::RenderActionRecord Nancy::Action::ActionRecord Nancy::RenderObject Nancy::Action::ConversationCelT Nancy::Action::ConversationCelTerse

Classes

struct  Cel
 
class  RenderedCel
 

Public Member Functions

void init () override
 
void registerGraphics () override
 
void updateGraphics () override
 
void readData (Common::SeekableReadStream &stream) override
 
- Public Member Functions inherited from Nancy::Action::ConversationSound
void execute () override
 
- Public Member Functions inherited from Nancy::Action::RenderActionRecord
 RenderActionRecord (uint zOrder)
 
void onPause (bool pause) override
 
- Public Member Functions inherited from Nancy::Action::ActionRecord
virtual CursorManager::CursorType getHoverCursor () const
 
virtual void handleInput (NancyInput &input)
 
- Public Member Functions inherited from Nancy::RenderObject
 RenderObject (uint16 zOrder)
 
 RenderObject (uint16 zOrder, Graphics::ManagedSurface &surface, const Common::Rect &srcBounds, const Common::Rect &destBounds)
 
void moveTo (const Common::Point &position)
 
void moveTo (const Common::Rect &bounds)
 
void setVisible (bool visible)
 
void setTransparent (bool isTransparent)
 
bool isVisible () const
 
void grabPalette (byte *colors, uint paletteStart=0, uint paletteSize=256)
 
void setPalette (const Common::Path &paletteName, uint paletteStart=0, uint paletteSize=256)
 
void setPalette (const byte *colors, uint paletteStart=0, uint paletteSize=256)
 
bool hasMoved () const
 
Common::Rect getScreenPosition () const
 
Common::Rect getPreviousScreenPosition () const
 
Common::Rect convertToLocal (const Common::Rect &screen) const
 
Common::Rect convertToScreen (const Common::Rect &rect) const
 
Common::Rect getBounds () const
 
uint16 getZOrder () const
 

Protected Member Functions

Common::String getRecordTypeName () const override
 
bool isVideoDonePlaying () override
 
CelloadCel (const Common::Path &name, const Common::String &treeName)
 
void readXSheet (Common::SeekableReadStream &stream, const Common::String &xsheetName)
 
- Protected Member Functions inherited from Nancy::Action::ConversationSound
bool isViewportRelative () const override
 
virtual void readCaptionText (Common::SeekableReadStream &stream)
 
virtual void readResponseText (Common::SeekableReadStream &stream, ResponseStruct &response)
 
void readTerseData (Common::SeekableReadStream &stream)
 
void readTerseCaptionText (Common::SeekableReadStream &stream)
 
void readTerseResponseText (Common::SeekableReadStream &stream, ResponseStruct &response)
 
void addConditionalDialogue ()
 
void addGoodbye ()
 
- Protected Member Functions inherited from Nancy::Action::ActionRecord
void finishExecution ()
 
virtual bool canHaveHotspot () const
 

Protected Attributes

Common::Array< Common::Array< Common::Path > > _celNames
 
Common::Array< Common::String_treeNames
 
uint16 _frameTime = 0
 
uint _videoFormat = kLargeVideoFormat
 
uint16 _firstFrame = 0
 
uint16 _lastFrame = 0
 
Common::Array< byte > _drawingOrder
 
Common::Array< byte > _overrideTreeRects
 
Common::Array< Common::Rect_overrideRectSrcs
 
Common::Array< Common::Rect_overrideRectDests
 
uint _curFrame = 0
 
uint32 _nextFrameTime = 0
 
Common::Array< RenderedCel_celRObjects
 
Common::HashMap< Common::Path, Cel, Common::Path::IgnoreCase_Hash, Common::Path::IgnoreCase_EqualTo_celCache
 
Common::SharedPtr< ConversationCelLoader > _loaderPtr
 
- Protected Attributes inherited from Nancy::Action::ConversationSound
Common::String _text
 
SoundDescription _sound
 
SoundDescription _responseGenericSound
 
byte _conditionalResponseCharacterID
 
byte _goodbyeResponseCharacterID
 
byte _defaultNextScene = kDefaultNextSceneEnabled
 
byte _popNextScene = kNoPopNextScene
 
SceneChangeDescription _sceneChange
 
Common::Array< ResponseStruct_responses
 
Common::Array< FlagsStruct_flagsStructs
 
Common::Array< SceneBranchStruct_sceneBranchStructs
 
bool _hasDrawnTextbox
 
int16 _pickedResponse
 
const byte _noResponse
 
- Protected Attributes inherited from Nancy::RenderObject
bool _needsRedraw
 
bool _isVisible
 
bool _hasMoved
 
uint16 _z
 
Common::Rect _previousScreenPosition
 
Common::Rect _screenPosition
 

Static Protected Attributes

static const byte kCelOverrideTreeRectsOff = 1
 
static const byte kCelOverrideTreeRectsOn = 2
 
- Static Protected Attributes inherited from Nancy::Action::ConversationSound
static const byte kDefaultNextSceneEnabled = 1
 
static const byte kDefaultNextSceneDisabled = 2
 
static const byte kPopNextScene = 1
 
static const byte kNoPopNextScene = 2
 

Additional Inherited Members

- Public Types inherited from Nancy::Action::ActionRecord
enum  ExecutionState { kBegin, kRun, kActionTrigger }
 
enum  ExecutionType { kOneShot = 1, kRepeating = 2 }
 
- Public Attributes inherited from Nancy::Action::ActionRecord
Common::String _description
 
byte _type
 
ExecutionType _execType
 
DependencyRecord _dependencies
 
bool _isActive
 
bool _isDone
 
bool _hasHotspot
 
Common::Rect _hotspot
 
ExecutionState _state
 
int16 _days
 
DependencyRecord_cursorDependency
 
- Public Attributes inherited from Nancy::RenderObject
Graphics::ManagedSurface _drawSurface
 

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