Mercurial > hg > Game > Cerium
diff TaskManager/Test/test_render/hash_texture.h @ 141:56db76a03294 draft
TileList を作ろうとしたがに動かない。
今はTileList 無しver
author | gongo@charles.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Sat, 29 Nov 2008 01:18:32 +0900 |
parents | |
children | b3fb0013e6b2 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TaskManager/Test/test_render/hash_texture.h Sat Nov 29 01:18:32 2008 +0900 @@ -0,0 +1,15 @@ +const int N = 8192; + +struct +hashtable{ + int tx_id; + char* key; +}; + +class TextureHash { + hashtable table[N]; +public: + hash(void); + int hash_function(const char*); + int hash_regist(const char*); +};