ScummVM API documentation
Neverhood::SmackerPlayer Class Reference
Inheritance diagram for Neverhood::SmackerPlayer:
Neverhood::Entity

Public Member Functions

 SmackerPlayer (NeverhoodEngine *vm, Scene *scene, uint32 fileHash, bool doubleSurface, bool flag, bool paused=false)
 
Common::SharedPtr< BaseSurfacegetSurface ()
 
void open (uint32 fileHash, bool keepLastFrame)
 
void close ()
 
void gotoFrame (int frameNumber)
 
uint32 getFrameCount ()
 
uint32 getFrameNumber ()
 
uint getStatus ()
 
void setDrawPos (int16 x, int16 y)
 
void rewind ()
 
bool isDone ()
 
NeverhoodSmackerDecodergetSmackerDecoder () const
 
- Public Member Functions inherited from Neverhood::Entity
 Entity (NeverhoodEngine *vm, int priority)
 
virtual void draw ()
 
void handleUpdate ()
 
uint32 receiveMessage (int messageNum, const MessageParam &param, Entity *sender)
 
uint32 sendMessage (Entity *receiver, int messageNum, const MessageParam &param)
 
uint32 sendMessage (Entity *receiver, int messageNum, uint32 param)
 
uint32 sendPointMessage (Entity *receiver, int messageNum, const NPoint &param)
 
uint32 sendEntityMessage (Entity *receiver, int messageNum, Entity *param)
 
uint32 getGlobalVar (uint32 nameHash)
 
void setGlobalVar (uint32 nameHash, uint32 value)
 
uint32 getSubVar (uint32 nameHash, uint32 subNameHash)
 
void setSubVar (uint32 nameHash, uint32 subNameHash, uint32 value)
 
void incGlobalVar (uint32 nameHash, int incrValue)
 
void incSubVar (uint32 nameHash, uint32 subNameHash, int incrValue)
 
int getPriority () const
 
bool hasMessageHandler () const
 

Protected Member Functions

void update ()
 
void updateFrame ()
 
void updatePalette ()
 
- Protected Member Functions inherited from Neverhood::Entity
SoundResourcegetSoundResource (uint index)
 
void loadSound (uint index, uint32 fileHash)
 
void playSound (uint index, uint32 fileHash=0)
 
void stopSound (uint index)
 
bool isSoundPlaying (uint index)
 
void setSoundVolume (uint index, int volume)
 
void setSoundPan (uint index, int pan)
 
void deleteSoundResources ()
 

Protected Attributes

Scene_scene
 
Palette_palette
 
NeverhoodSmackerDecoder_smackerDecoder
 
Common::SharedPtr< SmackerSurface_smackerSurface
 
uint32 _fileHash
 
bool _smackerFirst
 
bool _doubleSurface
 
Common::SeekableReadStream_stream
 
bool _keepLastFrame
 
bool _videoDone
 
bool _paused
 
int _drawX
 
int _drawY
 
- Protected Attributes inherited from Neverhood::Entity
void(Entity::* _updateHandlerCb )()
 
uint32(Entity::* _messageHandlerCb )(int messageNum, const MessageParam &param, Entity *sender)
 
NeverhoodEngine_vm
 
int _priority
 
SoundResource ** _soundResources
 

Additional Inherited Members

- Public Attributes inherited from Neverhood::Entity
Common::String _updateHandlerCbName
 
Common::String _messageHandlerCbName
 

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