axmol/tools/tolua++
YuLei Liao 442e06e62e * add CCNode:getPositionLua(), return CCPoint 2011-12-04 11:35:55 +08:00
..
CCAction.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCActionCamera.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCActionEase.pkg * make CCEase* working for CCNode:runAction() 2011-12-01 16:55:21 +08:00
CCActionGrid.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCActionGrid3D.pkg * update tolua++ .pkg files 2011-11-18 20:34:39 +08:00
CCActionInstant.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCActionInterval.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCActionManager.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCActionPageTurn3D.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCActionProgressTimer.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCActionTiledGrid.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +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
CCArray.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCAtlasNode.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +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
CCGeometry.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCLabelAtlas.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCLabelBMFont.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCLabelTTF.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
CCLayer.pkg * add Touch & MultiTouches lua support 2011-11-30 21:27:50 +08:00
CCMenu.pkg * update tolua++ .pkg files 2011-11-29 15:45:20 +08:00
CCMenuItem.pkg * update tolua++ .pkg files 2011-11-29 15:45:20 +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 * add CCNode:getPositionLua(), return CCPoint 2011-12-04 11:35:55 +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 * update tolua++ .pkg files, add CCScene::registerScriptEventsHandler(), CCScene::unregisterScriptEventsHandler() 2011-11-29 17:12:08 +08:00
CCScheduler.pkg * update tolua++ .pkg files 2011-11-29 15:45:20 +08:00
CCSprite.pkg * add more Lua property for CCNode, CCSprite 2011-12-04 10:57:20 +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 * merge LuaSimpleAudioEngine to LuaCocos2d 2011-11-29 17:39:47 +08: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
selector_protocol.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08: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