官網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
七星重劍 閱讀(1786)
評論(4) 編輯 收藏 引用 所屬分類:
PL--Lua 、
C++ lib -- CEGUI