V-Gears 0
Free Final Fantasy VII engine.
ModelsAndAnimationsDb Class Reference

Database of model animations. More...

#include <ModelsAndAnimationsDb.h>

Public Member Functions

std::string NormalizeAnimationName (const std::string &name)
 Normalizes an animation name. More...
 
std::set< std::string > & ModelAnimations (const std::string model)
 
std::string ModelMetaDataName (const std::string &model_name)
 Retrieves the metadata file name associated to a model. More...
 

Public Attributes

ModelAnimationMap map
 Map of models and animations. More...
 

Detailed Description

Database of model animations.

Member Function Documentation

◆ ModelAnimations()

std::set< std::string > & ModelsAndAnimationsDb::ModelAnimations ( const std::string  model)
Todo:
Understand and document.
Parameters
[in]model
Todo:
Understand and document.
Returns
Todo:
Understand and document.

◆ ModelMetaDataName()

std::string ModelsAndAnimationsDb::ModelMetaDataName ( const std::string &  model_name)

Retrieves the metadata file name associated to a model.

Parameters
[in]model_nameThe model name.
Returns
Name of the metadata file.

◆ NormalizeAnimationName()

std::string ModelsAndAnimationsDb::NormalizeAnimationName ( const std::string &  name)

Normalizes an animation name.

Generates a normalized file name, without path, lowercase, and an '.a' extension.

Parameters
[in]nameCurrent name.
Returns
The normalized name.

Member Data Documentation

◆ map

ModelAnimationMap ModelsAndAnimationsDb::map

Map of models and animations.


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