|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Classes | |
| struct | AreaInfo |
| class | AreaInfoCallback |
| struct | GModelRayCallback |
| class | GroupModel |
| struct | GroupModel_Raw |
| class | IntersectionCallBack |
| class | IVMapManager |
| struct | LocationInfo |
| class | LocationInfoCallback |
| class | ManagedModel |
| class | MapRayCallback |
| struct | MapSpawns |
| class | MeshTriangle |
| class | ModelInstance |
| class | ModelPosition |
| class | ModelSpawn |
| class | MyCollisionDetection |
| class | StaticMapTree |
| class | TileAssembler |
| class | TriBoundFunc |
| class | VMapFactory |
| class | VMapManager2 |
| class | WModelAreaCallback |
| struct | WModelRayCallBack |
| class | WmoLiquid |
| struct | WMOLiquidHeader |
| class | WorldModel |
| struct | WorldModel_Raw |
Typedefs | |
| typedef UNORDERED_MAP< uint32, StaticMapTree * > | InstanceTreeMap |
| typedef std::map< uint32, MapSpawns * > | MapData |
| typedef UNORDERED_MAP< std::string, ManagedModel > | ModelFileMap |
| typedef std::multimap< uint32, uint32 > | TileMap |
| typedef std::map< uint32, ModelSpawn > | UniqueEntryMap |
Enumerations | |
| enum | ModelFlags { MOD_M2 = 1 , MOD_WORLDSPAWN = 1<<1 , MOD_HAS_BOUND = 1<<2 } |
| enum | VMAP_LOAD_RESULT { VMAP_LOAD_RESULT_ERROR , VMAP_LOAD_RESULT_OK , VMAP_LOAD_RESULT_IGNORED } |
Functions | |
| bool | IntersectTriangle (const MeshTriangle &tri, std::vector< Vector3 >::const_iterator points, const G3D::Ray &ray, float &distance) |
| bool | readChunk (FILE *rf, char *dest, const char *compare, uint32 len) |
Variables | |
| const char | GAMEOBJECT_MODELS [] = "GameObjectModels.dtree" |
| IVMapManager * | gVMapManager = NULL |
| const char | RAW_VMAP_MAGIC [] = "VMAP053" |
| const char | VMAP_MAGIC [] = "VMAP_5.3" |
This is the minimum interface to the VMapMamager.
This is the access point to the VMapManager.
The Class is mainly taken from G3D/AABSPTree.h but modified to be able to use our internal data structure. This is an iterator that helps us analysing the BSP-Trees. The collision detection is modified to return true, if we are inside an object.
| typedef UNORDERED_MAP<uint32, StaticMapTree*> VMAP::InstanceTreeMap |
Definition at line 53 of file VMapManager2.h.
| typedef std::map<uint32, MapSpawns*> VMAP::MapData |
Definition at line 51 of file TileAssembler.h.
| typedef UNORDERED_MAP<std::string, ManagedModel> VMAP::ModelFileMap |
Definition at line 54 of file VMapManager2.h.
| typedef std::multimap<uint32, uint32> VMAP::TileMap |
Definition at line 43 of file TileAssembler.h.
| typedef std::map<uint32, ModelSpawn> VMAP::UniqueEntryMap |
Definition at line 42 of file TileAssembler.h.
| enum VMAP::ModelFlags |
| Enumerator | |
|---|---|
| MOD_M2 | |
| MOD_WORLDSPAWN | |
| MOD_HAS_BOUND | |
Definition at line 22 of file ModelInstance.h.
| Enumerator | |
|---|---|
| VMAP_LOAD_RESULT_ERROR | |
| VMAP_LOAD_RESULT_OK | |
| VMAP_LOAD_RESULT_IGNORED | |
Definition at line 21 of file IVMapManager.h.
| bool VMAP::IntersectTriangle | ( | const MeshTriangle & | tri, |
| std::vector< Vector3 >::const_iterator | points, | ||
| const G3D::Ray & | ray, | ||
| float & | distance ) |
Definition at line 21 of file WorldModel.cpp.
References VMAP::MeshTriangle::idx0, VMAP::MeshTriangle::idx1, and VMAP::MeshTriangle::idx2.
Referenced by VMAP::GModelRayCallback::operator()().
| bool VMAP::readChunk | ( | FILE * | rf, |
| char * | dest, | ||
| const char * | compare, | ||
| uint32 | len ) |
Definition at line 28 of file TileAssembler.cpp.
Referenced by VMAP::StaticMapTree::CanLoadMap(), VMAP::StaticMapTree::InitMap(), VMAP::StaticMapTree::LoadMapTile(), VMAP::WorldModel::readFile(), VMAP::GroupModel::readFromFile(), and VMAP::StaticMapTree::UnloadMapTile().
| const char VMAP::GAMEOBJECT_MODELS[] = "GameObjectModels.dtree" |
Definition at line 17 of file VMapDefinitions.h.
Referenced by VMAP::TileAssembler::exportGameobjectModels(), and LoadGameObjectModelList().
| IVMapManager* VMAP::gVMapManager = NULL |
Definition at line 11 of file VMapFactory.cpp.
Referenced by VMAP::VMapFactory::clear(), and VMAP::VMapFactory::createOrGetVMapManager().
| const char VMAP::RAW_VMAP_MAGIC[] = "VMAP053" |
Definition at line 16 of file VMapDefinitions.h.
Referenced by VMAP::WorldModel_Raw::Read().
| const char VMAP::VMAP_MAGIC[] = "VMAP_5.3" |
Definition at line 15 of file VMapDefinitions.h.
Referenced by VMAP::StaticMapTree::CanLoadMap(), VMAP::TileAssembler::convertWorld2(), VMAP::StaticMapTree::InitMap(), VMAP::StaticMapTree::LoadMapTile(), VMAP::WorldModel::readFile(), VMAP::StaticMapTree::UnloadMapTile(), and VMAP::WorldModel::writeFile().