From fea395cc79c1cb4f3848e44a144480b77603b336 Mon Sep 17 00:00:00 2001 From: Walzer Date: Thu, 2 Sep 2010 07:48:47 +0000 Subject: [PATCH] issue #116, remove include "support/data_support/CCArray.h" in CCTMXLayer.h --- cocos2dx/include/CCTMXLayer.h | 4 ++-- cocos2dx/tileMap_parallax_nodes/CCTMXLayer.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cocos2dx/include/CCTMXLayer.h b/cocos2dx/include/CCTMXLayer.h index a7f4f5e9df..45c1c0a91d 100644 --- a/cocos2dx/include/CCTMXLayer.h +++ b/cocos2dx/include/CCTMXLayer.h @@ -26,12 +26,12 @@ THE SOFTWARE. #include "CCTMXObjectGroup.h" #include "CCAtlasNode.h" #include "CCSpriteSheet.h" -#include "support/data_support/ccArray.h" namespace cocos2d { class CCTMXMapInfo; class CCTMXLayerInfo; class CCTMXTilesetInfo; + struct _ccCArray; /** CCTMXLayer represents the TMX layer. @@ -160,7 +160,7 @@ namespace cocos2d { // used for optimization CCSprite *m_pReusedTile; - ccCArray *m_pAtlasIndexArray; + _ccCArray *m_pAtlasIndexArray; }; }// namespace cocos2d diff --git a/cocos2dx/tileMap_parallax_nodes/CCTMXLayer.cpp b/cocos2dx/tileMap_parallax_nodes/CCTMXLayer.cpp index d3a7d73d92..ab3d0933d1 100644 --- a/cocos2dx/tileMap_parallax_nodes/CCTMXLayer.cpp +++ b/cocos2dx/tileMap_parallax_nodes/CCTMXLayer.cpp @@ -27,6 +27,7 @@ THE SOFTWARE. #include "CCSprite.h" #include "CCTextureCache.h" #include "CGPointExtension.h" +#include "support/data_support/ccArray.h" namespace cocos2d {