axmol/tools/tolua++
YuLei Liao 26ab000906 * tmp 2012-01-21 01:15:05 +08:00
..
CCAction.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCActionCamera.pkg * fix CCAction class 2011-12-25 11:48:37 +08:00
CCActionEase.pkg * make CCEase* working for CCNode:runAction() 2011-12-01 16:55:21 +08:00
CCActionGrid.pkg * fix CCAction class 2011-12-25 11:48:37 +08:00
CCActionGrid3D.pkg * fix CCAction class 2011-12-25 11:48:37 +08:00
CCActionInstant.pkg * fix CCAction class 2011-12-25 11:48:37 +08:00
CCActionInterval.pkg * tmp 2012-01-21 01:15:05 +08:00
CCActionManager.pkg * merge upstream/master to master 2011-12-25 11:48:03 +08:00
CCActionPageTurn3D.pkg * fix CCAction class 2011-12-25 11:48:37 +08:00
CCActionProgressTimer.pkg * fix CCAction class 2011-12-25 11:48:37 +08:00
CCActionTiledGrid.pkg * fix CCAction class 2011-12-25 11:48:37 +08:00
CCAffineTransform.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCAnimation.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCAnimationCache.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCApplication.pkg * add CCApplication, CCFileUtils to Lua support 2011-12-05 13:57:43 +08:00
CCArray.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCAtlasNode.pkg * merge upstream/master to master 2012-01-20 19:08:21 +08:00
CCCamera.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCCommon.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCDirector.pkg * update tolua++ .pkg files 2011-11-21 00:30:55 +08:00
CCDrawingPrimitives.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCFileUtils.pkg * add CCApplication, CCFileUtils to Lua support 2011-12-05 13:57:43 +08:00
CCGeometry.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCLabelAtlas.pkg * merge upstream/master to master 2012-01-20 19:08:21 +08:00
CCLabelBMFont.pkg * tmp 2012-01-21 01:15:05 +08:00
CCLabelTTF.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCLayer.pkg generate new LuaCocos2d.cpp for new codes 2012-01-04 13:52:58 +08:00
CCMenu.pkg generate new LuaCocos2d.cpp for new codes 2012-01-04 13:52:58 +08:00
CCMenuItem.pkg * merge upstream/master to master 2012-01-20 19:08:21 +08:00
CCMotionStreak.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCMutableArray.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCMutableDictionary.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCNode.pkg * tmp 2012-01-21 01:15:05 +08:00
CCObject.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCParallaxNode.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCParticleSystem.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCPointExtension.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCProgressTimer.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCRenderTexture.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCRibbon.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCScene.pkg merge upstream/master to master 2011-12-17 12:02:24 +08:00
CCScheduler.pkg * fix CCAction class 2011-12-25 11:48:37 +08:00
CCSprite.pkg * merge upstream/master to master 2012-01-20 19:08:21 +08:00
CCSpriteBatchNode.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCSpriteFrame.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCSpriteFrameCache.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCString.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCTMXLayer.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCTMXObjectGroup.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCTMXTiledMap.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCTMXXMLParser.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCTextFieldTTF.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCTexture2D.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCTextureAtlas.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCTextureCache.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCTileMapAtlas.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCTouch.pkg * add Touch & MultiTouches lua support 2011-11-30 21:27:50 +08:00
CCTransition.pkg * merge CCTransitionPageTurn.pkg, CCTransitionRadial.pkg to CCTransition.pkg 2011-11-28 11:27:24 +08:00
CCUserDefault.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
Cocos2d.pkg Fixed missing "using namespace cocos2d;" in LuaCocos2d.cpp when using tolua++ 2012-01-14 11:31:49 +01:00
README add tolua_usertype(tolua_S,"void*") to fix CCCallFuncND 2011-11-15 17:01:07 +08:00
SimpleAudioEngine.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
basic.lua * add Lua property support for CCNode 2011-12-04 10:28:20 +08:00
build.xml * merge LuaSimpleAudioEngine to LuaCocos2d 2011-11-29 17:39:47 +08:00
build_macosx.xml * merge LuaSimpleAudioEngine to LuaCocos2d 2011-11-29 17:39:47 +08:00
ccTypes.pkg * update tolua++ .pkg files 2011-11-18 20:34:39 +08:00
tolua++.Mac.zip.REMOVED.git-id Fixed missing "using namespace cocos2d;" in LuaCocos2d.cpp when using tolua++ 2012-01-14 11:31:49 +01:00
tolua++.rar.REMOVED.git-id fixed #589 2011-07-08 15:28:13 +08:00

README

1. Generating the lua<-->C bindings with tolua++
tolua++.exe -tCocos2d -o LuaCocos2d.cpp Cocos2d.pkg

    An ant script has been provided to generate the relevant files, to do this after
    modifying the .pkg files you should use the following command in this directory:

    ant

    This will generate the bindings file, patch it to compile successfully and move it
    to the standard destination.

2. Writing .pkg files

    1) enum keeps the same
    2) remove CC_DLL for the class defines, pay attention to multi inherites
    3) remove inline keyword for declaration and implementation
    4) remove public protect and private
    5) remove the decalration of class member variable
    6) keep static keyword
    7) remove memeber functions that declared as private or protected