• <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
            <2008年10月>
            2829301234
            567891011
            12131415161718
            19202122232425
            2627282930311
            2345678


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

            常用鏈接

            留言簿(94)

            隨筆分類(649)

            隨筆檔案(505)

            相冊

            BCB

            Crytek

            • crymod
            • Crytek's Offical Modding Portal

            Game Industry

            OGRE

            other

            Programmers

            Qt

            WOW Stuff

            搜索

            •  

            積分與排名

            • 積分 - 917369
            • 排名 - 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 七星重劍 閱讀(1795) 評論(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ù)  更多評論
              
            久久久综合香蕉尹人综合网| 久久中文精品无码中文字幕 | 久久亚洲国产午夜精品理论片| 国产成人无码精品久久久性色| 中文字幕精品久久| 尹人香蕉久久99天天拍| 国内精品九九久久精品| 国产精品久久久久蜜芽| 久久久久亚洲精品日久生情 | 色综合久久综合中文综合网| 国色天香久久久久久久小说| 超级碰碰碰碰97久久久久| 国产精品久久久久9999高清| 国产精品久久久久久一区二区三区| 国产69精品久久久久9999| 国产成人精品久久亚洲| 亚洲中文久久精品无码| 成人a毛片久久免费播放| 久久精品视屏| 国产精品久久婷婷六月丁香| 99国产精品久久| 久久综合九色综合欧美就去吻| 久久精品国产亚洲av麻豆小说| 久久精品人妻一区二区三区| 久久精品国产亚洲av麻豆蜜芽| 99久久99久久精品国产片果冻| 久久狠狠爱亚洲综合影院| 99久久精品国产免看国产一区| 人妻无码精品久久亚瑟影视| 91久久精一区二区三区大全| 久久青青草原精品国产不卡| 久久国产精品-久久精品| 欧美午夜精品久久久久久浪潮| 久久精品国产半推半就| 亚洲精品乱码久久久久久不卡| 51久久夜色精品国产| 国产精品久久久久jk制服| 中文字幕无码免费久久| 久久精品国产黑森林| 国产精品日韩欧美久久综合| 亚洲精品国产成人99久久|