18#include <OgreColourValue.h>
49 Ogre::ResourceManager* creator,
const String &name,
50 Ogre::ResourceHandle handle,
const String& group,
51 bool is_manual =
false, Ogre::ManualResourceLoader* loader = NULL
Handles model list files.
Definition: FF7ModelListFile.h:26
static const String RESOURCE_TYPE
The type of resource.
Definition: FF7ModelListFile.h:62
virtual size_t calculateSize(void) const
Calculates the size of the palette.
Definition: FF7ModelListFile.cpp:41
virtual void SetScale(uint16 scale)
Sets the scale for the models.
Definition: FF7ModelListFile.cpp:47
ModelListFile(Ogre::ResourceManager *creator, const String &name, Ogre::ResourceHandle handle, const String &group, bool is_manual=false, Ogre::ManualResourceLoader *loader=NULL)
Constructor.
Definition: FF7ModelListFile.cpp:23
virtual uint16 GetScale() const
Retrieves the scale for the models.
Definition: FF7ModelListFile.cpp:45
std::vector< AnimationDescription > AnimationList
Definition: FF7ModelListFile.h:80
virtual void loadImpl() override
Loads the file.
Definition: FF7ModelListFile.cpp:30
ModelType
Types of models.
Definition: FF7ModelListFile.h:85
@ PLAYER
Playable character.
Definition: FF7ModelListFile.h:90
@ UNKNOWN
Unknown character type.
Definition: FF7ModelListFile.h:100
@ NPC
Non playable character.
Definition: FF7ModelListFile.h:95
uint16 scale_
The models scale.
Definition: FF7ModelListFile.h:189
ModelList models_
The list of models.
Definition: FF7ModelListFile.h:194
virtual void unloadImpl() override
Unloads the file.
Definition: FF7ModelListFile.cpp:36
std::vector< ModelDescription > ModelList
Definition: FF7ModelListFile.h:139
virtual ModelList & GetModels()
Retrieves the model list.
Definition: FF7ModelListFile.cpp:43
virtual ~ModelListFile()
Destructor.
Definition: FF7ModelListFile.cpp:28
A resource.
Definition: VGearsResource.h:29
Definition: FF7NameLookup.h:24
Ogre::SharedPtr< ModelListFile > ModelListFilePtr
Definition: FF7ModelListFile.h:197
Ogre::uint16 uint16
Definition: TypeDefine.h:32
Ogre::String String
Definition: TypeDefine.h:37
An animation description.
Definition: FF7ModelListFile.h:67
String name
The animation name.
Definition: FF7ModelListFile.h:72
uint16 unknown
Unknown data.
Definition: FF7ModelListFile.h:77
A model.
Definition: FF7ModelListFile.h:106
AnimationList animations
List of animations assigned to the model.
Definition: FF7ModelListFile.h:136
String hrc_name
HRC file name.
Definition: FF7ModelListFile.h:123
String name
The model name.
Definition: FF7ModelListFile.h:111
String scale
Scale for the model.
Definition: FF7ModelListFile.h:128
Ogre::ColourValue light_colors[10]
Definition: FF7ModelListFile.h:131
ModelType type
The model type.
Definition: FF7ModelListFile.h:116