mirror of https://github.com/axmolengine/axmol.git
remove unneeded includes
This commit is contained in:
parent
7baf873bf6
commit
50a2cb2b86
|
@ -32,7 +32,6 @@ THE SOFTWARE.
|
|||
|
||||
NS_CC_BEGIN
|
||||
|
||||
class TMXObjectGroup;
|
||||
class TMXLayerInfo;
|
||||
class TMXTilesetInfo;
|
||||
class TMXMapInfo;
|
||||
|
|
|
@ -33,13 +33,13 @@ THE SOFTWARE.
|
|||
#include "platform/CCSAXParser.h"
|
||||
#include "base/CCVector.h"
|
||||
#include "base/CCValue.h"
|
||||
#include "2d/CCTMXObjectGroup.h" // needed for Vector<TMXObjectGroup*> for binding
|
||||
|
||||
#include <string>
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
||||
class TMXLayerInfo;
|
||||
class TMXObjectGroup;
|
||||
class TMXTilesetInfo;
|
||||
|
||||
/** @file
|
||||
|
|
|
@ -25,12 +25,6 @@
|
|||
#include "3d/CCAttachNode.h"
|
||||
#include "3d/CCSkeleton3D.h"
|
||||
|
||||
#include "2d/CCNode.h"
|
||||
|
||||
#include "base/CCDirector.h"
|
||||
#include "base/CCPlatformMacros.h"
|
||||
#include "base/ccMacros.h"
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
||||
AttachNode* AttachNode::create(Bone3D* attachBone)
|
||||
|
|
|
@ -25,14 +25,8 @@
|
|||
#ifndef __CCATTACHNODE_H__
|
||||
#define __CCATTACHNODE_H__
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "base/CCVector.h"
|
||||
#include "base/ccTypes.h"
|
||||
#include "base/CCProtocols.h"
|
||||
#include "math/CCMath.h"
|
||||
#include "2d/CCNode.h"
|
||||
#include "renderer/CCMeshCommand.h"
|
||||
#include "3d/3dExport.h"
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
|
|
@ -25,18 +25,10 @@
|
|||
#ifndef __CCBUNDLE3D_H__
|
||||
#define __CCBUNDLE3D_H__
|
||||
|
||||
#include <map>
|
||||
#include <list>
|
||||
|
||||
#include "3d/CCBundle3DData.h"
|
||||
|
||||
#include "base/ccMacros.h"
|
||||
#include "base/CCRef.h"
|
||||
#include "base/ccTypes.h"
|
||||
|
||||
#include "json/document.h"
|
||||
#include "CCBundleReader.h"
|
||||
#include "3d/3dExport.h"
|
||||
#include "3d/CCBundleReader.h"
|
||||
#include "json/document.h"
|
||||
|
||||
NS_CC_BEGIN
|
||||
class Animation3D;
|
||||
|
|
|
@ -22,26 +22,13 @@
|
|||
THE SOFTWARE.
|
||||
****************************************************************************/
|
||||
|
||||
#include <list>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
#include "3d/CCMesh.h"
|
||||
#include "3d/CCMeshSkin.h"
|
||||
#include "3d/CCSkeleton3D.h"
|
||||
#include "3d/CCMeshVertexIndexData.h"
|
||||
|
||||
#include "base/ccMacros.h"
|
||||
#include "base/CCEventCustom.h"
|
||||
#include "base/CCEventListenerCustom.h"
|
||||
#include "base/CCEventDispatcher.h"
|
||||
#include "base/CCEventType.h"
|
||||
#include "base/CCDirector.h"
|
||||
#include "renderer/ccGLStateCache.h"
|
||||
#include "renderer/CCTexture2D.h"
|
||||
#include "renderer/CCTextureCache.h"
|
||||
#include "renderer/CCGLProgramCache.h"
|
||||
|
||||
#include "renderer/CCGLProgramState.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
|
@ -26,17 +26,13 @@
|
|||
#define __CCMESH_H__
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "3d/CCBundle3DData.h"
|
||||
#include "3d/CCAABB.h"
|
||||
#include "3d/3dExport.h"
|
||||
|
||||
#include "base/CCRef.h"
|
||||
#include "base/ccTypes.h"
|
||||
#include "math/CCMath.h"
|
||||
#include "renderer/CCGLProgram.h"
|
||||
#include "renderer/CCGLProgramState.h"
|
||||
#include "renderer/CCMeshCommand.h"
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
@ -44,6 +40,8 @@ NS_CC_BEGIN
|
|||
class Texture2D;
|
||||
class MeshSkin;
|
||||
class MeshIndexData;
|
||||
class GLProgramState;
|
||||
class GLProgram;
|
||||
/**
|
||||
* Mesh: contains ref to index buffer, GLProgramState, texture, skin, blend function, aabb and so on
|
||||
*/
|
||||
|
|
|
@ -25,10 +25,7 @@
|
|||
#include "3d/CCMeshSkin.h"
|
||||
#include "3d/CCSkeleton3D.h"
|
||||
#include "3d/CCBundle3D.h"
|
||||
|
||||
#include "base/ccMacros.h"
|
||||
#include "base/CCPlatformMacros.h"
|
||||
#include "platform/CCFileUtils.h"
|
||||
#include "3d/CCSkeleton3D.h"
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
||||
|
|
|
@ -25,17 +25,12 @@
|
|||
#ifndef __CCMESHSKIN_H__
|
||||
#define __CCMESHSKIN_H__
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
#include "3d/CCBundle3DData.h"
|
||||
#include "3d/CCSkeleton3D.h"
|
||||
|
||||
#include "base/ccMacros.h"
|
||||
#include "3d/3dExport.h"
|
||||
#include "base/CCRef.h"
|
||||
#include "base/CCVector.h"
|
||||
#include "base/ccTypes.h"
|
||||
#include "math/CCMath.h"
|
||||
#include "3d/3dExport.h"
|
||||
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
||||
|
|
Loading…
Reference in New Issue