mirror of https://github.com/axmolengine/axmol.git
Remove cocos2dx.h reference from all cocos studio related files
This commit is contained in:
parent
c9306a053f
commit
0a657cd219
|
@ -1,10 +1,15 @@
|
|||
#include "cocos2d.h"
|
||||
|
||||
#include "CCNodeLoader.h"
|
||||
#include "CCBSelectorResolver.h"
|
||||
#include "CCBMemberVariableAssigner.h"
|
||||
#include "CCBAnimationManager.h"
|
||||
#include "CCNode+CCBRelativePositioning.h"
|
||||
#include "deprecated/CCArray.h"
|
||||
#include "deprecated/CCString.h"
|
||||
#include "base/CCDirector.h"
|
||||
#include "renderer/CCTextureCache.h"
|
||||
#include "2d/CCSpriteFrameCache.h"
|
||||
#include "2d/CCAnimationCache.h"
|
||||
#include "platform/CCFileUtils.h"
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
|
|
@ -25,9 +25,13 @@
|
|||
#ifndef __cocos2d_libs__FlatBuffersSerialize__
|
||||
#define __cocos2d_libs__FlatBuffersSerialize__
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "ExtensionMacros.h"
|
||||
#include "cocostudio/CocosStudioExport.h"
|
||||
#include "platform/CCPlatformMacros.h"
|
||||
#include "ui/UIWidget.h"
|
||||
|
||||
namespace flatbuffers
|
||||
{
|
||||
|
|
|
@ -25,7 +25,6 @@ THE SOFTWARE.
|
|||
#ifndef __ARMATURENODEREADER_H_
|
||||
#define __ARMATURENODEREADER_H_
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderProtocol.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderDefine.h"
|
||||
|
||||
|
|
|
@ -25,7 +25,9 @@
|
|||
#ifndef __cocos2d_libs__ComAudioReader__
|
||||
#define __cocos2d_libs__ComAudioReader__
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "base/CCRef.h"
|
||||
#include "2d/CCComponent.h"
|
||||
#include "2d/CCNode.h"
|
||||
#include "cocostudio/CocosStudioExport.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderProtocol.h"
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#ifndef __cocos2d_libs__GameMapReader__
|
||||
#define __cocos2d_libs__GameMapReader__
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "cocostudio/CocosStudioExport.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderProtocol.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderDefine.h"
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#ifndef __cocos2d_libs__GameNode3DReader__
|
||||
#define __cocos2d_libs__GameNode3DReader__
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "2d/CCCameraBackgroundBrush.h"
|
||||
#include "cocostudio/CocosStudioExport.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderProtocol.h"
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include "Light3DReader.h"
|
||||
#include "2d/CCLight.h"
|
||||
|
||||
#include "cocostudio/CSParseBinary_generated.h"
|
||||
#include "cocostudio/CSParse3DBinary_generated.h"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#ifndef __cocos2d_libs__Light3DReader__
|
||||
#define __cocos2d_libs__Light3DReader__
|
||||
#include "cocos2d.h"
|
||||
|
||||
#include "cocostudio/CocosStudioExport.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderProtocol.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderDefine.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef __cocos2d_libs__Node3DReader__
|
||||
#define __cocos2d_libs__Node3DReader__
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "math/Vec3.h"
|
||||
#include "cocostudio/CocosStudioExport.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderProtocol.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderDefine.h"
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
THE SOFTWARE.
|
||||
****************************************************************************/
|
||||
|
||||
#include "platform/CCFileUtils.h"
|
||||
#include "Particle3DReader.h"
|
||||
|
||||
#include "cocostudio/CSParseBinary_generated.h"
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#ifndef __cocos2d_libs__Particle3DReader__
|
||||
#define __cocos2d_libs__Particle3DReader__
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "cocostudio/CocosStudioExport.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderProtocol.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderDefine.h"
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#ifndef __cocos2d_libs__ParticleReader__
|
||||
#define __cocos2d_libs__ParticleReader__
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "cocostudio/CocosStudioExport.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderProtocol.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderDefine.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef __cocos2d_libs__ProjectNodeReader__
|
||||
#define __cocos2d_libs__ProjectNodeReader__
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "base/CCRef.h"
|
||||
#include "cocostudio/CocosStudioExport.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderProtocol.h"
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#ifndef __cocos2d_libs__SingleNodeReader__
|
||||
#define __cocos2d_libs__SingleNodeReader__
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "cocostudio/CocosStudioExport.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderProtocol.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderDefine.h"
|
||||
|
|
|
@ -25,7 +25,6 @@ THE SOFTWARE.
|
|||
#ifndef __BONENODEREADER_H_
|
||||
#define __BONENODEREADER_H_
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderProtocol.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderDefine.h"
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ THE SOFTWARE.
|
|||
#ifndef _SKELETONNODEREADER_H_
|
||||
#define _SKELETONNODEREADER_H_
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "cocostudio/WidgetReader/SkeletonReader/BoneNodeReader.h"
|
||||
|
||||
class SkeletonNodeReader : public BoneNodeReader
|
||||
|
|
|
@ -22,6 +22,11 @@
|
|||
THE SOFTWARE.
|
||||
****************************************************************************/
|
||||
|
||||
#include "2d/CCLight.h"
|
||||
#include "3d/CCSprite3D.h"
|
||||
#include "3d/CCAnimate3D.h"
|
||||
#include "3d/CCAnimation3D.h"
|
||||
#include "platform/CCFileUtils.h"
|
||||
#include "Sprite3DReader.h"
|
||||
|
||||
#include "cocostudio/CSParseBinary_generated.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef __cocos2d_libs__Sprite3DReader__
|
||||
#define __cocos2d_libs__Sprite3DReader__
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "math/Vec2.h"
|
||||
#include "cocostudio/CocosStudioExport.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderProtocol.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderDefine.h"
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#ifndef __cocos2d_libs__SpriteReader__
|
||||
#define __cocos2d_libs__SpriteReader__
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "cocostudio/CocosStudioExport.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderProtocol.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderDefine.h"
|
||||
|
|
|
@ -22,6 +22,9 @@
|
|||
THE SOFTWARE.
|
||||
****************************************************************************/
|
||||
|
||||
#include "base/CCDirector.h"
|
||||
#include "2d/CCCamera.h"
|
||||
#include "platform/CCFileUtils.h"
|
||||
#include "UserCameraReader.h"
|
||||
|
||||
#include "cocostudio/CSParseBinary_generated.h"
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef __cocos2d_libs__UserCameraReader__
|
||||
#define __cocos2d_libs__UserCameraReader__
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "math/Vec2.h"
|
||||
#include "cocostudio/CocosStudioExport.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderProtocol.h"
|
||||
#include "cocostudio/WidgetReader/NodeReaderDefine.h"
|
||||
|
|
|
@ -31,6 +31,11 @@
|
|||
|
||||
#include <spine/PolygonBatch.h>
|
||||
#include <spine/extension.h>
|
||||
#include "base/ccMacros.h"
|
||||
#include "base/CCDirector.h"
|
||||
#include "renderer/CCRenderer.h"
|
||||
#include "renderer/ccGLStateCache.h"
|
||||
#include "renderer/CCGLProgram.h"
|
||||
|
||||
USING_NS_CC;
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#ifndef SPINE_POLYGONBATCH_H_
|
||||
#define SPINE_POLYGONBATCH_H_
|
||||
|
||||
#include "cocos2d.h"
|
||||
#include "renderer/CCTexture2D.h"
|
||||
|
||||
namespace spine {
|
||||
|
||||
|
|
Loading…
Reference in New Issue