• <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
            <2006年11月>
            2930311234
            567891011
            12131415161718
            19202122232425
            262728293012
            3456789


            子曾經(jīng)曰過:編程無他,唯手熟爾!

            常用鏈接

            留言簿(94)

            隨筆分類(649)

            隨筆檔案(505)

            相冊

            BCB

            Crytek

            • crymod
            • Crytek's Offical Modding Portal

            Game Industry

            OGRE

            other

            Programmers

            Qt

            WOW Stuff

            搜索

            •  

            積分與排名

            • 積分 - 914456
            • 排名 - 14

            最新隨筆

            最新評論

            閱讀排行榜

            評論排行榜

            官網(wǎng)

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


             tolua++初探(一)

            tolua++的命令行參數(shù):
            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++的類導(dǎo)出給Lua用 2008-10-28 13:20 秒大刀
            要是很多的代碼都用lua寫也是比較痛苦的,沒有編譯器嚴格的檢測和IDE強大的輔助,lua寫大了遠沒有c++好控制
            很難想想10w行的lua怎么維護,但10w行的c++應(yīng)該不在話下吧
              回復(fù)  更多評論
              
            # re: 用tolua++把C++的類導(dǎo)出給Lua用 2008-10-29 00:24 七星重劍
            @秒大刀
            呵呵,你現(xiàn)在的項目是不是游戲邏輯就用lua來寫的?

            lua多了是比較痛苦,靠打日志糾錯  回復(fù)  更多評論
              
            # re: 用tolua++把C++的類導(dǎo)出給Lua用 2008-10-29 14:38 xoyojank
            還好引擎部分不用lua....  回復(fù)  更多評論
              
            # re: 用tolua++把C++的類導(dǎo)出給Lua用 2010-06-13 09:44 ponder
            @秒大刀
            可以想象:在痛苦中調(diào)試...
            我試過調(diào)試別人的,痛不欲生...  回復(fù)  更多評論
              
            人人狠狠综合久久亚洲88| 精品久久人人爽天天玩人人妻| 久久精品中文无码资源站 | 国产产无码乱码精品久久鸭| 久久久噜噜噜www成人网| 久久99国产一区二区三区| 久久婷婷是五月综合色狠狠| 日本欧美久久久久免费播放网| 9191精品国产免费久久| 久久久久久久免费视频| 国产福利电影一区二区三区久久久久成人精品综合 | 久久久久久国产精品无码超碰| 亚洲午夜精品久久久久久人妖| 无码国内精品久久综合88| 国内精品久久久久影院网站| 99久久婷婷国产综合亚洲| 香蕉99久久国产综合精品宅男自| 国产精品免费福利久久| 久久久久久久女国产乱让韩| 精品久久人人妻人人做精品| 久久精品国产99国产精偷| 一本色道久久99一综合| 久久久久亚洲精品天堂久久久久久| 精品999久久久久久中文字幕| 日本高清无卡码一区二区久久| 一本伊大人香蕉久久网手机| 99久久人妻无码精品系列| 亚洲中文字幕无码一久久区| 久久久久国产视频电影| 精品久久久久久国产牛牛app | 色婷婷狠狠久久综合五月| 99久久99久久精品国产| 久久精品国产亚洲沈樵| 久久久久久亚洲精品成人| 国产成人精品综合久久久久| 一本一道久久综合狠狠老| 亚洲午夜久久久久妓女影院| 香蕉久久夜色精品升级完成| 久久影院综合精品| 国内精品人妻无码久久久影院| 国产∨亚洲V天堂无码久久久|