Restore original clear behavior (Clear both guild marks and NPC/Warps)
This commit is contained in:
@@ -818,6 +818,12 @@ void CPythonMiniMap::SetAtlasScale(float fx, float fy)
|
|||||||
ComputeAtlasCenteringOffsets();
|
ComputeAtlasCenteringOffsets();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void CPythonMiniMap::ClearAtlasMarks()
|
||||||
|
{
|
||||||
|
ClearAtlasMarkInfo();
|
||||||
|
ClearGuildArea();
|
||||||
|
}
|
||||||
|
|
||||||
bool CPythonMiniMap::LoadAtlas()
|
bool CPythonMiniMap::LoadAtlas()
|
||||||
{
|
{
|
||||||
CPythonBackground& rkBG=CPythonBackground::Instance();
|
CPythonBackground& rkBG=CPythonBackground::Instance();
|
||||||
@@ -863,7 +869,7 @@ bool CPythonMiniMap::LoadAtlas()
|
|||||||
|
|
||||||
ComputeAtlasCenteringOffsets();
|
ComputeAtlasCenteringOffsets();
|
||||||
|
|
||||||
ClearGuildArea();
|
ClearAtlasMarks();
|
||||||
|
|
||||||
if (m_bShowAtlas)
|
if (m_bShowAtlas)
|
||||||
OpenAtlasWindow();
|
OpenAtlasWindow();
|
||||||
|
|||||||
@@ -83,6 +83,9 @@ class CPythonMiniMap : public CScreen, public CSingleton<CPythonMiniMap>
|
|||||||
void SetAtlasCenterPosition(int x, int y);
|
void SetAtlasCenterPosition(int x, int y);
|
||||||
void SetAtlasScale(float fx, float fy);
|
void SetAtlasScale(float fx, float fy);
|
||||||
|
|
||||||
|
// Atlas Marks
|
||||||
|
void ClearAtlasMarks();
|
||||||
|
|
||||||
// NPC List
|
// NPC List
|
||||||
void ClearAtlasMarkInfo();
|
void ClearAtlasMarkInfo();
|
||||||
void RegisterAtlasMark(BYTE byType, const char * c_szName, long lx, long ly);
|
void RegisterAtlasMark(BYTE byType, const char * c_szName, long lx, long ly);
|
||||||
|
|||||||
Reference in New Issue
Block a user