![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Go to the source code of this file.
Classes | |
| struct | CoordPair< LIMIT > |
Namespaces | |
| namespace | Acore |
Macros | |
| #define | CENTER_GRID_ID (MAX_NUMBER_OF_GRIDS/2) |
| #define | CENTER_GRID_OFFSET (SIZE_OF_GRIDS/2) |
| #define | MIN_GRID_DELAY (MINUTE*IN_MILLISECONDS) |
| #define | MIN_MAP_UPDATE_DELAY 1 |
| #define | SIZE_OF_GRID_CELL (SIZE_OF_GRIDS/MAX_NUMBER_OF_CELLS) |
| #define | CENTER_GRID_CELL_ID (MAX_NUMBER_OF_CELLS*MAX_NUMBER_OF_GRIDS/2) |
| #define | CENTER_GRID_CELL_OFFSET (SIZE_OF_GRID_CELL/2) |
| #define | TOTAL_NUMBER_OF_CELLS_PER_MAP (MAX_NUMBER_OF_GRIDS*MAX_NUMBER_OF_CELLS) |
| #define | MAP_RESOLUTION 128 |
| #define | MAP_SIZE (SIZE_OF_GRIDS*MAX_NUMBER_OF_GRIDS) |
| #define | MAP_HALFSIZE (MAP_SIZE/2) |
Typedefs | |
| typedef GridRefMgr< Corpse > | CorpseMapType |
| typedef GridRefMgr< Creature > | CreatureMapType |
| typedef GridRefMgr< DynamicObject > | DynamicObjectMapType |
| typedef GridRefMgr< GameObject > | GameObjectMapType |
| typedef GridRefMgr< Player > | PlayerMapType |
| typedef GridCell< AllMapGridStoredObjectTypes, AllFarVisibleObjectTypes > | GridCellType |
| typedef MapGrid< AllMapGridStoredObjectTypes, AllFarVisibleObjectTypes > | MapGridType |
| typedef TypeMapContainer< AllMapGridStoredObjectTypes > | GridTypeMapContainer |
| typedef TypeVectorContainer< AllFarVisibleObjectTypes > | FarVisibleGridContainer |
| typedef TypeUnorderedMapContainer< AllMapStoredObjectTypes, ObjectGuid > | MapStoredObjectTypesContainer |
| typedef CoordPair< MAX_NUMBER_OF_GRIDS > | GridCoord |
| typedef CoordPair< TOTAL_NUMBER_OF_CELLS_PER_MAP > | CellCoord |
Enumerations | |
| enum | GridMapTypeMask { GRID_MAP_TYPE_MASK_CORPSE = 0x01 , GRID_MAP_TYPE_MASK_CREATURE = 0x02 , GRID_MAP_TYPE_MASK_DYNAMICOBJECT = 0x04 , GRID_MAP_TYPE_MASK_GAMEOBJECT = 0x08 , GRID_MAP_TYPE_MASK_PLAYER = 0x10 , GRID_MAP_TYPE_MASK_ALL = 0x1F } |
Functions | |
| typedef | TYPELIST_5 (GameObject, Player, Creature, Corpse, DynamicObject) AllMapGridStoredObjectTypes |
| typedef | TYPELIST_4 (Creature, GameObject, DynamicObject, Corpse) AllMapStoredObjectTypes |
| typedef | TYPELIST_2 (Creature, GameObject) AllFarVisibleObjectTypes |
| template<uint32 LIMIT> | |
| bool | operator== (const CoordPair< LIMIT > &p1, const CoordPair< LIMIT > &p2) |
| template<uint32 LIMIT> | |
| bool | operator!= (const CoordPair< LIMIT > &p1, const CoordPair< LIMIT > &p2) |
| template<class RET_TYPE , int CENTER_VAL> | |
| RET_TYPE | Acore::Compute (float x, float y, float size) |
| GridCoord | Acore::ComputeGridCoord (float x, float y) |
| GridCoord | Acore::ComputeGridCoordSimple (float x, float y) |
| CellCoord | Acore::ComputeCellCoord (float x, float y) |
| void | Acore::NormalizeMapCoord (float &c) |
| bool | Acore::IsValidMapCoord (float c) |
| bool | Acore::IsValidMapCoord (float x, float y) |
| bool | Acore::IsValidMapCoord (float x, float y, float z) |
| bool | Acore::IsValidMapCoord (float x, float y, float z, float o) |
| #define CENTER_GRID_CELL_ID (MAX_NUMBER_OF_CELLS*MAX_NUMBER_OF_GRIDS/2) |
| #define CENTER_GRID_CELL_OFFSET (SIZE_OF_GRID_CELL/2) |
| #define CENTER_GRID_ID (MAX_NUMBER_OF_GRIDS/2) |
| #define CENTER_GRID_OFFSET (SIZE_OF_GRIDS/2) |
| #define MAP_HALFSIZE (MAP_SIZE/2) |
| #define MAP_RESOLUTION 128 |
| #define MAP_SIZE (SIZE_OF_GRIDS*MAX_NUMBER_OF_GRIDS) |
| #define MIN_GRID_DELAY (MINUTE*IN_MILLISECONDS) |
| #define MIN_MAP_UPDATE_DELAY 1 |
| #define SIZE_OF_GRID_CELL (SIZE_OF_GRIDS/MAX_NUMBER_OF_CELLS) |
| #define TOTAL_NUMBER_OF_CELLS_PER_MAP (MAX_NUMBER_OF_GRIDS*MAX_NUMBER_OF_CELLS) |
| typedef GridRefMgr<Corpse> CorpseMapType |
| typedef GridRefMgr<Creature> CreatureMapType |
| typedef GridRefMgr<DynamicObject> DynamicObjectMapType |
| typedef TypeVectorContainer<AllFarVisibleObjectTypes> FarVisibleGridContainer |
| typedef GridRefMgr<GameObject> GameObjectMapType |
| typedef GridCell<AllMapGridStoredObjectTypes, AllFarVisibleObjectTypes> GridCellType |
| typedef CoordPair<MAX_NUMBER_OF_GRIDS> GridCoord |
| typedef TypeMapContainer<AllMapGridStoredObjectTypes> GridTypeMapContainer |
| typedef MapGrid<AllMapGridStoredObjectTypes, AllFarVisibleObjectTypes> MapGridType |
| typedef TypeUnorderedMapContainer<AllMapStoredObjectTypes, ObjectGuid> MapStoredObjectTypesContainer |
| typedef GridRefMgr<Player> PlayerMapType |
| enum GridMapTypeMask |
| Enumerator | |
|---|---|
| GRID_MAP_TYPE_MASK_CORPSE | |
| GRID_MAP_TYPE_MASK_CREATURE | |
| GRID_MAP_TYPE_MASK_DYNAMICOBJECT | |
| GRID_MAP_TYPE_MASK_GAMEOBJECT | |
| GRID_MAP_TYPE_MASK_PLAYER | |
| GRID_MAP_TYPE_MASK_ALL | |
| bool operator!= | ( | const CoordPair< LIMIT > & | p1, |
| const CoordPair< LIMIT > & | p2 | ||
| ) |
| bool operator== | ( | const CoordPair< LIMIT > & | p1, |
| const CoordPair< LIMIT > & | p2 | ||
| ) |
References CoordPair< LIMIT >::x_coord, and CoordPair< LIMIT >::y_coord.
| typedef TYPELIST_2 | ( | Creature | , |
| GameObject | |||
| ) |
| typedef TYPELIST_4 | ( | Creature | , |
| GameObject | , | ||
| DynamicObject | , | ||
| Corpse | |||
| ) |
| typedef TYPELIST_5 | ( | GameObject | , |
| Player | , | ||
| Creature | , | ||
| Corpse | , | ||
| DynamicObject | |||
| ) |