diff --git a/cocos2dx/label_nodes/CCLabelAtlas.cpp b/cocos2dx/label_nodes/CCLabelAtlas.cpp index 73582cb7ab..1e20729fdd 100644 --- a/cocos2dx/label_nodes/CCLabelAtlas.cpp +++ b/cocos2dx/label_nodes/CCLabelAtlas.cpp @@ -23,6 +23,9 @@ THE SOFTWARE. ****************************************************************************/ #include "CCLabelAtlas.h" #include "CCTextureAtlas.h" +#include "CGPointExtension.h" +#include "CCDrawingPrimitives.h" + namespace cocos2d{ //CCLabelAtlas - Creation & Init diff --git a/cocos2dx/particle_nodes/CCParticleSystem.cpp b/cocos2dx/particle_nodes/CCParticleSystem.cpp index 1eb03e2b05..b7e3a1fdeb 100644 --- a/cocos2dx/particle_nodes/CCParticleSystem.cpp +++ b/cocos2dx/particle_nodes/CCParticleSystem.cpp @@ -60,7 +60,7 @@ namespace cocos2d { ,m_fEmitCounter(0) ,m_nParticleIdx(0) #if CC_ENABLE_PROFILERS - ,m_pProfilingTimer(NULL); + ,m_pProfilingTimer(NULL) #endif ,m_bIsActive(true) ,m_nParticleCount(0) diff --git a/cocos2dx/sprite_nodes/CCSpriteSheet.cpp b/cocos2dx/sprite_nodes/CCSpriteSheet.cpp index ecb6f48ce6..5e7f2541b4 100644 --- a/cocos2dx/sprite_nodes/CCSpriteSheet.cpp +++ b/cocos2dx/sprite_nodes/CCSpriteSheet.cpp @@ -272,7 +272,7 @@ void CCSpriteSheet::draw(void) } #if CC_SPRITESHEET_DEBUG_DRAW - CGRect rect = [child boundingBox]; //Issue #528 + CGRect rect = pSprite->boundingBox(); // Issue #528 CGPoint vertices[4]={ ccp(rect.origin.x,rect.origin.y), ccp(rect.origin.x+rect.size.width,rect.origin.y),