ScummVM API documentation
TwinE::EntityData Class Reference

Associate 3d models from body hqr with animations from anim.hqr for the game characters. More...

#include <entity.h>

Inheritance diagram for TwinE::EntityData:
TwinE::Parser

Public Member Functions

bool loadFromStream (Common::SeekableReadStream &stream, bool lba1) override
 
const Common::Array< EntityAnim::Action > * getActions (AnimationTypes animation) const
 
const EntityBodygetEntityBody (const int index) const
 
BodyDatagetBody (int index)
 
int32 getAnimIndex (AnimationTypes animation) const
 
const Common::Array< EntityBody > & getBodies () const
 
const Common::Array< EntityAnim > & getAnimations () const
 
Common::Array< EntityBody > & getBodies ()
 
Common::Array< EntityAnim > & getAnimations ()
 
- Public Member Functions inherited from TwinE::Parser
bool loadFromBuffer (const uint8 *buf, uint32 size, bool lba1)
 
bool loadFromHQR (const char *name, int index, bool lba1)
 
int hqrIndex () const
 
bool loadFromHQR (const TwineResource &resource, bool lba1)
 

Protected Member Functions

void reset () override
 

Additional Inherited Members

- Protected Attributes inherited from TwinE::Parser
int _hqrIndex = -1
 

Detailed Description

Associate 3d models from body hqr with animations from anim.hqr for the game characters.


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