• <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ù)  更多評論
              
            久久婷婷五月综合97色一本一本| 国产精品久久婷婷六月丁香| 久久中文字幕人妻丝袜| 精品久久久无码21p发布| av午夜福利一片免费看久久| 久久夜色精品国产亚洲| 亚洲国产精品狼友中文久久久| 久久人人爽人人爽人人片AV东京热 | 久久这里只有精品18| 久久午夜电影网| 欧美激情一区二区久久久| 国产欧美一区二区久久| 久久久久亚洲精品中文字幕| 蜜臀av性久久久久蜜臀aⅴ | 精品国产乱码久久久久软件| 97久久精品无码一区二区| 波多野结衣久久一区二区| 精品久久一区二区| 亚洲AV无码久久精品蜜桃| 很黄很污的网站久久mimi色| 久久精品人人做人人爽97| 日韩欧美亚洲国产精品字幕久久久| 久久精品国产精品亚洲毛片| 亚洲欧美成人久久综合中文网| 国内精品久久久久久久coent | 午夜天堂精品久久久久| 久久综合给合综合久久| 大香网伊人久久综合网2020| 国产91久久精品一区二区| 久久夜色精品国产噜噜麻豆| 最新久久免费视频| 久久免费国产精品| 久久久精品视频免费观看| 国产亚洲精午夜久久久久久| 天天久久狠狠色综合| 亚洲国产精品久久久久婷婷老年| 久久国产色AV免费观看| 精品免费tv久久久久久久| 中文字幕亚洲综合久久2| 国产精品欧美久久久久无广告| 国产成人精品久久亚洲高清不卡|