From c4d0a45f3d02ec7ba04300bb2cb88dace5d8807b Mon Sep 17 00:00:00 2001 From: yangws Date: Sat, 11 Dec 2010 09:50:46 +0800 Subject: [PATCH] add feature header file in CCXAppWiz HelloWorldScene.h --- .../Templates/1033/Classes/HelloWorldScene.h | 10 ++++++++++ .../CCXAppWiz/Templates/1033/Classes/HelloWorldScene.h | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/template/CCXAppWiz.vs/CCXAppWiz.uphone/Templates/1033/Classes/HelloWorldScene.h b/template/CCXAppWiz.vs/CCXAppWiz.uphone/Templates/1033/Classes/HelloWorldScene.h index a75e896ea4..98bef08fc6 100644 --- a/template/CCXAppWiz.vs/CCXAppWiz.uphone/Templates/1033/Classes/HelloWorldScene.h +++ b/template/CCXAppWiz.vs/CCXAppWiz.uphone/Templates/1033/Classes/HelloWorldScene.h @@ -3,6 +3,16 @@ #include "cocos2d.h" +[! if CCX_USE_BOX2D] +#include "Box2D.h" +[! endif] +[! if CCX_USE_CHIPMUNK] +#include "chipmunk.h" +[! endif] +[! if CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE] +#include "SimpleAudioEngine.h" +[! endif] + class HelloWorld : public cocos2d::CCLayer { public: diff --git a/template/CCXAppWiz.vs/CCXAppWiz/Templates/1033/Classes/HelloWorldScene.h b/template/CCXAppWiz.vs/CCXAppWiz/Templates/1033/Classes/HelloWorldScene.h index 83d3a7112a..e934402f3e 100644 --- a/template/CCXAppWiz.vs/CCXAppWiz/Templates/1033/Classes/HelloWorldScene.h +++ b/template/CCXAppWiz.vs/CCXAppWiz/Templates/1033/Classes/HelloWorldScene.h @@ -4,6 +4,16 @@ #include "cocos2d.h" +[! if CCX_USE_BOX2D] +#include "Box2D.h" +[! endif] +[! if CCX_USE_CHIPMUNK] +#include "chipmunk.h" +[! endif] +[! if CCX_USE_COCOS_DENSHION_SIMPLE_AUDIO_ENGINE] +#include "SimpleAudioEngine.h" +[! endif] + class HelloWorld : public cocos2d::CCLayer { public: