ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Speech lipsync data. More...

#include <lipsync.h>

Inheritance diagram for Stark::Resources::LipSync:
Collaboration diagram for Stark::Resources::LipSync:

List of all members.

Public Member Functions

 LipSync (Object *parent, byte subType, uint16 index, const Common::String &name)
virtual ~LipSync ()
void readData (Formats::XRCReadStream *stream) override
 Deserialize the resource static data and initial state.
void onGameLoop () override
 Called once per game loop.
void saveLoadCurrent (ResourceSerializer *serializer) override
 Persist / restore the resource state.
void setItem (ItemVisual *item, bool playTalkAnim)
 Set the item for which the facial texture should be updated according to the lipsync data.
void reset ()
 Removes all item related data from the LipSync object.

Static Public Attributes

static const Type::ResourceType TYPE = Type::kLipSync

Protected Member Functions

void printData () override

Protected Attributes

Common::Array< char > _shapes
ItemVisual_item
ModelItem_sceneItem
TextureSet_faceTexture
VisualActor_visual
bool _checkForNewVisual
bool _enabled
uint32 _positionMs

Detailed Description

Speech lipsync data.

Definition at line 47 of file lipsync.h.


Constructor & Destructor Documentation

Stark::Resources::LipSync::LipSync ( Object parent,
byte  subType,
uint16  index,
const Common::String name 
)

Definition at line 44 of file lipsync.cpp.

Stark::Resources::LipSync::~LipSync (  )  [virtual]

Definition at line 41 of file lipsync.cpp.


Member Function Documentation

void Stark::Resources::LipSync::onGameLoop (  )  [override, virtual]

Called once per game loop.

Reimplemented from Stark::Resources::Object.

Definition at line 126 of file lipsync.cpp.

void Stark::Resources::LipSync::printData (  )  [override, protected, virtual]

Reimplemented from Stark::Resources::Object.

Definition at line 71 of file lipsync.cpp.

void Stark::Resources::LipSync::readData ( Formats::XRCReadStream stream  )  [override, virtual]

Deserialize the resource static data and initial state.

Reimplemented from Stark::Resources::Object.

Definition at line 56 of file lipsync.cpp.

void Stark::Resources::LipSync::reset (  ) 

Removes all item related data from the LipSync object.

Definition at line 116 of file lipsync.cpp.

void Stark::Resources::LipSync::saveLoadCurrent ( ResourceSerializer serializer  )  [override, virtual]

Persist / restore the resource state.

Called only for active locations

Reimplemented from Stark::Resources::Object.

Definition at line 161 of file lipsync.cpp.

void Stark::Resources::LipSync::setItem ( ItemVisual item,
bool  playTalkAnim 
)

Set the item for which the facial texture should be updated according to the lipsync data.

Definition at line 82 of file lipsync.cpp.


Member Data Documentation

Definition at line 74 of file lipsync.h.

Definition at line 75 of file lipsync.h.

Definition at line 71 of file lipsync.h.

Definition at line 69 of file lipsync.h.

Definition at line 76 of file lipsync.h.

Definition at line 70 of file lipsync.h.

Definition at line 68 of file lipsync.h.

Definition at line 72 of file lipsync.h.

const Type::ResourceType Stark::Resources::LipSync::TYPE = Type::kLipSync [static]

Definition at line 49 of file lipsync.h.


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


Generated on Sat Nov 16 2019 05:03:53 for ResidualVM by doxygen 1.7.1
curved edge   curved edge