|
|
发表于 2007-2-14 12:55:00
|
显示全部楼层
Re: Re:大家来聊聊OGRE1.4(Eihort)吧
ReallyBigBug: Re:大家来聊聊OGRE1.4(Eihort)吧
ogre就是搞了30万行代码,就不知道这些代码在干吗。。。。。看完30万行,它又新增30万行。
对于库来说,了解接口就好了,何必要看代码?
还有就是1.4加强的对多线程的支持,采用了boost库。(OGRE_THREAD_SUPPORT)
对于Unicode的支持,不应该归于1.4的特性,这个是CEGUI早期版本就开始支持的UTF8带来的,而OGRE本身仍然使用多字节字符集,不过看情况,改成宽字符集似乎也并不困难,但是比较麻烦,本来想做来的,但是考虑估计所有OGRE脚本本件都是多字节字符,改成Unicode太麻烦了,还是放弃。
对于静态连接
感觉有些鸡肋
毕竟Ogre是LGPL的,如果你静态连接了,就要开源,一般来说商业游戏不容易接受这个
If you choose to change this, and make OGRE statically linked (we don't support this, but it's possible), your work becomes a derived work of OGRE and is covered by the LGPL too. You must either release your source, or include linkable object files of your work if you do this, so it's not recommended.
把窗口回调函数抽象为一个,并增加了窗口事件监听接口(通用事件,比如关闭或者移动,仍然是平台无关)。WindowEventUtilities类相关 |
|