From fb146129c1351d58798ae0bbec306bff2b88caad Mon Sep 17 00:00:00 2001 From: Rolando Abarca Date: Mon, 14 May 2012 15:55:27 -0700 Subject: [PATCH] adds TMX support for bindings --- testjs/JSBindings/ScriptingCore.cpp | 2 ++ testjs/JSBindings/cocos2d_generated.cpp.REMOVED.git-id | 2 +- testjs/JSBindings/cocos2d_generated.hpp.REMOVED.git-id | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/testjs/JSBindings/ScriptingCore.cpp b/testjs/JSBindings/ScriptingCore.cpp index c1df5cfd71..6802bfc5d6 100644 --- a/testjs/JSBindings/ScriptingCore.cpp +++ b/testjs/JSBindings/ScriptingCore.cpp @@ -201,6 +201,8 @@ ScriptingCore::ScriptingCore() S_CCScaleBy::jsCreateClass(this->cx, cocos, "ScaleBy"); S_CCScaleTo::jsCreateClass(this->cx, cocos, "ScaleTo"); S_CCBezierTo::jsCreateClass(this->cx, cocos, "BezierTo"); + S_CCTMXTiledMap::jsCreateClass(this->cx, cocos, "TMXTiledMap"); + S_CCTMXLayer::jsCreateClass(this->cx, cocos, "TMXLayer"); S_SimpleAudioEngine::jsCreateClass(this->cx, cocos, "SimpleAudioEngine"); diff --git a/testjs/JSBindings/cocos2d_generated.cpp.REMOVED.git-id b/testjs/JSBindings/cocos2d_generated.cpp.REMOVED.git-id index 300e749598..016ff60555 100644 --- a/testjs/JSBindings/cocos2d_generated.cpp.REMOVED.git-id +++ b/testjs/JSBindings/cocos2d_generated.cpp.REMOVED.git-id @@ -1 +1 @@ -116a7a6e17a74a81023ac7540c1126f81f9a62a7 \ No newline at end of file +92af05dc4363b6ad2fb30f28c31ac79194ed73a6 \ No newline at end of file diff --git a/testjs/JSBindings/cocos2d_generated.hpp.REMOVED.git-id b/testjs/JSBindings/cocos2d_generated.hpp.REMOVED.git-id index 77a32424e7..c358d025e7 100644 --- a/testjs/JSBindings/cocos2d_generated.hpp.REMOVED.git-id +++ b/testjs/JSBindings/cocos2d_generated.hpp.REMOVED.git-id @@ -1 +1 @@ -8d7675ba983e458e8f5643959db3dd3f520599a5 \ No newline at end of file +4e35fbc289c831a30c77bd08b60d644fe5cd4f4f \ No newline at end of file