• <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
            <2007年7月>
            24252627282930
            1234567
            891011121314
            15161718192021
            22232425262728
            2930311234


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

            常用鏈接

            留言簿(94)

            隨筆分類(649)

            隨筆檔案(505)

            相冊

            BCB

            Crytek

            • crymod
            • Crytek's Offical Modding Portal

            Game Industry

            OGRE

            other

            Programmers

            Qt

            WOW Stuff

            搜索

            •  

            積分與排名

            • 積分 - 914431
            • 排名 - 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
            @秒大刀
            可以想象:在痛苦中調試...
            我試過調試別人的,痛不欲生...  回復  更多評論
              
            国产精品久久新婚兰兰 | 久久天天躁狠狠躁夜夜av浪潮 | 99精品久久精品| 久久国产精品波多野结衣AV| 欧美精品丝袜久久久中文字幕 | 久久久久久久人妻无码中文字幕爆| 久久精品毛片免费观看| 一本色道久久88加勒比—综合| 99精品国产免费久久久久久下载| 一本色道久久99一综合| 久久久久国产成人精品亚洲午夜| 久久综合综合久久综合| 亚洲国产一成久久精品国产成人综合 | 亚洲天堂久久久| 青青青国产成人久久111网站| 久久综合伊人77777| 热re99久久6国产精品免费| 精品无码久久久久久国产| 亚洲AV无码久久寂寞少妇| 亚洲精品综合久久| 久久综合中文字幕| 久久久亚洲欧洲日产国码aⅴ | 久久精品18| 久久亚洲国产午夜精品理论片| 99久久精品免费看国产一区二区三区 | 久久AV高清无码| 亚洲综合伊人久久综合| 久久不见久久见免费影院www日本| 久久婷婷五月综合色奶水99啪| 亚洲精品无码久久毛片| 久久中文字幕视频、最近更新| 国产精品美女久久久免费| 久久精品国产精品亚洲| 亚洲综合久久综合激情久久| 26uuu久久五月天| 91精品免费久久久久久久久| 久久精品国产秦先生| 色婷婷久久久SWAG精品| 性做久久久久久免费观看| 久久久青草青青国产亚洲免观| 91精品国产91久久久久久青草|