Handles a world map file.
More...
#include <WorldmapFile.h>
|
| WorldmapFile (Ogre::ResourceManager *creator, const Ogre::String &name, Ogre::ResourceHandle handle, const Ogre::String &group, bool is_manual=false, Ogre::ManualResourceLoader *loader=0) |
| Constructor. More...
|
|
virtual | ~WorldmapFile () |
| Destructor. More...
|
|
| Resource (Ogre::ResourceManager *creator, const String &name, Ogre::ResourceHandle handle, const String &group, bool manual, Ogre::ManualResourceLoader *loader) |
| Constructor. More...
|
|
virtual | ~Resource ()=default |
| Destructor. More...
|
|
Handles a world map file.
◆ WorldmapFile()
VGears::WorldmapFile::WorldmapFile |
( |
Ogre::ResourceManager * |
creator, |
|
|
const Ogre::String & |
name, |
|
|
Ogre::ResourceHandle |
handle, |
|
|
const Ogre::String & |
group, |
|
|
bool |
is_manual = false , |
|
|
Ogre::ManualResourceLoader * |
loader = 0 |
|
) |
| |
Constructor.
- Parameters
-
[in] | creator | Pointer to the ResourceManager that is creating this resource. |
[in] | name | The unique name of the resource. |
[in] | handle | |
- Todo:
- Understand and document.
- Parameters
-
[in] | group | The name of the resource group to which this resource belong. |
[in] | is_manual | True if the resource is manually loaded, false otherwise. |
[in] | loader | Pointer to a ManualResourceLoader implementation which will be called when the Resource wishes to load (should be supplied if is_manual is set to true). It can be null, but the Resource will never be able to reload if anything ever causes it to unload. Therefore provision of a proper ManualResourceLoader instance is strongly recommended. |
◆ ~WorldmapFile()
VGears::WorldmapFile::~WorldmapFile |
( |
| ) |
|
|
virtual |
◆ loadImpl()
void VGears::WorldmapFile::loadImpl |
( |
void |
| ) |
|
|
finaloverrideprivatevirtual |
◆ unloadImpl()
void VGears::WorldmapFile::unloadImpl |
( |
void |
| ) |
|
|
finaloverrideprivatevirtual |
◆ RESOURCE_TYPE
const String VGears::WorldmapFile::RESOURCE_TYPE |
|
static |
The documentation for this class was generated from the following files: