官网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
七星重剑 阅读(1779)
评论(4) 编辑 收藏 引用 所属分类:
PL--Lua 、
C++ lib -- CEGUI