AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Go to the source code of this file.
Classes | |
struct | CoordPair< LIMIT > |
Namespaces | |
namespace | Acore |
Macros | |
#define | MAX_NUMBER_OF_CELLS 8 |
#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 Grid< Player, AllWorldObjectTypes, AllGridObjectTypes > | GridType |
typedef NGrid< MAX_NUMBER_OF_CELLS, Player, AllWorldObjectTypes, AllGridObjectTypes > | NGridType |
typedef TypeMapContainer< AllGridObjectTypes > | GridTypeMapContainer |
typedef TypeMapContainer< AllWorldObjectTypes > | WorldTypeMapContainer |
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) AllWorldObjectTypes |
typedef | TYPELIST_4 (GameObject, Creature, DynamicObject, Corpse) AllGridObjectTypes |
typedef | TYPELIST_5 (Creature, GameObject, DynamicObject, Pet, Corpse) AllMapStoredObjectTypes |
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 center_offset, float size) |
GridCoord | Acore::ComputeGridCoord (float x, float y) |
CellCoord | Acore::ComputeCellCoord (float x, float y) |
CellCoord | Acore::ComputeCellCoord (float x, float y, float &x_off, float &y_off) |
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 MAX_NUMBER_OF_CELLS 8 |
#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 GridRefMgr<GameObject> GameObjectMapType |
typedef CoordPair<MAX_NUMBER_OF_GRIDS> GridCoord |
typedef TypeMapContainer<AllGridObjectTypes> GridTypeMapContainer |
typedef TypeUnorderedMapContainer<AllMapStoredObjectTypes, ObjectGuid> MapStoredObjectTypesContainer |
typedef NGrid<MAX_NUMBER_OF_CELLS, Player, AllWorldObjectTypes, AllGridObjectTypes> NGridType |
typedef GridRefMgr<Player> PlayerMapType |
typedef TypeMapContainer<AllWorldObjectTypes> WorldTypeMapContainer |
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_4 | ( | GameObject | , |
Creature | , | ||
DynamicObject | , | ||
Corpse | |||
) |
typedef TYPELIST_5 | ( | Creature | , |
GameObject | , | ||
DynamicObject | , | ||
Pet | , | ||
Corpse | |||
) |
typedef TYPELIST_5 | ( | GameObject | , |
Player | , | ||
Creature | , | ||
Corpse | , | ||
DynamicObject | |||
) |