2010-07-06 15:46:45 +08:00
|
|
|
/****************************************************************************
|
|
|
|
Copyright (c) 2010 cocos2d-x.org
|
|
|
|
|
2010-07-06 20:55:05 +08:00
|
|
|
http://www.cocos2d-x.org
|
|
|
|
|
2010-07-06 15:46:45 +08:00
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
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
|
|
|
|
THE SOFTWARE.
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
|
2010-07-06 10:19:51 +08:00
|
|
|
#ifndef __COCOS2D_H__
|
|
|
|
#define __COCOS2D_H__
|
|
|
|
|
|
|
|
//
|
|
|
|
// all cocos2d include files
|
|
|
|
//
|
2010-08-25 09:40:31 +08:00
|
|
|
|
|
|
|
#include "ccConfig.h" // should be included first
|
|
|
|
#include "CCAction.h"
|
2010-08-30 15:04:46 +08:00
|
|
|
#include "CCActionManager.h"
|
2010-08-25 09:40:31 +08:00
|
|
|
#include "CCCamera.h"
|
|
|
|
#include "CCCameraAction.h"
|
|
|
|
#include "CCProtocols.h"
|
|
|
|
#include "CCNode.h"
|
2010-07-06 10:19:51 +08:00
|
|
|
#include "CCDirector.h"
|
2010-08-05 18:58:38 +08:00
|
|
|
// #include "CCTouchDispatcher.h"
|
|
|
|
// #include "CCTouchDelegateProtocol.h"
|
2010-08-25 09:40:31 +08:00
|
|
|
#include "CCInstantAction.h"
|
|
|
|
#include "CCIntervalAction.h"
|
|
|
|
#include "CCEaseAction.h"
|
|
|
|
#include "CCLabel.h"
|
2010-07-06 10:19:51 +08:00
|
|
|
#include "CCLayer.h"
|
2010-08-25 09:40:31 +08:00
|
|
|
#include "CCMenu.h"
|
|
|
|
#include "CCMenuItem.h"
|
|
|
|
#include "CCParticleSystem.h"
|
|
|
|
#include "CCPointParticleSystem.h"
|
|
|
|
#include "CCQuadParticleSystem.h"
|
2010-08-25 11:18:59 +08:00
|
|
|
#include "CCParticleExamples.h"
|
2010-07-06 10:19:51 +08:00
|
|
|
#include "CCScene.h"
|
|
|
|
#include "CCSprite.h"
|
2010-09-09 10:17:38 +08:00
|
|
|
#include "CCSpriteFrameCache.h"
|
2010-07-06 10:19:51 +08:00
|
|
|
#include "CCTextureCache.h"
|
2010-08-25 09:40:31 +08:00
|
|
|
#include "CCTransition.h"
|
|
|
|
#include "CCTextureAtlas.h"
|
|
|
|
#include "CCLabelAtlas.h"
|
|
|
|
#include "CCAtlasNode.h"
|
|
|
|
#include "CCTiledGridAction.h"
|
|
|
|
#include "CCGrid3DAction.h"
|
|
|
|
#include "CCGridAction.h"
|
|
|
|
#include "CCBitmapFontAtlas.h"
|
2010-08-26 11:39:26 +08:00
|
|
|
#include "CCParallaxNode.h"
|
2010-09-01 14:57:55 +08:00
|
|
|
#include "CCTileMapAtlas.h"
|
|
|
|
#include "CCTMXTiledMap.h"
|
|
|
|
#include "CCTMXLayer.h"
|
|
|
|
#include "CCTMXObjectGroup.h"
|
|
|
|
#include "CCTMXXMLParser.h"
|
2010-08-25 09:40:31 +08:00
|
|
|
#include "CCRenderTexture.h"
|
|
|
|
#include "CCMotionStreak.h"
|
|
|
|
#include "CCPageTurn3DAction.h"
|
|
|
|
#include "CCPageTurnTransition.h"
|
|
|
|
#include "CCTexture2D.h"
|
|
|
|
#include "CCPVRTexture.h"
|
|
|
|
#include "CCRadialTransition.h"
|
|
|
|
#include "CCProgressTimerActions.h"
|
2010-08-25 10:19:20 +08:00
|
|
|
#include "CCTouchDispatcher.h"
|
2010-08-26 10:53:49 +08:00
|
|
|
#include "CCDrawingPrimitives.h"
|
2010-09-09 16:15:21 +08:00
|
|
|
#include "CCScheduler.h"
|
2010-08-25 10:19:20 +08:00
|
|
|
|
|
|
|
//
|
|
|
|
// cocoa includes
|
|
|
|
//
|
|
|
|
#include "NSSet.h"
|
|
|
|
#include "NSMutableArray.h"
|
|
|
|
#include "NSMutableDictionary.h"
|
|
|
|
#include "NSObject.h"
|
|
|
|
#include "NSZone.h"
|
|
|
|
#include "CGGeometry.h"
|
|
|
|
#include "CGAffineTransform.h"
|
|
|
|
#include "selector_protocol.h"
|
|
|
|
#include "CCTouch.h"
|
|
|
|
#include "CGPointExtension.h"
|
|
|
|
|
|
|
|
//
|
|
|
|
// platform specific
|
|
|
|
//
|
|
|
|
#include "CCXApplication.h"
|
|
|
|
#include "CCXEGLView.h"
|
2010-08-25 17:21:38 +08:00
|
|
|
#include "CCXUIImage.h"
|
|
|
|
#include "CCXFileUtils.h"
|
2010-11-10 16:29:52 +08:00
|
|
|
#include "CCXUIAccelerometer.h"
|
2010-08-25 09:40:31 +08:00
|
|
|
|
|
|
|
//
|
|
|
|
// cocos2d macros
|
|
|
|
//
|
|
|
|
#include "ccTypes.h"
|
|
|
|
#include "ccMacros.h"
|
2010-08-05 18:58:38 +08:00
|
|
|
|
2010-12-17 23:44:19 +08:00
|
|
|
namespace cocos2d {
|
2010-08-04 15:46:12 +08:00
|
|
|
|
2010-12-17 23:44:19 +08:00
|
|
|
const char* cocos2dVersion();
|
|
|
|
}//namespace cocos2d
|
2010-07-06 10:19:51 +08:00
|
|
|
|
|
|
|
#endif // __COCOS2D_H__
|