axmol/tools/tolua++
YuLei Liao 757f840b47 * update tolua++ .pkg files, add CCScene::registerScriptEventsHandler(), CCScene::unregisterScriptEventsHandler() 2011-11-29 17:12:08 +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 * update tolua++ .pkg files 2011-11-09 23:23:47 +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 * update tolua++ .pkg files 2011-11-09 23:23:47 +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 * update tolua++ .pkg files 2011-11-18 20:34:39 +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 * update tolua++ .pkg files 2011-11-18 20:34:39 +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 * update tolua++ .pkg files 2011-11-09 23:23:47 +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 * update tolua++ .pkg files 2011-11-29 15:45:20 +08:00
README Updating README file as requested 2011-09-19 07:47:17 +01:00
SimpleAudioEngine.pkg * update tolua++ .pkg files 2011-11-09 23:23:47 +08:00
basic.lua * update tolua++ .pkg files 2011-11-18 20:34:39 +08:00
build.xml * update tolua++ .pkg files 2011-11-18 20:34:39 +08:00
build_macosx.xml * update tolua++ .pkg files 2011-11-29 15:45:20 +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++

    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