cocos2dx 使用记录
CCLog 替换 cocos2d::log
CCCommon.cpp CCMessageBox 替换 MessageBox
在CCDeprecated.h 添加不到的 如CCCommon.cpp 没有结构方法 就在 cocos2d.h 引入头文件#include "platform\desktop\CCCommon.h"
在脚本使用就 cocos2d::MessageBox
CCApplication 改为: Application
CCIMEDispatcher 改为:IMEDispatcher
CCDirector改为 Director
CCKeypadDispatcher.h
kTypeBackClicked 是枚举1
kTypeMenuClicked 是枚举2
CCLOG替换为:cocos2d::log
CCPoint 叫 CCGeometry.h 实称Size
CCObject 替换为 Ref ;C:\Work\SVN-MyPlaneWar\projects\14a-Fighter\cocos2d\cocos\2d\CCRef.h
CCEGLViewProtocol.h getDesignResolutionSize()替换为getFrameSize()
CCSet 替换为 __Set
glew_dynamic_binding() 增加为:CCGLView::glew_dynamic_binding()
CCTouchDelegateProtocol.h 位置在 C:\Work\SVN-MyPlaneWar\projects\14a-Fighter\cocos2d\cocos\2d
math.h 替换为 CCMath.h
CCArray替换为 __Array
无法解释的外部符号 错误 2940 error LNK2019: 无法解析的外部符号 "public: static void __cdecl SdkUtils::showAd(int)" (?showAd@SdkUtils@