Author: admin
Publish: August 7, 2010
Category: Default
No Comments
char szNameList[256]=“abc,def”;
const char* pszName=strtok(szNameList,',');
while(pszName)
{
fun(pszName); // 在这里调用的函数内部可能也使用了strtok操作 直接影响了下面token取值
pszName = strtok(NULL,',');
}
// -------------------------------------------------------------------------
对strtok这样一个隐患及其诡异的用法,标准库居然一直没有什么应对,太奇怪了!
解决方案
......
/*const*/ char* pszName=strtok(szNameList,',');
while(pszName)
{
......
pszName = strtok(pszName+strlen(pszName)+1,',');
}
Author: admin
Publish: June 17, 2010
Category: Default
5 Comments
--English--
Decrypt or encrypt the files of MU client.
Supported formats:
Bmd <-> smd
ozj <-> jpg
ozt <-> tga
ozb <-> bmp
Copy MUFileDecrypt.exe to be decrypted or encrypted files directory, run MUFileDecrypt.exe.
Generates two directories dec and enc:
dec for the decrypted files.
enc for the encrypted files.
--Chinese--
解密或加密MU客户端文件。
支持格式:
Bmd<->smd
ozj<->jpg
ozt<->tga
ozb<->bmp
把MUFileDecrypt.exe拷贝到要解密或加密的文件目录,运行MUFileDecrypt.exe。
生成两个目录 dec和enc:
dec为解密后的文件。
enc为加密后的文件。
MUFileDecrypt.zip
Author: admin
Publish: June 17, 2010
Category: Default
1 Comment
--English--
[0.7.1]
Add intelligent painting the second layer of tile.
Add painting the lightmap.
Add saving .att files with 64kb and 128kb.
Add new interface.
Add the guide int the tip of the interface.
Add the revocation and repeat in the terrain editor.
Add the multi-select operation in the object editor.
Improved the moving operation in the object editor.
Merge the MuModelView.
--Chinese--
[0.7.1]
增加智能画第二层地表的功能。
增加画光照图的功能。
增加att文件存储为64kb及128kb兼容性格式。
增加新的图形界面。
在控件的tip里增加了的户指南信息。
在地形编辑器里增加撤销和重复操作。
在对象编辑器里增加多选操作。
在对象编辑器里改进对象位移操作。
合并了mu模型查看器。
Download
Author: admin
Publish: April 12, 2010
Category: Default
No Comments


Author: admin
Publish: March 18, 2010
Category: Release
1 Comment
近一年时间里,与公司里的北美团队(据说,里面有参与过原暗黑2核心成员之一,1年前被完美时空收购)的接触,哇草! 绝对是偶像们啊。几个逍遥自在的 handsome man,拿着自己1年时间做出来的编辑器,在俺们眼前晃过来晃过去,馋啊。
幻想我也能有一天能拿着咱的技术,潇洒的讲解咱牛逼引擎、牛逼游戏!讲给老美听,给老日听,给老欧听...
为国人争光啊!想想现在中国的游戏公司里,咱混的不是技术,是芥末,是错综复杂的人际关系,味特浓。我不会玩,我还是自己找点乐子玩自己吧。
因为火炬之光完全是OGRE,当第一次看到他的目录结构,我整个人都OGRE了。
模型读写很好解,正值课余时间把代码移植过来,我的模型观察器就支持看火炬之光的模型了。
可爱的狗狗:

ModelView060.zip
- 1
- 2
- »