Updating cocos2dx.ini(adding CCScheduler to 'abstract_class' section) and adding ScriptingCore::getGlobalObject method.

This commit is contained in:
James Chen 2013-03-12 22:03:37 +08:00
parent 2be1347dc7
commit 3aaf5cabdb
2 changed files with 3 additions and 2 deletions

View File

@ -200,7 +200,8 @@ public:
void debugProcessInput(string str);
void enableDebugger();
JSObject* getDebugGlobal() { return debugGlobal_; }
JSObject* getGlobalObject() { return global_; }
private:
void string_report(jsval val);
};

View File

@ -134,7 +134,7 @@ base_classes_to_skip = CCObject
# classes that create no constructor
# CCSet is special and we will use a hand-written constructor
abstract_classes = CCDirector CCSpriteFrameCache CCTransitionEaseScene CCSet SimpleAudioEngine CCFileUtils
abstract_classes = CCDirector CCSpriteFrameCache CCTransitionEaseScene CCSet SimpleAudioEngine CCFileUtils CCScheduler
# Determining whether to use script object(js object) to control the lifecycle of native(cpp) object or the other way around. Supported values are 'yes' or 'no'.
script_control_cpp = no