mirror of https://github.com/axmolengine/axmol.git
Merge pull request #2141 from dumganhar/master
Updating the template of muti-platform-js and iOS template.
This commit is contained in:
commit
2be1347dc7
|
@ -3,7 +3,9 @@
|
|||
#include "cocos2d.h"
|
||||
#include "SimpleAudioEngine.h"
|
||||
#include "ScriptingCore.h"
|
||||
#include "generated/cocos2dx.hpp"
|
||||
#include "generated/jsb_cocos2dx_auto.hpp"
|
||||
#include "generated/jsb_cocos2dx_extension_auto.hpp"
|
||||
#include "jsb_cocos2dx_extension_manual.h"
|
||||
#include "cocos2d_specifics.hpp"
|
||||
#include "js_bindings_chipmunk_registration.h"
|
||||
#include "js_bindings_system_registration.h"
|
||||
|
@ -35,6 +37,8 @@ bool AppDelegate::applicationDidFinishLaunching()
|
|||
|
||||
ScriptingCore* sc = ScriptingCore::getInstance();
|
||||
sc->addRegisterCallback(register_all_cocos2dx);
|
||||
sc->addRegisterCallback(register_all_cocos2dx_extension);
|
||||
sc->addRegisterCallback(register_all_cocos2dx_extension_manual);
|
||||
sc->addRegisterCallback(register_cocos2dx_js_extensions);
|
||||
sc->addRegisterCallback(register_CCBuilderReader);
|
||||
sc->addRegisterCallback(jsb_register_chipmunk);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
|||
cf0289be9db8569cb09462929ac74c94b9ecaf91
|
Loading…
Reference in New Issue