mirror of https://github.com/axmolengine/axmol.git
issue #114, CCTMXTiledMap debug
This commit is contained in:
parent
21e0bfe46b
commit
88888f7f63
|
@ -115,6 +115,7 @@ namespace cocos2d {
|
|||
{
|
||||
m_pProperties->clear();
|
||||
delete m_pProperties;
|
||||
m_pProperties = NULL;
|
||||
}
|
||||
|
||||
if( m_pAtlasIndexArray )
|
||||
|
|
|
@ -51,6 +51,7 @@ namespace cocos2d {
|
|||
{
|
||||
m_pProperties->clear();
|
||||
delete m_pProperties;
|
||||
m_pProperties = NULL;
|
||||
}
|
||||
if (m_pObjects)
|
||||
{
|
||||
|
@ -61,6 +62,7 @@ namespace cocos2d {
|
|||
}
|
||||
m_pObjects->clear();
|
||||
delete m_pObjects;
|
||||
m_pObjects = NULL;
|
||||
}
|
||||
}
|
||||
StringToStringDictionary * CCTMXObjectGroup::objectNamed(const char *objectName)
|
||||
|
|
|
@ -101,6 +101,7 @@ namespace cocos2d{
|
|||
{
|
||||
m_pProperties->clear();
|
||||
delete m_pProperties;
|
||||
m_pProperties = NULL;
|
||||
}
|
||||
if (m_pTileProperties)
|
||||
{
|
||||
|
@ -115,6 +116,7 @@ namespace cocos2d{
|
|||
}
|
||||
m_pTileProperties->clear();
|
||||
delete m_pTileProperties;
|
||||
m_pTileProperties = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -56,6 +56,7 @@ namespace cocos2d {
|
|||
{
|
||||
m_pProperties->clear();
|
||||
delete m_pProperties;
|
||||
m_pProperties = NULL;
|
||||
}
|
||||
if( m_bOwnTiles && m_pTiles )
|
||||
{
|
||||
|
@ -138,6 +139,7 @@ namespace cocos2d {
|
|||
{
|
||||
m_pProperties->clear();
|
||||
delete m_pProperties;
|
||||
m_pProperties = NULL;
|
||||
}
|
||||
if (m_pTileProperties)
|
||||
{
|
||||
|
@ -152,10 +154,8 @@ namespace cocos2d {
|
|||
}
|
||||
m_pTileProperties->clear();
|
||||
delete m_pTileProperties;
|
||||
m_pTileProperties = NULL;
|
||||
}
|
||||
|
||||
CCX_SAFE_DELETE(m_pProperties);
|
||||
CCX_SAFE_DELETE(m_pTileProperties);
|
||||
}
|
||||
|
||||
bool CCTMXMapInfo::parseXMLFile(const char *xmlFilename)
|
||||
|
|
|
@ -72,6 +72,7 @@ namespace cocos2d {
|
|||
{
|
||||
m_pPosToAtlasIndex->clear();
|
||||
delete m_pPosToAtlasIndex;
|
||||
m_pPosToAtlasIndex = NULL;
|
||||
}
|
||||
}
|
||||
void CCTileMapAtlas::releaseMap()
|
||||
|
|
Loading…
Reference in New Issue