mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2026-04-27 23:31:07 -07:00
parent
e60b953a7a
commit
5474b00a3d
2 changed files with 17 additions and 10 deletions
|
|
@ -942,16 +942,8 @@ namespace MMAP
|
|||
return static_cast<uint32>(m_mapid) != mapID;
|
||||
|
||||
if (m_skipContinents)
|
||||
switch (mapID)
|
||||
{
|
||||
case 0:
|
||||
case 1:
|
||||
case 530:
|
||||
case 571:
|
||||
return true;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (isContinentMap(mapID))
|
||||
return true;
|
||||
|
||||
if (m_skipJunkMaps)
|
||||
switch (mapID)
|
||||
|
|
@ -1031,6 +1023,20 @@ namespace MMAP
|
|||
}
|
||||
}
|
||||
|
||||
bool MapBuilder::isContinentMap(uint32 mapID) const
|
||||
{
|
||||
switch (mapID)
|
||||
{
|
||||
case 0:
|
||||
case 1:
|
||||
case 530:
|
||||
case 571:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**************************************************************************/
|
||||
bool TileBuilder::shouldSkipTile(uint32 mapID, uint32 tileX, uint32 tileY) const
|
||||
{
|
||||
|
|
|
|||
|
|
@ -185,6 +185,7 @@ namespace MMAP
|
|||
|
||||
bool shouldSkipMap(uint32 mapID) const;
|
||||
bool isTransportMap(uint32 mapID) const;
|
||||
bool isContinentMap(uint32 mapID) const;
|
||||
|
||||
rcConfig GetMapSpecificConfig(uint32 mapID, float bmin[3], float bmax[3], const TileConfig &tileConfig) const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue