会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
AndrewChenKISS
nebula3 源码分析
摘要: 1. StringAtom 设计需求: 1. 集中管理字符串,对于资源标识型字符串一般没有改变内容的需求,所以相同内容的字符串在内存中只存在一份拷贝; 2. 通过比较字符串的首地址,来避免字符串比较中O(n)的时间复杂度; 3. 多线程应用中,为了避免stringatom的数据读写竞争,设计了localstringatomtable和globalstringatomtable; 组织...
阅读全文
posted @ 2012-12-15 12:30 AndrewChenKISS
阅读(397)
评论(0)
推荐(0)
编辑
game blogs list (real-time updating)
摘要: 1. nebula related blogs. 1.1 official blog. http://flohofwoe.blogspot.com/ 1.2 xoyojank (n3 coninuous dev sponsor). http://blog.csdn.net/xoyojank/ 1.3 n3 coninuous dev location. http://code.google.com...
阅读全文
posted @ 2011-06-22 15:58 AndrewChenKISS
阅读(143)
评论(0)
推荐(0)
编辑
fafa
摘要: 1: int 2: DebugCounter::GetSample() const 3: { 4: int val = 0; 5: this->critSect.Enter(); 6: if (!this->history.IsEmpty()) 7: { 8: val = this->history.Back(); 9: } 10: this->critSect.Leave(); 11: ret...
阅读全文
posted @ 2011-06-19 10:07 AndrewChenKISS
阅读(191)
评论(0)
推荐(0)
编辑
game dev tools set
摘要: 1. image library1.1 OpenIL(aka. DevIL). http://openil.sourceforge.net/1.2 NVTT. http://code.google.com/p/nvidia-texture-tools/2. script language2.1 Lua. http://www.lua.org/2.2 Python. http://www.python.org/2.3 Squirrel. http://www.squirrel-lang.org/3. in-game video reply library3.1 direct show.3.2 l
阅读全文
posted @ 2011-06-16 17:27 AndrewChenKISS
阅读(195)
评论(0)
推荐(0)
编辑
导航
博客园
首页
联系
订阅
管理
公告