![]() |
VR-Forces 5.0.3 Developer's Guide
|
Contains data describing the available attributes and animations for each DI-Guy character type. Each character type's info is stored in a DtDiGuyCharacterData object that can be used at runtime by the sim engine.
Static Public Member Functions | |
| static DtDiGuyCharacterDataManager * | characterManager () |
| static DtDiGuyCharacterDataManager * | creator (const DtFilename &settingsDirectory, const DtFilename &dataDir) |
| static DtDiGuyCharacterDataManager * | creator (const DtFilename &settingsDirectory, const DtFilename &dataDir, makVrv::DtDiGuyScenario *) |
| static int | numberOfDiGuyTypeMapFields () |
Protected Member Functions | |
| virtual void | addCharacterData (DtDiGuyCharacterData *data) |
| void | findListIntersection (std::list< DtString > &orig, std::list< DtString > &second) |
| void | debugPrint (const char *fmt,...) |
Protected Attributes | |
| DtFilename | myAnimationsConfigurationFilename |
| DtDiGuyCharacterAnimationsTable * | myAnimationsConfigurationFile |
| std::map< DtString, DtDiGuyCharacterData * > | myCharacterMap |
| bool | myPrintInfo |
| DtVrvDiGuyCharacterData * | myMasterDiGuyCharacterData |
| DtFilename | myDataDir |
| makVrv::DtDiGuyScenario * | myLightweightInstance |
Static Protected Attributes | |
| static DtDiGuyCharacterDataManager * | theCharacterDataManager |
| DtDiGuyCharacterDataManager::DtDiGuyCharacterDataManager | ( | const DtFilename & | settingsDirectory, |
| const DtFilename & | dataDir | ||
| ) |
Constructor.
| DtDiGuyCharacterDataManager::DtDiGuyCharacterDataManager | ( | const DtFilename & | settingsDirectory, |
| const DtFilename & | dataDir, | ||
| makVrv::DtDiGuyScenario * | |||
| ) |
|
virtual |
Destructor.
| DtDiGuyCharacterDataManager::DtDiGuyCharacterDataManager | ( | const DtDiGuyCharacterDataManager & | orig | ) |
copy constructor
|
static |
Returns singleton instance of DtDiGuyCharacterDataManager.
|
static |
Creates new singleton of DtDiGuyCharacterDataManager. settingsDirectory is the directory where the character digest mtl file exists.
|
static |
| DtDiGuyCharacterDataManager& DtDiGuyCharacterDataManager::operator= | ( | const DtDiGuyCharacterDataManager & | orig | ) |
assignment operator
|
virtual |
Initialization. Must be called before any other functions are called.
|
virtual |
|
virtual |
Load the additional animation file.
|
virtual |
Construct character data by instantiating DI-Guy and querying the instance for character types, appearances, actions, etc.
|
virtual |
Returns DtDiGuyCharacterData object associated with named DI-Guy character type or NULL.
|
virtual |
Returns the list of all the DI-Guy characters available.
|
virtual |
Finds the information about the transition from one DI-Guy animation to another.
|
inline |
|
static |
Number of type fields currently supported by di-guy.
|
inline |
|
virtual |
Gets the lightweight instance used for diguy scenario information.
|
protectedvirtual |
|
protected |
only orig is modified
|
protected |
If myPrintInfo is true, then call printf()
|
staticprotected |
So everyone can get at this class when they need to.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |