issue #2905: helloworld build ok on android

This commit is contained in:
minggo 2013-10-14 14:01:00 +08:00
parent 1751cc3d89
commit 95acb1b9e3
417 changed files with 1035 additions and 1141 deletions

View File

@ -7,176 +7,180 @@ LOCAL_MODULE := cocos2dx_static
LOCAL_MODULE_FILENAME := libcocos2d LOCAL_MODULE_FILENAME := libcocos2d
LOCAL_SRC_FILES := \ LOCAL_SRC_FILES := \
CCCamera.cpp \ $(LOCAL_PATH)/base64.cpp \
CCConfiguration.cpp \ $(LOCAL_PATH)/CCAction.cpp \
CCDeprecated.cpp \ $(LOCAL_PATH)/CCActionCamera.cpp \
CCDirector.cpp \ $(LOCAL_PATH)/CCActionCatmullRom.cpp \
ccFPSImages.c \ $(LOCAL_PATH)/CCActionEase.cpp \
CCScheduler.cpp \ $(LOCAL_PATH)/CCActionGrid.cpp \
ccTypes.cpp \ $(LOCAL_PATH)/CCActionGrid3D.cpp \
cocos2d.cpp \ $(LOCAL_PATH)/CCActionInstant.cpp \
actions/CCAction.cpp \ $(LOCAL_PATH)/CCActionInterval.cpp \
actions/CCActionCamera.cpp \ $(LOCAL_PATH)/CCActionManager.cpp \
actions/CCActionCatmullRom.cpp \ $(LOCAL_PATH)/CCActionPageTurn3D.cpp \
actions/CCActionEase.cpp \ $(LOCAL_PATH)/CCActionProgressTimer.cpp \
actions/CCActionGrid.cpp \ $(LOCAL_PATH)/CCActionTiledGrid.cpp \
actions/CCActionGrid3D.cpp \ $(LOCAL_PATH)/CCActionTween.cpp \
actions/CCActionInstant.cpp \ $(LOCAL_PATH)/CCAnimation.cpp \
actions/CCActionInterval.cpp \ $(LOCAL_PATH)/CCAnimationCache.cpp \
actions/CCActionManager.cpp \ $(LOCAL_PATH)/CCAtlasNode.cpp \
actions/CCActionPageTurn3D.cpp \ $(LOCAL_PATH)/CCCamera.cpp \
actions/CCActionProgressTimer.cpp \ $(LOCAL_PATH)/ccCArray.cpp \
actions/CCActionTiledGrid.cpp \ $(LOCAL_PATH)/CCClippingNode.cpp \
actions/CCActionTween.cpp \ $(LOCAL_PATH)/CCComponent.cpp \
base_nodes/CCAtlasNode.cpp \ $(LOCAL_PATH)/CCComponentContainer.cpp \
base_nodes/CCNode.cpp \ $(LOCAL_PATH)/CCConfiguration.cpp \
cocoa/CCAffineTransform.cpp \ $(LOCAL_PATH)/CCDeprecated.cpp \
cocoa/CCArray.cpp \ $(LOCAL_PATH)/CCDirector.cpp \
cocoa/CCAutoreleasePool.cpp \ $(LOCAL_PATH)/CCDrawingPrimitives.cpp \
cocoa/CCData.cpp \ $(LOCAL_PATH)/CCDrawNode.cpp \
cocoa/CCDataVisitor.cpp \ $(LOCAL_PATH)/CCEvent.cpp \
cocoa/CCDictionary.cpp \ $(LOCAL_PATH)/CCEventAcceleration.cpp \
cocoa/CCGeometry.cpp \ $(LOCAL_PATH)/CCEventCustom.cpp \
cocoa/CCNS.cpp \ $(LOCAL_PATH)/CCEventDispatcher.cpp \
cocoa/CCObject.cpp \ $(LOCAL_PATH)/CCEventKeyboard.cpp \
cocoa/CCSet.cpp \ $(LOCAL_PATH)/CCEventListener.cpp \
cocoa/CCString.cpp \ $(LOCAL_PATH)/CCEventListenerAcceleration.cpp \
draw_nodes/CCDrawingPrimitives.cpp \ $(LOCAL_PATH)/CCEventListenerCustom.cpp \
draw_nodes/CCDrawNode.cpp \ $(LOCAL_PATH)/CCEventListenerKeyboard.cpp \
effects/CCGrabber.cpp \ $(LOCAL_PATH)/CCEventListenerTouch.cpp \
effects/CCGrid.cpp \ $(LOCAL_PATH)/CCEventTouch.cpp \
event_dispatcher/CCEventAcceleration.cpp \ $(LOCAL_PATH)/CCFont.cpp \
event_dispatcher/CCEventListenerAcceleration.cpp \ $(LOCAL_PATH)/CCFontAtlas.cpp \
event_dispatcher/CCEventCustom.cpp \ $(LOCAL_PATH)/CCFontAtlasCache.cpp \
event_dispatcher/CCEventListenerCustom.cpp \ $(LOCAL_PATH)/CCFontAtlasFactory.cpp \
event_dispatcher/CCEvent.cpp \ $(LOCAL_PATH)/CCFontDefinition.cpp \
event_dispatcher/CCEventDispatcher.cpp \ $(LOCAL_PATH)/CCFontFNT.cpp \
event_dispatcher/CCEventListener.cpp \ $(LOCAL_PATH)/CCFontFreeType.cpp \
event_dispatcher/CCEventKeyboard.cpp \ $(LOCAL_PATH)/ccFPSImages.c \
event_dispatcher/CCEventListenerKeyboard.cpp \ $(LOCAL_PATH)/CCGLBufferedNode.cpp \
event_dispatcher/CCTouch.cpp \ $(LOCAL_PATH)/CCGLProgram.cpp \
event_dispatcher/CCEventTouch.cpp \ $(LOCAL_PATH)/ccGLStateCache.cpp \
event_dispatcher/CCEventListenerTouch.cpp \ $(LOCAL_PATH)/CCGrabber.cpp \
kazmath/src/aabb.c \ $(LOCAL_PATH)/CCGrid.cpp \
kazmath/src/mat3.c \ $(LOCAL_PATH)/CCIMEDispatcher.cpp \
kazmath/src/mat4.c \ $(LOCAL_PATH)/CCLabel.cpp \
kazmath/src/neon_matrix_impl.c \ $(LOCAL_PATH)/CCLabelAtlas.cpp \
kazmath/src/plane.c \ $(LOCAL_PATH)/CCLabelBMFont.cpp \
kazmath/src/quaternion.c \ $(LOCAL_PATH)/CCLabelTextFormatter.cpp \
kazmath/src/ray2.c \ $(LOCAL_PATH)/CCLabelTTF.cpp \
kazmath/src/utility.c \ $(LOCAL_PATH)/CCLayer.cpp \
kazmath/src/vec2.c \ $(LOCAL_PATH)/CCMenu.cpp \
kazmath/src/vec3.c \ $(LOCAL_PATH)/CCMenuItem.cpp \
kazmath/src/vec4.c \ $(LOCAL_PATH)/CCMotionStreak.cpp \
kazmath/src/GL/mat4stack.c \ $(LOCAL_PATH)/CCNode.cpp \
kazmath/src/GL/matrix.c \ $(LOCAL_PATH)/CCNotificationCenter.cpp \
label_nodes/CCFont.cpp \ $(LOCAL_PATH)/CCParallaxNode.cpp \
label_nodes/CCFontAtlas.cpp \ $(LOCAL_PATH)/CCParticleBatchNode.cpp \
label_nodes/CCFontAtlasCache.cpp \ $(LOCAL_PATH)/CCParticleExamples.cpp \
label_nodes/CCFontAtlasFactory.cpp \ $(LOCAL_PATH)/CCParticleSystem.cpp \
label_nodes/CCFontDefinition.cpp \ $(LOCAL_PATH)/CCParticleSystemQuad.cpp \
label_nodes/CCFontFNT.cpp \ $(LOCAL_PATH)/CCProfiling.cpp \
label_nodes/CCFontFreeType.cpp \ $(LOCAL_PATH)/CCProgressTimer.cpp \
label_nodes/CCLabel.cpp \ $(LOCAL_PATH)/CCRenderTexture.cpp \
label_nodes/CCLabelAtlas.cpp \ $(LOCAL_PATH)/CCScene.cpp \
label_nodes/CCLabelBMFont.cpp \ $(LOCAL_PATH)/CCScheduler.cpp \
label_nodes/CCLabelTextFormatter.cpp \ $(LOCAL_PATH)/CCScriptSupport.cpp \
label_nodes/CCLabelTTF.cpp \ $(LOCAL_PATH)/CCShaderCache.cpp \
label_nodes/CCTextImage.cpp \ $(LOCAL_PATH)/ccShaders.cpp \
layers_scenes_transitions_nodes/CCLayer.cpp \ $(LOCAL_PATH)/CCSprite.cpp \
layers_scenes_transitions_nodes/CCScene.cpp \ $(LOCAL_PATH)/CCSpriteBatchNode.cpp \
layers_scenes_transitions_nodes/CCTransition.cpp \ $(LOCAL_PATH)/CCSpriteFrame.cpp \
layers_scenes_transitions_nodes/CCTransitionPageTurn.cpp \ $(LOCAL_PATH)/CCSpriteFrameCache.cpp \
layers_scenes_transitions_nodes/CCTransitionProgress.cpp \ $(LOCAL_PATH)/CCTextFieldTTF.cpp \
menu_nodes/CCMenu.cpp \ $(LOCAL_PATH)/CCTextImage.cpp \
menu_nodes/CCMenuItem.cpp \ $(LOCAL_PATH)/CCTexture2D.cpp \
misc_nodes/CCClippingNode.cpp \ $(LOCAL_PATH)/CCTextureAtlas.cpp \
misc_nodes/CCMotionStreak.cpp \ $(LOCAL_PATH)/CCTextureCache.cpp \
misc_nodes/CCProgressTimer.cpp \ $(LOCAL_PATH)/CCTileMapAtlas.cpp \
misc_nodes/CCRenderTexture.cpp \ $(LOCAL_PATH)/CCTMXLayer.cpp \
particle_nodes/CCParticleBatchNode.cpp \ $(LOCAL_PATH)/CCTMXObjectGroup.cpp \
particle_nodes/CCParticleExamples.cpp \ $(LOCAL_PATH)/CCTMXTiledMap.cpp \
particle_nodes/CCParticleSystem.cpp \ $(LOCAL_PATH)/CCTMXXMLParser.cpp \
particle_nodes/CCParticleSystemQuad.cpp \ $(LOCAL_PATH)/CCTouch.cpp \
physics/CCPhysicsBody.cpp \ $(LOCAL_PATH)/CCTransition.cpp \
physics/CCPhysicsContact.cpp \ $(LOCAL_PATH)/CCTransitionPageTurn.cpp \
physics/CCPhysicsJoint.cpp \ $(LOCAL_PATH)/CCTransitionProgress.cpp \
physics/CCPhysicsShape.cpp \ $(LOCAL_PATH)/ccTypes.cpp \
physics/CCPhysicsWorld.cpp \ $(LOCAL_PATH)/CCUserDefault.cpp \
physics/Box2D/CCPhysicsBodyInfo.cpp \ $(LOCAL_PATH)/CCUserDefaultAndroid.cpp \
physics/Box2D/CCPhysicsContactInfo.cpp \ $(LOCAL_PATH)/ccUTF8.cpp \
physics/Box2D/CCPhysicsJointInfo.cpp \ $(LOCAL_PATH)/ccUtils.cpp \
physics/Box2D/CCPhysicsShapeInfo.cpp \ $(LOCAL_PATH)/CCVertex.cpp \
physics/Box2D/CCPhysicsWorldInfo.cpp \ $(LOCAL_PATH)/cocos2d.cpp \
physics/chipmunk/CCPhysicsBodyInfo.cpp \ $(LOCAL_PATH)/TGAlib.cpp \
physics/chipmunk/CCPhysicsContactInfo.cpp \ $(LOCAL_PATH)/TransformUtils.cpp \
physics/chipmunk/CCPhysicsJointInfo.cpp \ $(LOCAL_PATH)/ZipUtils.cpp \
physics/chipmunk/CCPhysicsShapeInfo.cpp \ $(LOCAL_PATH)/platform/CCEGLViewProtocol.cpp \
physics/chipmunk/CCPhysicsWorldInfo.cpp \ $(LOCAL_PATH)/platform/CCFileUtils.cpp \
platform/CCEGLViewProtocol.cpp \ $(LOCAL_PATH)/platform/CCSAXParser.cpp \
platform/CCFileUtils.cpp \ $(LOCAL_PATH)/platform/CCThread.cpp \
platform/CCSAXParser.cpp \ $(LOCAL_PATH)/../base/atitc.cpp \
platform/CCThread.cpp \ $(LOCAL_PATH)/../base/CCAffineTransform.cpp \
platform/third_party/common/atitc/atitc.cpp \ $(LOCAL_PATH)/../base/CCArray.cpp \
platform/third_party/common/etc/etc1.cpp \ $(LOCAL_PATH)/../base/CCAutoreleasePool.cpp \
platform/third_party/common/s3tc/s3tc.cpp \ $(LOCAL_PATH)/../base/CCData.cpp \
script_support/CCScriptSupport.cpp \ $(LOCAL_PATH)/../base/CCDataVisitor.cpp \
shaders/CCGLProgram.cpp \ $(LOCAL_PATH)/../base/CCDictionary.cpp \
shaders/ccGLStateCache.cpp \ $(LOCAL_PATH)/../base/CCGeometry.cpp \
shaders/CCShaderCache.cpp \ $(LOCAL_PATH)/../base/CCNS.cpp \
shaders/ccShaders.cpp \ $(LOCAL_PATH)/../base/CCObject.cpp \
sprite_nodes/CCAnimation.cpp \ $(LOCAL_PATH)/../base/CCSet.cpp \
sprite_nodes/CCAnimationCache.cpp \ $(LOCAL_PATH)/../base/CCString.cpp \
sprite_nodes/CCSprite.cpp \ $(LOCAL_PATH)/../base/etc1.cpp \
sprite_nodes/CCSpriteBatchNode.cpp \ $(LOCAL_PATH)/../base/s3tc.cpp \
sprite_nodes/CCSpriteFrame.cpp \ $(LOCAL_PATH)/../math/kazmath/src/aabb.c \
sprite_nodes/CCSpriteFrameCache.cpp \ $(LOCAL_PATH)/../math/kazmath/src/mat3.c \
support/base64.cpp \ $(LOCAL_PATH)/../math/kazmath/src/mat4.c \
support/CCNotificationCenter.cpp \ $(LOCAL_PATH)/../math/kazmath/src/neon_matrix_impl.c \
support/CCProfiling.cpp \ $(LOCAL_PATH)/../math/kazmath/src/plane.c \
support/ccUTF8.cpp \ $(LOCAL_PATH)/../math/kazmath/src/quaternion.c \
support/ccUtils.cpp \ $(LOCAL_PATH)/../math/kazmath/src/ray2.c \
support/CCVertex.cpp \ $(LOCAL_PATH)/../math/kazmath/src/utility.c \
support/TransformUtils.cpp \ $(LOCAL_PATH)/../math/kazmath/src/vec2.c \
support/component/CCComponent.cpp \ $(LOCAL_PATH)/../math/kazmath/src/vec3.c \
support/component/CCComponentContainer.cpp \ $(LOCAL_PATH)/../math/kazmath/src/vec4.c \
support/data_support/ccCArray.cpp \ $(LOCAL_PATH)/../math/kazmath/src/GL/mat4stack.c \
support/image_support/TGAlib.cpp \ $(LOCAL_PATH)/../math/kazmath/src/GL/matrix.c \
support/tinyxml2/tinyxml2.cpp \ $(LOCAL_PATH)/../physics/CCPhysicsBody.cpp \
support/user_default/CCUserDefaultAndroid.cpp \ $(LOCAL_PATH)/../physics/CCPhysicsContact.cpp \
support/zip_support/ioapi.cpp \ $(LOCAL_PATH)/../physics/CCPhysicsJoint.cpp \
support/zip_support/unzip.cpp \ $(LOCAL_PATH)/../physics/CCPhysicsShape.cpp \
support/zip_support/ZipUtils.cpp \ $(LOCAL_PATH)/../physics/CCPhysicsWorld.cpp \
text_input_node/CCIMEDispatcher.cpp \ $(LOCAL_PATH)/../physics/box2d/CCPhysicsBodyInfo.cpp \
text_input_node/CCTextFieldTTF.cpp \ $(LOCAL_PATH)/../physics/box2d/CCPhysicsContactInfo.cpp \
textures/CCTexture2D.cpp \ $(LOCAL_PATH)/../physics/box2d/CCPhysicsJointInfo.cpp \
textures/CCTextureAtlas.cpp \ $(LOCAL_PATH)/../physics/box2d/CCPhysicsShapeInfo.cpp \
textures/CCTextureCache.cpp \ $(LOCAL_PATH)/../physics/box2d/CCPhysicsWorldInfo.cpp \
tilemap_parallax_nodes/CCParallaxNode.cpp \ $(LOCAL_PATH)/../physics/chipmunk/CCPhysicsBodyInfo.cpp \
tilemap_parallax_nodes/CCTileMapAtlas.cpp \ $(LOCAL_PATH)/../physics/chipmunk/CCPhysicsContactInfo.cpp \
tilemap_parallax_nodes/CCTMXLayer.cpp \ $(LOCAL_PATH)/../physics/chipmunk/CCPhysicsJointInfo.cpp \
tilemap_parallax_nodes/CCTMXObjectGroup.cpp \ $(LOCAL_PATH)/../physics/chipmunk/CCPhysicsShapeInfo.cpp \
tilemap_parallax_nodes/CCTMXTiledMap.cpp \ $(LOCAL_PATH)/../physics/chipmunk/CCPhysicsWorldInfo.cpp \
tilemap_parallax_nodes/CCTMXXMLParser.cpp $(LOCAL_PATH)/../../external/tinyxml2/tinyxml2.cpp \
$(LOCAL_PATH)/../../external/unzip/ioapi.cpp \
$(LOCAL_PATH)/../../external/unzip/unzip.cpp
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) \ LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) \
$(LOCAL_PATH)/include \ $(LOCAL_PATH)/include \
$(LOCAL_PATH)/kazmath/include \ $(LOCAL_PATH)/../math/kazmath/include \
$(LOCAL_PATH)/platform/android \ $(LOCAL_PATH)/platform/android \
$(LOCAL_PATH)/platform/third_party/common/etc \ $(LOCAL_PATH)/../physics \
$(LOCAL_PATH)/platform/third_party/common/s3tc \ $(LOCAL_PATH)/../base \
$(LOCAL_PATH)/platform/third_party/common/atitc \ $(LOCAL_PATH)/../../external/tinyxml2 \
$(LOCAL_PATH)/../external/chipmunk/include/chipmunk $(LOCAL_PATH)/../../external/unzip \
$(LOCAL_PATH)/../../external/chipmunk/include/chipmunk
LOCAL_C_INCLUDES := $(LOCAL_PATH) \ LOCAL_C_INCLUDES := $(LOCAL_PATH) \
$(LOCAL_PATH)/include \ $(LOCAL_PATH)/include \
$(LOCAL_PATH)/kazmath/include \ $(LOCAL_PATH)/../math/kazmath/include \
$(LOCAL_PATH)/platform/android \ $(LOCAL_PATH)/platform/android \
$(LOCAL_PATH)/platform/third_party/common/etc \ $(LOCAL_PATH)/../physics \
$(LOCAL_PATH)/platform/third_party/common/s3tc \ $(LOCAL_PATH)/../base \
$(LOCAL_PATH)/platform/third_party/common/atitc \ $(LOCAL_PATH)/../../external/tinyxml2 \
$(LOCAL_PATH)/../external/chipmunk/include/chipmunk $(LOCAL_PATH)/../../external/unzip \
$(LOCAL_PATH)/../../external/chipmunk/include/chipmunk
LOCAL_LDLIBS := -lGLESv2 \ LOCAL_LDLIBS := -lGLESv2 \
@ -196,6 +200,7 @@ LOCAL_WHOLE_STATIC_LIBRARIES += cocos_libtiff_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_libwebp_static LOCAL_WHOLE_STATIC_LIBRARIES += cocos_libwebp_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_freetype2_static LOCAL_WHOLE_STATIC_LIBRARIES += cocos_freetype2_static
LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dxandroid_static
# define the macro to compile through support/zip_support/ioapi.c # define the macro to compile through support/zip_support/ioapi.c
LOCAL_CFLAGS := -Wno-psabi -DUSE_FILE32API LOCAL_CFLAGS := -Wno-psabi -DUSE_FILE32API
@ -203,9 +208,10 @@ LOCAL_EXPORT_CFLAGS := -Wno-psabi -DUSE_FILE32API
include $(BUILD_STATIC_LIBRARY) include $(BUILD_STATIC_LIBRARY)
$(call import-module,libjpeg) $(call import-module,jpeg/prebuilt/android)
$(call import-module,libpng) $(call import-module,png/prebuilt/android)
$(call import-module,libtiff) $(call import-module,tiff/prebuilt/android)
$(call import-module,libwebp) $(call import-module,webp/prebuilt/android)
$(call import-module,libfreetype2) $(call import-module,freetype2/prebuilt/android)
$(call import-module,external/chipmunk) $(call import-module,chipmunk)
$(call import-module,2d/platform/android)

View File

@ -26,7 +26,7 @@ THE SOFTWARE.
#include "CCAction.h" #include "CCAction.h"
#include "CCActionInterval.h" #include "CCActionInterval.h"
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "CCDirector.h" #include "CCDirector.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -27,9 +27,9 @@ THE SOFTWARE.
#ifndef __ACTIONS_CCACTION_H__ #ifndef __ACTIONS_CCACTION_H__
#define __ACTIONS_CCACTION_H__ #define __ACTIONS_CCACTION_H__
#include "cocoa/CCObject.h" #include "CCObject.h"
#include "cocoa/CCGeometry.h" #include "CCGeometry.h"
#include "platform/CCPlatformMacros.h" #include "CCPlatformMacros.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -25,7 +25,7 @@ THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCActionCamera.h" #include "CCActionCamera.h"
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "CCCamera.h" #include "CCCamera.h"
#include "CCStdC.h" #include "CCStdC.h"

View File

@ -40,8 +40,8 @@
#include <vector> #include <vector>
#include "CCActionInterval.h" #include "CCActionInterval.h"
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "cocoa/CCGeometry.h" #include "CCGeometry.h"
NS_CC_BEGIN; NS_CC_BEGIN;

View File

@ -24,7 +24,7 @@ THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCActionGrid.h" #include "CCActionGrid.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "effects/CCGrid.h" #include "CCGrid.h"
NS_CC_BEGIN NS_CC_BEGIN
// implementation of GridAction // implementation of GridAction

View File

@ -25,9 +25,9 @@
****************************************************************************/ ****************************************************************************/
#include "CCActionInstant.h" #include "CCActionInstant.h"
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "sprite_nodes/CCSprite.h" #include "CCSprite.h"
#include "script_support/CCScriptSupport.h" #include "CCScriptSupport.h"
#if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1))) #if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))
#pragma GCC diagnostic ignored "-Wdeprecated-declarations" #pragma GCC diagnostic ignored "-Wdeprecated-declarations"

View File

@ -25,8 +25,8 @@ THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCActionInterval.h" #include "CCActionInterval.h"
#include "sprite_nodes/CCSprite.h" #include "CCSprite.h"
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "CCStdC.h" #include "CCStdC.h"
#include "CCActionInstant.h" #include "CCActionInstant.h"
#include <stdarg.h> #include <stdarg.h>

View File

@ -27,11 +27,11 @@ THE SOFTWARE.
#ifndef __ACTION_CCINTERVAL_ACTION_H__ #ifndef __ACTION_CCINTERVAL_ACTION_H__
#define __ACTION_CCINTERVAL_ACTION_H__ #define __ACTION_CCINTERVAL_ACTION_H__
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "CCAction.h" #include "CCAction.h"
#include "CCProtocols.h" #include "CCProtocols.h"
#include "sprite_nodes/CCSpriteFrame.h" #include "CCSpriteFrame.h"
#include "sprite_nodes/CCAnimation.h" #include "CCAnimation.h"
#include <vector> #include <vector>
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -26,12 +26,12 @@ THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCActionManager.h" #include "CCActionManager.h"
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "CCScheduler.h" #include "CCScheduler.h"
#include "ccMacros.h" #include "ccMacros.h"
#include "support/data_support/ccCArray.h" #include "ccCArray.h"
#include "support/data_support/uthash.h" #include "uthash.h"
#include "cocoa/CCSet.h" #include "CCSet.h"
NS_CC_BEGIN NS_CC_BEGIN
// //

View File

@ -29,8 +29,8 @@ THE SOFTWARE.
#define __ACTION_CCACTION_MANAGER_H__ #define __ACTION_CCACTION_MANAGER_H__
#include "CCAction.h" #include "CCAction.h"
#include "cocoa/CCArray.h" #include "CCArray.h"
#include "cocoa/CCObject.h" #include "CCObject.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -23,7 +23,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCActionProgressTimer.h" #include "CCActionProgressTimer.h"
#include "misc_nodes/CCProgressTimer.h" #include "CCProgressTimer.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -25,7 +25,7 @@ THE SOFTWARE.
#include "CCActionTiledGrid.h" #include "CCActionTiledGrid.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "ccMacros.h" #include "ccMacros.h"
#include "effects/CCGrid.h" #include "CCGrid.h"
#include <stdlib.h> #include <stdlib.h>
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -24,10 +24,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCAnimation.h" #include "CCAnimation.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "textures/CCTexture2D.h" #include "CCTexture2D.h"
#include "ccMacros.h" #include "ccMacros.h"
#include "sprite_nodes/CCSpriteFrame.h" #include "CCSpriteFrame.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -26,11 +26,11 @@ THE SOFTWARE.
#ifndef __CC_ANIMATION_H__ #ifndef __CC_ANIMATION_H__
#define __CC_ANIMATION_H__ #define __CC_ANIMATION_H__
#include "platform/CCPlatformConfig.h" #include "CCPlatformConfig.h"
#include "cocoa/CCObject.h" #include "CCObject.h"
#include "cocoa/CCArray.h" #include "CCArray.h"
#include "cocoa/CCDictionary.h" #include "CCDictionary.h"
#include "cocoa/CCGeometry.h" #include "CCGeometry.h"
#include "CCSpriteFrame.h" #include "CCSpriteFrame.h"
#include <string> #include <string>

View File

@ -28,7 +28,7 @@ THE SOFTWARE.
#include "CCAnimation.h" #include "CCAnimation.h"
#include "CCSpriteFrame.h" #include "CCSpriteFrame.h"
#include "CCSpriteFrameCache.h" #include "CCSpriteFrameCache.h"
#include "cocoa/CCString.h" #include "CCString.h"
#include "platform/CCFileUtils.h" #include "platform/CCFileUtils.h"
using namespace std; using namespace std;

View File

@ -26,8 +26,8 @@ THE SOFTWARE.
#ifndef __CC_ANIMATION_CACHE_H__ #ifndef __CC_ANIMATION_CACHE_H__
#define __CC_ANIMATION_CACHE_H__ #define __CC_ANIMATION_CACHE_H__
#include "cocoa/CCObject.h" #include "CCObject.h"
#include "cocoa/CCDictionary.h" #include "CCDictionary.h"
#include <string> #include <string>

View File

@ -25,14 +25,14 @@ THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCAtlasNode.h" #include "CCAtlasNode.h"
#include "textures/CCTextureAtlas.h" #include "CCTextureAtlas.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "shaders/ccGLStateCache.h" #include "ccGLStateCache.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "support/TransformUtils.h" #include "TransformUtils.h"
// external // external
#include "kazmath/GL/matrix.h" #include "kazmath/GL/matrix.h"

View File

@ -24,10 +24,10 @@ THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCCamera.h" #include "CCCamera.h"
#include "cocoa/CCString.h" #include "CCString.h"
#include "CCGL.h" #include "CCGL.h"
#include "draw_nodes/CCDrawingPrimitives.h" #include "CCDrawingPrimitives.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "kazmath/GL/matrix.h" #include "kazmath/GL/matrix.h"

View File

@ -29,7 +29,7 @@ THE SOFTWARE.
#include <string> #include <string>
#include "cocoa/CCObject.h" #include "CCObject.h"
#include "ccMacros.h" #include "ccMacros.h"
#include "kazmath/mat4.h" #include "kazmath/mat4.h"

View File

@ -27,10 +27,10 @@
#include "CCClippingNode.h" #include "CCClippingNode.h"
#include "kazmath/GL/matrix.h" #include "kazmath/GL/matrix.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "draw_nodes/CCDrawingPrimitives.h" #include "CCDrawingPrimitives.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -28,7 +28,7 @@
#ifndef __MISCNODE_CCCLIPPING_NODE_H__ #ifndef __MISCNODE_CCCLIPPING_NODE_H__
#define __MISCNODE_CCCLIPPING_NODE_H__ #define __MISCNODE_CCCLIPPING_NODE_H__
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "CCGL.h" #include "CCGL.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -22,7 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "support/component/CCComponent.h" #include "CCComponent.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -25,7 +25,7 @@ THE SOFTWARE.
#ifndef __CC_FRAMEWORK_COMPONENT_H__ #ifndef __CC_FRAMEWORK_COMPONENT_H__
#define __CC_FRAMEWORK_COMPONENT_H__ #define __CC_FRAMEWORK_COMPONENT_H__
#include "cocoa/CCObject.h" #include "CCObject.h"
#include <string> #include <string>
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -23,8 +23,8 @@ THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "support/component/CCComponentContainer.h" #include "CCComponentContainer.h"
#include "support/component/CCComponent.h" #include "CCComponent.h"
#include "CCDirector.h" #include "CCDirector.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -25,7 +25,7 @@ THE SOFTWARE.
#ifndef __CC_FRAMEWORK_COMCONTAINER_H__ #ifndef __CC_FRAMEWORK_COMCONTAINER_H__
#define __CC_FRAMEWORK_COMCONTAINER_H__ #define __CC_FRAMEWORK_COMCONTAINER_H__
#include "cocoa/CCDictionary.h" #include "CCDictionary.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -27,9 +27,9 @@ THE SOFTWARE.
#include <string.h> #include <string.h>
#include "ccMacros.h" #include "ccMacros.h"
#include "ccConfig.h" #include "ccConfig.h"
#include "cocoa/CCDictionary.h" #include "CCDictionary.h"
#include "cocoa/CCInteger.h" #include "CCInteger.h"
#include "cocoa/CCBool.h" #include "CCBool.h"
#include "cocos2d.h" #include "cocos2d.h"
#include "platform/CCFileUtils.h" #include "platform/CCFileUtils.h"

View File

@ -26,9 +26,9 @@ THE SOFTWARE.
#ifndef __CCCONFIGURATION_H__ #ifndef __CCCONFIGURATION_H__
#define __CCCONFIGURATION_H__ #define __CCCONFIGURATION_H__
#include "cocoa/CCObject.h" #include "CCObject.h"
#include "CCGL.h" #include "CCGL.h"
#include "cocoa/CCString.h" #include "CCString.h"
#include <string> #include <string>

View File

@ -29,7 +29,7 @@
#define __COCOS2D_CCDEPRECATED_H__ #define __COCOS2D_CCDEPRECATED_H__
#include <math.h> #include <math.h>
#include "cocoa/CCGeometry.h" #include "CCGeometry.h"
#include "ccTypes.h" #include "ccTypes.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -31,31 +31,31 @@ THE SOFTWARE.
#include <string> #include <string>
#include "ccFPSImages.h" #include "ccFPSImages.h"
#include "draw_nodes/CCDrawingPrimitives.h" #include "CCDrawingPrimitives.h"
#include "cocoa/CCNS.h" #include "CCNS.h"
#include "layers_scenes_transitions_nodes/CCScene.h" #include "CCScene.h"
#include "cocoa/CCArray.h" #include "CCArray.h"
#include "CCScheduler.h" #include "CCScheduler.h"
#include "ccMacros.h" #include "ccMacros.h"
#include "support/CCNotificationCenter.h" #include "CCNotificationCenter.h"
#include "layers_scenes_transitions_nodes/CCTransition.h" #include "CCTransition.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "sprite_nodes/CCSpriteFrameCache.h" #include "CCSpriteFrameCache.h"
#include "cocoa/CCAutoreleasePool.h" #include "CCAutoreleasePool.h"
#include "platform/CCFileUtils.h" #include "platform/CCFileUtils.h"
#include "CCApplication.h" #include "CCApplication.h"
#include "label_nodes/CCLabelBMFont.h" #include "CCLabelBMFont.h"
#include "label_nodes/CCLabelAtlas.h" #include "CCLabelAtlas.h"
#include "actions/CCActionManager.h" #include "CCActionManager.h"
#include "sprite_nodes/CCAnimationCache.h" #include "CCAnimationCache.h"
#include "event_dispatcher/CCTouch.h" #include "CCTouch.h"
#include "event_dispatcher/CCEventDispatcher.h" #include "CCEventDispatcher.h"
#include "support/user_default/CCUserDefault.h" #include "CCUserDefault.h"
#include "shaders/ccGLStateCache.h" #include "ccGLStateCache.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "kazmath/kazmath.h" #include "kazmath/kazmath.h"
#include "kazmath/GL/matrix.h" #include "kazmath/GL/matrix.h"
#include "support/CCProfiling.h" #include "CCProfiling.h"
#include "platform/CCImage.h" #include "platform/CCImage.h"
#include "CCEGLView.h" #include "CCEGLView.h"
#include "CCConfiguration.h" #include "CCConfiguration.h"

View File

@ -27,15 +27,15 @@ THE SOFTWARE.
#ifndef __CCDIRECTOR_H__ #ifndef __CCDIRECTOR_H__
#define __CCDIRECTOR_H__ #define __CCDIRECTOR_H__
#include "platform/CCPlatformMacros.h" #include "CCPlatformMacros.h"
#include "cocoa/CCObject.h" #include "CCObject.h"
#include "ccTypes.h" #include "ccTypes.h"
#include "cocoa/CCGeometry.h" #include "CCGeometry.h"
#include "cocoa/CCArray.h" #include "CCArray.h"
#include "CCGL.h" #include "CCGL.h"
#include "kazmath/mat4.h" #include "kazmath/mat4.h"
#include "label_nodes/CCLabelAtlas.h" #include "CCLabelAtlas.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -21,9 +21,9 @@
*/ */
#include "CCDrawNode.h" #include "CCDrawNode.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "CCGL.h" #include "CCGL.h"
#include "support/CCNotificationCenter.h" #include "CCNotificationCenter.h"
#include "CCEventType.h" #include "CCEventType.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -30,7 +30,7 @@
#ifndef __CCDRAWNODES_CCDRAW_NODE_H__ #ifndef __CCDRAWNODES_CCDRAW_NODE_H__
#define __CCDRAWNODES_CCDRAW_NODE_H__ #define __CCDRAWNODES_CCDRAW_NODE_H__
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "ccTypes.h" #include "ccTypes.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -40,10 +40,10 @@ THE SOFTWARE.
#include "ccMacros.h" #include "ccMacros.h"
#include "CCGL.h" #include "CCGL.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "shaders/ccGLStateCache.h" #include "ccGLStateCache.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "actions/CCActionCatmullRom.h" #include "CCActionCatmullRom.h"
#include <string.h> #include <string.h>
#include <cmath> #include <cmath>

View File

@ -42,7 +42,7 @@ THE SOFTWARE.
#include "ccTypes.h" #include "ccTypes.h"
#include "ccMacros.h" #include "ccMacros.h"
#include "cocoa/CCGeometry.h" // for Point #include "CCGeometry.h" // for Point
/** /**
@file @file

View File

@ -29,7 +29,7 @@
#include <string> #include <string>
#include <stdint.h> #include <stdint.h>
#include "platform/CCPlatformMacros.h" #include "CCPlatformMacros.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -25,7 +25,7 @@
#include "CCEvent.h" #include "CCEvent.h"
#include "CCEventTouch.h" #include "CCEventTouch.h"
#include "CCEventListenerTouch.h" #include "CCEventListenerTouch.h"
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "CCDirector.h" #include "CCDirector.h"
#include <algorithm> #include <algorithm>

View File

@ -25,7 +25,7 @@
#ifndef __CC_EVENT_DISPATCHER_H__ #ifndef __CC_EVENT_DISPATCHER_H__
#define __CC_EVENT_DISPATCHER_H__ #define __CC_EVENT_DISPATCHER_H__
#include "platform/CCPlatformMacros.h" #include "CCPlatformMacros.h"
#include "CCEventListener.h" #include "CCEventListener.h"
#include <functional> #include <functional>

View File

@ -25,8 +25,8 @@
#ifndef cocos2d_libs_EventListener_h #ifndef cocos2d_libs_EventListener_h
#define cocos2d_libs_EventListener_h #define cocos2d_libs_EventListener_h
#include "platform/CCPlatformMacros.h" #include "CCPlatformMacros.h"
#include "cocoa/CCObject.h" #include "CCObject.h"
#include <functional> #include <functional>
#include <string> #include <string>

View File

@ -27,7 +27,7 @@
#define __cocos2d_libs__CCTouchEventListener__ #define __cocos2d_libs__CCTouchEventListener__
#include "CCEventListener.h" #include "CCEventListener.h"
#include "event_dispatcher/CCTouch.h" #include "CCTouch.h"
#include <vector> #include <vector>

View File

@ -26,7 +26,7 @@
#define __cocos2d_libs__TouchEvent__ #define __cocos2d_libs__TouchEvent__
#include "CCEvent.h" #include "CCEvent.h"
#include "event_dispatcher/CCTouch.h" #include "CCTouch.h"
#include <vector> #include <vector>
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -23,7 +23,7 @@
****************************************************************************/ ****************************************************************************/
#include "CCFont.h" #include "CCFont.h"
#include "support/ccUTF8.h" #include "ccUTF8.h"
#include "CCFontFNT.h" #include "CCFontFNT.h"
#include "CCFontFreeType.h" #include "CCFontFreeType.h"

View File

@ -24,7 +24,7 @@
#include <stdio.h> #include <stdio.h>
#include "support/ccUTF8.h" #include "ccUTF8.h"
#include "CCFontFreeType.h" #include "CCFontFreeType.h"
#include "CCTextImage.h" #include "CCTextImage.h"
#include "CCFont.h" #include "CCFont.h"

View File

@ -30,8 +30,8 @@ THE SOFTWARE.
#include "ccGLStateCache.h" #include "ccGLStateCache.h"
#include "ccMacros.h" #include "ccMacros.h"
#include "platform/CCFileUtils.h" #include "platform/CCFileUtils.h"
#include "support/data_support/uthash.h" #include "uthash.h"
#include "cocoa/CCString.h" #include "CCString.h"
// extern // extern
#include "kazmath/GL/matrix.h" #include "kazmath/GL/matrix.h"
#include "kazmath/kazmath.h" #include "kazmath/kazmath.h"

View File

@ -29,7 +29,7 @@ THE SOFTWARE.
#define __CCGLPROGRAM_H__ #define __CCGLPROGRAM_H__
#include "ccMacros.h" #include "ccMacros.h"
#include "cocoa/CCObject.h" #include "CCObject.h"
#include "CCGL.h" #include "CCGL.h"

View File

@ -24,7 +24,7 @@ THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCGrabber.h" #include "CCGrabber.h"
#include "ccMacros.h" #include "ccMacros.h"
#include "textures/CCTexture2D.h" #include "CCTexture2D.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -26,7 +26,7 @@ THE SOFTWARE.
#define __EFFECTS_CCGRABBER_H__ #define __EFFECTS_CCGRABBER_H__
#include "CCConfiguration.h" #include "CCConfiguration.h"
#include "cocoa/CCObject.h" #include "CCObject.h"
#include "CCGL.h" #include "CCGL.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -23,15 +23,15 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "ccMacros.h" #include "ccMacros.h"
#include "effects/CCGrid.h" #include "CCGrid.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "effects/CCGrabber.h" #include "CCGrabber.h"
#include "support/ccUtils.h" #include "ccUtils.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "shaders/ccGLStateCache.h" #include "ccGLStateCache.h"
#include "CCGL.h" #include "CCGL.h"
#include "support/TransformUtils.h" #include "TransformUtils.h"
#include "kazmath/kazmath.h" #include "kazmath/kazmath.h"
#include "kazmath/GL/matrix.h" #include "kazmath/GL/matrix.h"

View File

@ -25,15 +25,15 @@ THE SOFTWARE.
#ifndef __EFFECTS_CCGRID_H__ #ifndef __EFFECTS_CCGRID_H__
#define __EFFECTS_CCGRID_H__ #define __EFFECTS_CCGRID_H__
#include "cocoa/CCObject.h" #include "CCObject.h"
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "CCCamera.h" #include "CCCamera.h"
#include "ccTypes.h" #include "ccTypes.h"
#include "textures/CCTexture2D.h" #include "CCTexture2D.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "kazmath/mat4.h" #include "kazmath/mat4.h"
#ifdef EMSCRIPTEN #ifdef EMSCRIPTEN
#include "base_nodes/CCGLBufferedNode.h" #include "CCGLBufferedNode.h"
#endif // EMSCRIPTEN #endif // EMSCRIPTEN
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -25,7 +25,7 @@ THE SOFTWARE.
#ifndef __CC_IME_DELEGATE_H__ #ifndef __CC_IME_DELEGATE_H__
#define __CC_IME_DELEGATE_H__ #define __CC_IME_DELEGATE_H__
#include "cocoa/CCGeometry.h" #include "CCGeometry.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -26,7 +26,7 @@
#ifndef _COCOS2D_CCLABEL_H_ #ifndef _COCOS2D_CCLABEL_H_
#define _COCOS2D_CCLABEL_H_ #define _COCOS2D_CCLABEL_H_
#include "sprite_nodes/CCSpriteBatchNode.h" #include "CCSpriteBatchNode.h"
#include "CCLabelTextFormatProtocol.h" #include "CCLabelTextFormatProtocol.h"
#include "ccTypes.h" #include "ccTypes.h"

View File

@ -24,16 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCLabelAtlas.h" #include "CCLabelAtlas.h"
#include "textures/CCTextureAtlas.h" #include "CCTextureAtlas.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "draw_nodes/CCDrawingPrimitives.h" #include "CCDrawingPrimitives.h"
#include "ccConfig.h" #include "ccConfig.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "shaders/ccGLStateCache.h" #include "ccGLStateCache.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "support/TransformUtils.h" #include "TransformUtils.h"
#include "cocoa/CCInteger.h" #include "CCInteger.h"
#include "platform/CCFileUtils.h" #include "platform/CCFileUtils.h"
// external // external
#include "kazmath/GL/matrix.h" #include "kazmath/GL/matrix.h"

View File

@ -26,7 +26,7 @@ THE SOFTWARE.
#ifndef __CCLABEL_ATLAS_H__ #ifndef __CCLABEL_ATLAS_H__
#define __CCLABEL_ATLAS_H__ #define __CCLABEL_ATLAS_H__
#include "base_nodes/CCAtlasNode.h" #include "CCAtlasNode.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -31,15 +31,15 @@ http://www.angelcode.com/products/bmfont/ (Free, Windows only)
****************************************************************************/ ****************************************************************************/
#include "CCLabelBMFont.h" #include "CCLabelBMFont.h"
#include "cocoa/CCString.h" #include "CCString.h"
#include "cocoa/CCDictionary.h" #include "CCDictionary.h"
#include "CCConfiguration.h" #include "CCConfiguration.h"
#include "draw_nodes/CCDrawingPrimitives.h" #include "CCDrawingPrimitives.h"
#include "sprite_nodes/CCSprite.h" #include "CCSprite.h"
#include "platform/CCFileUtils.h" #include "platform/CCFileUtils.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "support/ccUTF8.h" #include "ccUTF8.h"
using namespace std; using namespace std;

View File

@ -33,8 +33,8 @@ Use any of these editors to generate BMFonts:
#ifndef __CCBITMAP_FONT_ATLAS_H__ #ifndef __CCBITMAP_FONT_ATLAS_H__
#define __CCBITMAP_FONT_ATLAS_H__ #define __CCBITMAP_FONT_ATLAS_H__
#include "sprite_nodes/CCSpriteBatchNode.h" #include "CCSpriteBatchNode.h"
#include "support/data_support/uthash.h" #include "uthash.h"
#include <map> #include <map>
#include <sstream> #include <sstream>
#include <iostream> #include <iostream>

View File

@ -24,8 +24,8 @@ THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCLabelTTF.h" #include "CCLabelTTF.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "CCApplication.h" #include "CCApplication.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -25,8 +25,8 @@ THE SOFTWARE.
#ifndef __CCLABELTTF_H__ #ifndef __CCLABELTTF_H__
#define __CCLABELTTF_H__ #define __CCLABELTTF_H__
#include "sprite_nodes/CCSprite.h" #include "CCSprite.h"
#include "textures/CCTexture2D.h" #include "CCTexture2D.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -25,7 +25,7 @@
#include <vector> #include <vector>
#include "cocos2d.h" #include "cocos2d.h"
#include "support/ccUTF8.h" #include "ccUTF8.h"
#include "CCLabelTextFormatter.h" #include "CCLabelTextFormatter.h"
using namespace std; using namespace std;

View File

@ -27,20 +27,20 @@ THE SOFTWARE.
#include <stdarg.h> #include <stdarg.h>
#include "CCLayer.h" #include "CCLayer.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "script_support/CCScriptSupport.h" #include "CCScriptSupport.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "shaders/ccGLStateCache.h" #include "ccGLStateCache.h"
#include "support/TransformUtils.h" #include "TransformUtils.h"
// extern // extern
#include "kazmath/GL/matrix.h" #include "kazmath/GL/matrix.h"
#include "event_dispatcher/CCEventDispatcher.h" #include "CCEventDispatcher.h"
#include "event_dispatcher/CCEventListenerTouch.h" #include "CCEventListenerTouch.h"
#include "event_dispatcher/CCEventTouch.h" #include "CCEventTouch.h"
#include "event_dispatcher/CCEventKeyboard.h" #include "CCEventKeyboard.h"
#include "event_dispatcher/CCEventListenerKeyboard.h" #include "CCEventListenerKeyboard.h"
#include "event_dispatcher/CCEventAcceleration.h" #include "CCEventAcceleration.h"
#include "event_dispatcher/CCEventListenerAcceleration.h" #include "CCEventListenerAcceleration.h"
#include "platform/CCDevice.h" #include "platform/CCDevice.h"
#include "CCScene.h" #include "CCScene.h"

View File

@ -27,15 +27,15 @@ THE SOFTWARE.
#ifndef __CCLAYER_H__ #ifndef __CCLAYER_H__
#define __CCLAYER_H__ #define __CCLAYER_H__
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "CCProtocols.h" #include "CCProtocols.h"
#include "cocoa/CCArray.h" #include "CCArray.h"
#ifdef EMSCRIPTEN #ifdef EMSCRIPTEN
#include "base_nodes/CCGLBufferedNode.h" #include "CCGLBufferedNode.h"
#endif // EMSCRIPTEN #endif // EMSCRIPTEN
#include "physics/CCPhysicsSetting.h" #include "CCPhysicsSetting.h"
#include "event_dispatcher/CCEventKeyboard.h" #include "CCEventKeyboard.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -25,10 +25,10 @@ THE SOFTWARE.
#include "CCMenu.h" #include "CCMenu.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "CCApplication.h" #include "CCApplication.h"
#include "event_dispatcher/CCTouch.h" #include "CCTouch.h"
#include "CCStdC.h" #include "CCStdC.h"
#include "cocoa/CCInteger.h" #include "CCInteger.h"
#include "event_dispatcher/CCEventListenerTouch.h" #include "CCEventListenerTouch.h"
#include <vector> #include <vector>

View File

@ -26,9 +26,9 @@ THE SOFTWARE.
#define __CCMENU_H_ #define __CCMENU_H_
#include "CCMenuItem.h" #include "CCMenuItem.h"
#include "layers_scenes_transitions_nodes/CCLayer.h" #include "CCLayer.h"
#include "event_dispatcher/CCEventTouch.h" #include "CCEventTouch.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -25,11 +25,11 @@ THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCMenuItem.h" #include "CCMenuItem.h"
#include "actions/CCActionInterval.h" #include "CCActionInterval.h"
#include "sprite_nodes/CCSprite.h" #include "CCSprite.h"
#include "label_nodes/CCLabelAtlas.h" #include "CCLabelAtlas.h"
#include "label_nodes/CCLabelTTF.h" #include "CCLabelTTF.h"
#include "script_support/CCScriptSupport.h" #include "CCScriptSupport.h"
#include <stdarg.h> #include <stdarg.h>
#include <cstring> #include <cstring>

View File

@ -31,9 +31,9 @@ THE SOFTWARE.
#include <functional> #include <functional>
// cocos2d includes // cocos2d includes
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "CCProtocols.h" #include "CCProtocols.h"
#include "cocoa/CCArray.h" #include "CCArray.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -23,13 +23,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCMotionStreak.h" #include "CCMotionStreak.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "shaders/ccGLStateCache.h" #include "ccGLStateCache.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "ccMacros.h" #include "ccMacros.h"
#include "support/CCVertex.h" #include "CCVertex.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -26,11 +26,11 @@ THE SOFTWARE.
#define __CCMOTION_STREAK_H__ #define __CCMOTION_STREAK_H__
#include "CCProtocols.h" #include "CCProtocols.h"
#include "textures/CCTexture2D.h" #include "CCTexture2D.h"
#include "ccTypes.h" #include "ccTypes.h"
#include "base_nodes/CCNode.h" #include "CCNode.h"
#ifdef EMSCRIPTEN #ifdef EMSCRIPTEN
#include "base_nodes/CCGLBufferedNode.h" #include "CCGLBufferedNode.h"
#endif // EMSCRIPTEN #endif // EMSCRIPTEN
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -29,29 +29,29 @@ THE SOFTWARE.
#include <algorithm> #include <algorithm>
#include "cocoa/CCString.h" #include "CCString.h"
#include "support/data_support/ccCArray.h" #include "ccCArray.h"
#include "support/TransformUtils.h" #include "TransformUtils.h"
#include "CCCamera.h" #include "CCCamera.h"
#include "effects/CCGrid.h" #include "CCGrid.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "CCScheduler.h" #include "CCScheduler.h"
#include "event_dispatcher/CCTouch.h" #include "CCTouch.h"
#include "actions/CCActionManager.h" #include "CCActionManager.h"
#include "script_support/CCScriptSupport.h" #include "CCScriptSupport.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "event_dispatcher/CCEventDispatcher.h" #include "CCEventDispatcher.h"
#include "event_dispatcher/CCEvent.h" #include "CCEvent.h"
#include "event_dispatcher/CCEventTouch.h" #include "CCEventTouch.h"
#ifdef CC_USE_PHYSICS #ifdef CC_USE_PHYSICS
#include "physics/CCPhysicsBody.h" #include "CCPhysicsBody.h"
#endif #endif
// externals // externals
#include "kazmath/GL/matrix.h" #include "kazmath/GL/matrix.h"
#include "support/component/CCComponent.h" #include "CCComponent.h"
#include "support/component/CCComponentContainer.h" #include "CCComponentContainer.h"

View File

@ -29,16 +29,16 @@
#define __PLATFORM_CCNODE_H__ #define __PLATFORM_CCNODE_H__
#include "ccMacros.h" #include "ccMacros.h"
#include "cocoa/CCAffineTransform.h" #include "CCAffineTransform.h"
#include "cocoa/CCArray.h" #include "CCArray.h"
#include "CCGL.h" #include "CCGL.h"
#include "shaders/ccGLStateCache.h" #include "ccGLStateCache.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "kazmath/kazmath.h" #include "kazmath/kazmath.h"
#include "script_support/CCScriptSupport.h" #include "CCScriptSupport.h"
#include "CCProtocols.h" #include "CCProtocols.h"
#include "event_dispatcher/CCEventDispatcher.h" #include "CCEventDispatcher.h"
#include "physics/CCPhysicsSetting.h" #include "CCPhysicsSetting.h"
#include <vector> #include <vector>

View File

@ -23,8 +23,8 @@ THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCNotificationCenter.h" #include "CCNotificationCenter.h"
#include "cocoa/CCArray.h" #include "CCArray.h"
#include "script_support/CCScriptSupport.h" #include "CCScriptSupport.h"
#include <string> #include <string>
using namespace std; using namespace std;

View File

@ -25,8 +25,8 @@ THE SOFTWARE.
#ifndef __CCNOTIFICATIONCENTER_H__ #ifndef __CCNOTIFICATIONCENTER_H__
#define __CCNOTIFICATIONCENTER_H__ #define __CCNOTIFICATIONCENTER_H__
#include "cocoa/CCObject.h" #include "CCObject.h"
#include "cocoa/CCArray.h" #include "CCArray.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -24,7 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCParallaxNode.h" #include "CCParallaxNode.h"
#include "support/data_support/ccCArray.h" #include "ccCArray.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -26,8 +26,8 @@ THE SOFTWARE.
#ifndef __CCPARALLAX_NODE_H__ #ifndef __CCPARALLAX_NODE_H__
#define __CCPARALLAX_NODE_H__ #define __CCPARALLAX_NODE_H__
#include "base_nodes/CCNode.h" #include "CCNode.h"
/*#include "support/data_support/ccArray.h"*/ /*#include "ccArray.h"*/
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -28,20 +28,20 @@
*/ */
#include "CCParticleBatchNode.h" #include "CCParticleBatchNode.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "textures/CCTextureAtlas.h" #include "CCTextureAtlas.h"
#include "ccConfig.h" #include "ccConfig.h"
#include "ccMacros.h" #include "ccMacros.h"
#include "effects/CCGrid.h" #include "CCGrid.h"
#include "CCParticleSystem.h" #include "CCParticleSystem.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "shaders/ccGLStateCache.h" #include "ccGLStateCache.h"
#include "support/base64.h" #include "base64.h"
#include "support/zip_support/ZipUtils.h" #include "ZipUtils.h"
#include "platform/CCFileUtils.h" #include "platform/CCFileUtils.h"
#include "kazmath/GL/matrix.h" #include "kazmath/GL/matrix.h"
#include "support/CCProfiling.h" #include "CCProfiling.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -29,7 +29,7 @@
#ifndef __CCPARTICLEBATCHNODE_H__ #ifndef __CCPARTICLEBATCHNODE_H__
#define __CCPARTICLEBATCHNODE_H__ #define __CCPARTICLEBATCHNODE_H__
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "CCProtocols.h" #include "CCProtocols.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -25,7 +25,7 @@ THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCParticleExamples.h" #include "CCParticleExamples.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "firePngData.h" #include "firePngData.h"
#include "platform/CCImage.h" #include "platform/CCImage.h"

View File

@ -47,14 +47,14 @@ THE SOFTWARE.
#include "CCParticleBatchNode.h" #include "CCParticleBatchNode.h"
#include "ccTypes.h" #include "ccTypes.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "textures/CCTextureAtlas.h" #include "CCTextureAtlas.h"
#include "support/base64.h" #include "base64.h"
#include "platform/CCFileUtils.h" #include "platform/CCFileUtils.h"
#include "platform/CCImage.h" #include "platform/CCImage.h"
#include "support/zip_support/ZipUtils.h" #include "ZipUtils.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "support/CCProfiling.h" #include "CCProfiling.h"
// opengl // opengl
#include "CCGL.h" #include "CCGL.h"

View File

@ -27,9 +27,9 @@ THE SOFTWARE.
#define __CCPARTICLE_SYSTEM_H__ #define __CCPARTICLE_SYSTEM_H__
#include "CCProtocols.h" #include "CCProtocols.h"
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "cocoa/CCDictionary.h" #include "CCDictionary.h"
#include "cocoa/CCString.h" #include "CCString.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -27,15 +27,15 @@ THE SOFTWARE.
#include "CCGL.h" #include "CCGL.h"
#include "CCParticleSystemQuad.h" #include "CCParticleSystemQuad.h"
#include "sprite_nodes/CCSpriteFrame.h" #include "CCSpriteFrame.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "CCParticleBatchNode.h" #include "CCParticleBatchNode.h"
#include "textures/CCTextureAtlas.h" #include "CCTextureAtlas.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "shaders/ccGLStateCache.h" #include "ccGLStateCache.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "support/TransformUtils.h" #include "TransformUtils.h"
#include "support/CCNotificationCenter.h" #include "CCNotificationCenter.h"
#include "CCEventType.h" #include "CCEventType.h"
// extern // extern

View File

@ -28,8 +28,8 @@ THE SOFTWARE.
#include <string> #include <string>
#include <chrono> #include <chrono>
#include "ccConfig.h" #include "ccConfig.h"
#include "cocoa/CCObject.h" #include "CCObject.h"
#include "cocoa/CCDictionary.h" #include "CCDictionary.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -25,13 +25,13 @@ THE SOFTWARE.
#include "CCProgressTimer.h" #include "CCProgressTimer.h"
#include "ccMacros.h" #include "ccMacros.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "shaders/ccGLStateCache.h" #include "ccGLStateCache.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "support/TransformUtils.h" #include "TransformUtils.h"
#include "draw_nodes/CCDrawingPrimitives.h" #include "CCDrawingPrimitives.h"
// extern // extern
#include "kazmath/GL/matrix.h" #include "kazmath/GL/matrix.h"

View File

@ -25,9 +25,9 @@ THE SOFTWARE.
#ifndef __MISC_NODE_CCPROGRESS_TIMER_H__ #ifndef __MISC_NODE_CCPROGRESS_TIMER_H__
#define __MISC_NODE_CCPROGRESS_TIMER_H__ #define __MISC_NODE_CCPROGRESS_TIMER_H__
#include "sprite_nodes/CCSprite.h" #include "CCSprite.h"
#ifdef EMSCRIPTEN #ifdef EMSCRIPTEN
#include "base_nodes/CCGLBufferedNode.h" #include "CCGLBufferedNode.h"
#endif // EMSCRIPTEN #endif // EMSCRIPTEN
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -27,7 +27,7 @@ THE SOFTWARE.
#define __CCPROTOCOLS_H__ #define __CCPROTOCOLS_H__
#include "ccTypes.h" #include "ccTypes.h"
#include "textures/CCTexture2D.h" #include "CCTexture2D.h"
#include <string> #include <string>
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -24,19 +24,19 @@ THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "CCConfiguration.h" #include "CCConfiguration.h"
#include "misc_nodes/CCRenderTexture.h" #include "CCRenderTexture.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "platform/CCImage.h" #include "platform/CCImage.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "shaders/ccGLStateCache.h" #include "ccGLStateCache.h"
#include "CCConfiguration.h" #include "CCConfiguration.h"
#include "support/ccUtils.h" #include "ccUtils.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "platform/CCFileUtils.h" #include "platform/CCFileUtils.h"
#include "CCGL.h" #include "CCGL.h"
#include "support/CCNotificationCenter.h" #include "CCNotificationCenter.h"
#include "CCEventType.h" #include "CCEventType.h"
#include "effects/CCGrid.h" #include "CCGrid.h"
// extern // extern
#include "kazmath/GL/matrix.h" #include "kazmath/GL/matrix.h"

View File

@ -25,8 +25,8 @@ THE SOFTWARE.
#ifndef __CCRENDER_TEXTURE_H__ #ifndef __CCRENDER_TEXTURE_H__
#define __CCRENDER_TEXTURE_H__ #define __CCRENDER_TEXTURE_H__
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "sprite_nodes/CCSprite.h" #include "CCSprite.h"
#include "kazmath/mat4.h" #include "kazmath/mat4.h"
#include "platform/CCImage.h" #include "platform/CCImage.h"

View File

@ -27,9 +27,9 @@ THE SOFTWARE.
#include "CCScene.h" #include "CCScene.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "CCLayer.h" #include "CCLayer.h"
#include "sprite_nodes/CCSprite.h" #include "CCSprite.h"
#include "sprite_nodes/CCSpriteBatchNode.h" #include "CCSpriteBatchNode.h"
#include "physics/CCPhysicsWorld.h" #include "CCPhysicsWorld.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -27,8 +27,8 @@ THE SOFTWARE.
#ifndef __CCSCENE_H__ #ifndef __CCSCENE_H__
#define __CCSCENE_H__ #define __CCSCENE_H__
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "physics/CCPhysicsWorld.h" #include "CCPhysicsWorld.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -27,10 +27,10 @@ THE SOFTWARE.
#include "CCScheduler.h" #include "CCScheduler.h"
#include "ccMacros.h" #include "ccMacros.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "support/data_support/utlist.h" #include "utlist.h"
#include "support/data_support/ccCArray.h" #include "ccCArray.h"
#include "cocoa/CCArray.h" #include "CCArray.h"
#include "script_support/CCScriptSupport.h" #include "CCScriptSupport.h"
using namespace std; using namespace std;

View File

@ -27,8 +27,8 @@ THE SOFTWARE.
#ifndef __CCSCHEDULER_H__ #ifndef __CCSCHEDULER_H__
#define __CCSCHEDULER_H__ #define __CCSCHEDULER_H__
#include "cocoa/CCObject.h" #include "CCObject.h"
#include "support/data_support/uthash.h" #include "uthash.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -26,10 +26,10 @@
#define __SCRIPT_SUPPORT_H__ #define __SCRIPT_SUPPORT_H__
#include "platform/CCCommon.h" #include "platform/CCCommon.h"
#include "event_dispatcher/CCTouch.h" #include "CCTouch.h"
#include "event_dispatcher/CCEventTouch.h" #include "CCEventTouch.h"
#include "event_dispatcher/CCEventKeyboard.h" #include "CCEventKeyboard.h"
#include "cocoa/CCSet.h" #include "CCSet.h"
#include <map> #include <map>
#include <string> #include <string>
#include <list> #include <list>

View File

@ -30,7 +30,7 @@ THE SOFTWARE.
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include "cocoa/CCDictionary.h" #include "CCDictionary.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -33,17 +33,17 @@ THE SOFTWARE.
#include "CCSprite.h" #include "CCSprite.h"
#include "CCSpriteFrame.h" #include "CCSpriteFrame.h"
#include "CCSpriteFrameCache.h" #include "CCSpriteFrameCache.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "draw_nodes/CCDrawingPrimitives.h" #include "CCDrawingPrimitives.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "shaders/ccGLStateCache.h" #include "ccGLStateCache.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "cocoa/CCGeometry.h" #include "CCGeometry.h"
#include "textures/CCTexture2D.h" #include "CCTexture2D.h"
#include "cocoa/CCAffineTransform.h" #include "CCAffineTransform.h"
#include "support/TransformUtils.h" #include "TransformUtils.h"
#include "support/CCProfiling.h" #include "CCProfiling.h"
// external // external
#include "kazmath/GL/matrix.h" #include "kazmath/GL/matrix.h"

View File

@ -27,16 +27,16 @@ THE SOFTWARE.
#ifndef __SPITE_NODE_CCSPRITE_H__ #ifndef __SPITE_NODE_CCSPRITE_H__
#define __SPITE_NODE_CCSPRITE_H__ #define __SPITE_NODE_CCSPRITE_H__
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "CCProtocols.h" #include "CCProtocols.h"
#include "textures/CCTextureAtlas.h" #include "CCTextureAtlas.h"
#include "ccTypes.h" #include "ccTypes.h"
#include "cocoa/CCDictionary.h" #include "CCDictionary.h"
#include <string> #include <string>
#ifdef EMSCRIPTEN #ifdef EMSCRIPTEN
#include "base_nodes/CCGLBufferedNode.h" #include "CCGLBufferedNode.h"
#endif // EMSCRIPTEN #endif // EMSCRIPTEN
#include "physics/CCPhysicsBody.h" #include "CCPhysicsBody.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -31,17 +31,17 @@ THE SOFTWARE.
#include "ccConfig.h" #include "ccConfig.h"
#include "CCSprite.h" #include "CCSprite.h"
#include "effects/CCGrid.h" #include "CCGrid.h"
#include "draw_nodes/CCDrawingPrimitives.h" #include "CCDrawingPrimitives.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "shaders/ccGLStateCache.h" #include "ccGLStateCache.h"
#include "CCDirector.h" #include "CCDirector.h"
#include "support/TransformUtils.h" #include "TransformUtils.h"
#include "support/CCProfiling.h" #include "CCProfiling.h"
#include "layers_scenes_transitions_nodes/CCLayer.h" #include "CCLayer.h"
#include "layers_scenes_transitions_nodes/CCScene.h" #include "CCScene.h"
// external // external
#include "kazmath/GL/matrix.h" #include "kazmath/GL/matrix.h"

View File

@ -30,9 +30,9 @@ THE SOFTWARE.
#include <vector> #include <vector>
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "CCProtocols.h" #include "CCProtocols.h"
#include "textures/CCTextureAtlas.h" #include "CCTextureAtlas.h"
#include "ccMacros.h" #include "ccMacros.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -23,7 +23,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "CCSpriteFrame.h" #include "CCSpriteFrame.h"
#include "CCDirector.h" #include "CCDirector.h"

View File

@ -27,10 +27,10 @@ THE SOFTWARE.
#ifndef __SPRITE_CCSPRITE_FRAME_H__ #ifndef __SPRITE_CCSPRITE_FRAME_H__
#define __SPRITE_CCSPRITE_FRAME_H__ #define __SPRITE_CCSPRITE_FRAME_H__
#include "base_nodes/CCNode.h" #include "CCNode.h"
#include "CCProtocols.h" #include "CCProtocols.h"
#include "cocoa/CCObject.h" #include "CCObject.h"
#include "cocoa/CCGeometry.h" #include "CCGeometry.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -26,17 +26,17 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE. THE SOFTWARE.
****************************************************************************/ ****************************************************************************/
#include "cocoa/CCNS.h" #include "CCNS.h"
#include "ccMacros.h" #include "ccMacros.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "CCSpriteFrameCache.h" #include "CCSpriteFrameCache.h"
#include "CCSpriteFrame.h" #include "CCSpriteFrame.h"
#include "CCSprite.h" #include "CCSprite.h"
#include "support/TransformUtils.h" #include "TransformUtils.h"
#include "platform/CCFileUtils.h" #include "platform/CCFileUtils.h"
#include "cocoa/CCString.h" #include "CCString.h"
#include "cocoa/CCArray.h" #include "CCArray.h"
#include "cocoa/CCDictionary.h" #include "CCDictionary.h"
#include <vector> #include <vector>
using namespace std; using namespace std;

View File

@ -34,9 +34,9 @@ THE SOFTWARE.
* http://zwoptex.zwopple.com/ * http://zwoptex.zwopple.com/
*/ */
#include "sprite_nodes/CCSpriteFrame.h" #include "CCSpriteFrame.h"
#include "textures/CCTexture2D.h" #include "CCTexture2D.h"
#include "cocoa/CCObject.h" #include "CCObject.h"
#include <set> #include <set>
#include <string> #include <string>

View File

@ -26,11 +26,11 @@ THE SOFTWARE.
#include "CCTMXLayer.h" #include "CCTMXLayer.h"
#include "CCTMXXMLParser.h" #include "CCTMXXMLParser.h"
#include "CCTMXTiledMap.h" #include "CCTMXTiledMap.h"
#include "sprite_nodes/CCSprite.h" #include "CCSprite.h"
#include "textures/CCTextureCache.h" #include "CCTextureCache.h"
#include "shaders/CCShaderCache.h" #include "CCShaderCache.h"
#include "shaders/CCGLProgram.h" #include "CCGLProgram.h"
#include "support/data_support/ccCArray.h" #include "ccCArray.h"
#include "CCDirector.h" #include "CCDirector.h"
NS_CC_BEGIN NS_CC_BEGIN

View File

@ -27,10 +27,10 @@ THE SOFTWARE.
#define __CCTMX_LAYER_H__ #define __CCTMX_LAYER_H__
#include "CCTMXObjectGroup.h" #include "CCTMXObjectGroup.h"
#include "base_nodes/CCAtlasNode.h" #include "CCAtlasNode.h"
#include "sprite_nodes/CCSpriteBatchNode.h" #include "CCSpriteBatchNode.h"
#include "CCTMXXMLParser.h" #include "CCTMXXMLParser.h"
#include "support/data_support/ccCArray.h" #include "ccCArray.h"
NS_CC_BEGIN NS_CC_BEGIN
class TMXMapInfo; class TMXMapInfo;

Some files were not shown because too many files have changed in this diff Show More