mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
committed by
GitHub
parent
e60b953a7a
commit
5474b00a3d
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user