• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 505  文章 - 1034  trackbacks - 0
            <2018年6月>
            272829303112
            3456789
            10111213141516
            17181920212223
            24252627282930
            1234567


            子曾經曰過:編程無他,唯手熟爾!

            常用鏈接

            留言簿(94)

            隨筆分類(649)

            隨筆檔案(505)

            相冊

            BCB

            Crytek

            • crymod
            • Crytek's Offical Modding Portal

            Game Industry

            OGRE

            other

            Programmers

            Qt

            WOW Stuff

            搜索

            •  

            積分與排名

            • 積分 - 914448
            • 排名 - 14

            最新隨筆

            最新評論

            閱讀排行榜

            評論排行榜

            官網

            CEGUI里面就用了這個,全部改用Unicode字符集后有問題,現在就在解決這個問題。
            某些游戲據說邏輯就用lua來寫,是不是就是用的這個東西?反正namespace,class,enum,variables都可以導出,用lua來寫是沒問題了。


             tolua++初探(一)

            tolua++的命令行參數:
            E:\CEGUI\tolua++-1.0.92\bin>tolua++_d.exe

            usage
            : tolua++ [options] input_file

            Command line options are
            :
              
            -v       : print version information.
              
            -o  file : set output file; default is stdout.
              
            -H  file : create include file.
              
            -n  name : set package name; default is input file root name.
              
            -p       : parse only.
              
            -P       : parse and print structure information (for debug).
              
            -S       : disable support for c++ strings.
              
            -1       : substract 1 to operator[] index (for compatibility with tolua5).
              
            -L  file : run lua file (with dofile()) before doing anything.
              
            -D       : disable automatic exporting of destructors for classes that have
                         constructors (
            for compatibility with tolua5)
              
            -W       : disable warnings for unsupported features (for compatibility
                         with tolua5)
              
            -C       : disable cleanup of included lua code (for easier debugging)
              
            -E  value[=value] : add extra values to the luastate
              
            -t       : export a list of types asociates with the C++ typeid name
              
            -h       : print this message.
            Should the input file be omitted
            , stdin is assumed;
            in that case
            , the package name must be explicitly set.



            posted on 2008-10-28 02:25 七星重劍 閱讀(1790) 評論(4)  編輯 收藏 引用 所屬分類: PL--LuaC++ lib -- CEGUI

            FeedBack:
            # re: 用tolua++把C++的類導出給Lua用 2008-10-28 13:20 秒大刀
            要是很多的代碼都用lua寫也是比較痛苦的,沒有編譯器嚴格的檢測和IDE強大的輔助,lua寫大了遠沒有c++好控制
            很難想想10w行的lua怎么維護,但10w行的c++應該不在話下吧
              回復  更多評論
              
            # re: 用tolua++把C++的類導出給Lua用 2008-10-29 00:24 七星重劍
            @秒大刀
            呵呵,你現在的項目是不是游戲邏輯就用lua來寫的?

            lua多了是比較痛苦,靠打日志糾錯  回復  更多評論
              
            # re: 用tolua++把C++的類導出給Lua用 2008-10-29 14:38 xoyojank
            還好引擎部分不用lua....  回復  更多評論
              
            # re: 用tolua++把C++的類導出給Lua用 2010-06-13 09:44 ponder
            @秒大刀
            可以想象:在痛苦中調試...
            我試過調試別人的,痛不欲生...  回復  更多評論
              
            99久久99久久| 狠狠色噜噜狠狠狠狠狠色综合久久| a级毛片无码兔费真人久久| 韩国三级大全久久网站| 国产精品毛片久久久久久久| 久久精品国产免费| 中文字幕精品久久| 久久香蕉国产线看观看乱码| 无码任你躁久久久久久| 久久AV高清无码| 国产精品99久久久精品无码 | 国产999精品久久久久久| 久久久无码精品亚洲日韩软件| 久久精品国产亚洲av高清漫画| 免费精品久久久久久中文字幕| 久久天天躁狠狠躁夜夜不卡 | 久久精品国产网红主播| 国产99久久久国产精品~~牛| 日本WV一本一道久久香蕉| 狠狠狠色丁香婷婷综合久久五月| 午夜视频久久久久一区| 99国内精品久久久久久久| 久久久婷婷五月亚洲97号色| 久久久久国色AV免费看图片 | 亚洲精品国产综合久久一线| 97精品久久天干天天天按摩| A级毛片无码久久精品免费| 18禁黄久久久AAA片| 久久噜噜久久久精品66| 久久福利青草精品资源站免费| 色妞色综合久久夜夜| 久久久久AV综合网成人| 久久精品aⅴ无码中文字字幕不卡| 久久久国产精品| 久久国产三级无码一区二区| 久久久不卡国产精品一区二区| 久久99热这里只有精品国产| 一级女性全黄久久生活片免费| 美女久久久久久| 中文字幕热久久久久久久| 一本色道久久HEZYO无码|