AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Map.cpp File Reference
#include "Map.h"
#include "Battleground.h"
#include "CellImpl.h"
#include "Chat.h"
#include "DisableMgr.h"
#include "DynamicTree.h"
#include "GameTime.h"
#include "Geometry.h"
#include "GridNotifiers.h"
#include "Group.h"
#include "InstanceScript.h"
#include "LFGMgr.h"
#include "MapInstanced.h"
#include "Metric.h"
#include "MiscPackets.h"
#include "Object.h"
#include "ObjectAccessor.h"
#include "ObjectGridLoader.h"
#include "ObjectMgr.h"
#include "Pet.h"
#include "ScriptMgr.h"
#include "Transport.h"
#include "VMapFactory.h"
#include "Vehicle.h"
#include "Weather.h"

Go to the source code of this file.

Classes

union  u_map_magic
 
struct  ResetNotifier
 

Functions

static bool IsInWMOInterior (uint32 mogpFlags)
 

Variables

u_map_magic MapMagic = { {'M', 'A', 'P', 'S'} }
 
uint32 MapVersionMagic = 9
 
u_map_magic MapAreaMagic = { {'A', 'R', 'E', 'A'} }
 
u_map_magic MapHeightMagic = { {'M', 'H', 'G', 'T'} }
 
u_map_magic MapLiquidMagic = { {'M', 'L', 'I', 'Q'} }
 
static uint16 const holetab_h [4] = { 0x1111, 0x2222, 0x4444, 0x8888 }
 
static uint16 const holetab_v [4] = { 0x000F, 0x00F0, 0x0F00, 0xF000 }
 

Function Documentation

◆ IsInWMOInterior()

static bool IsInWMOInterior ( uint32  mogpFlags)
inlinestatic
2094{
2095 return (mogpFlags & 0x2000) != 0;
2096}

Referenced by Map::GetFullTerrainStatusForPosition(), and Map::GetLiquidData().

Variable Documentation

◆ holetab_h

uint16 const holetab_h[4] = { 0x1111, 0x2222, 0x4444, 0x8888 }
static

Referenced by GridMap::isHole().

◆ holetab_v

uint16 const holetab_v[4] = { 0x000F, 0x00F0, 0x0F00, 0xF000 }
static

Referenced by GridMap::isHole().

◆ MapAreaMagic

u_map_magic MapAreaMagic = { {'A', 'R', 'E', 'A'} }

Referenced by GridMap::loadAreaData().

◆ MapHeightMagic

u_map_magic MapHeightMagic = { {'M', 'H', 'G', 'T'} }

Referenced by GridMap::loadHeightData().

◆ MapLiquidMagic

u_map_magic MapLiquidMagic = { {'M', 'L', 'I', 'Q'} }

Referenced by GridMap::loadLiquidData().

◆ MapMagic

u_map_magic MapMagic = { {'M', 'A', 'P', 'S'} }

Referenced by Map::ExistMap(), and GridMap::loadData().

◆ MapVersionMagic

uint32 MapVersionMagic = 9

Referenced by Map::ExistMap(), and GridMap::loadData().