Mercurial > hg > Game > Cerium
view TaskManager/Test/test_render/TextureHash.h @ 150:3f467ad8c40d draft
add xml
author | gongo@charles.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Tue, 02 Dec 2008 19:10:34 +0900 |
parents | 56db76a03294 |
children | bd0cc480a60a |
line wrap: on
line source
#ifndef INCLUDED_TEXTURE_HASH #define INCLUDED_TEXTURE_HASH const int TABLE_SIZE = 8192; struct hashtable{ int tx_id; char* key; }; class TextureHash { public: hashtable *table; TextureHash(void); ~TextureHash(void); int hash_function(const char*); int hash_regist(const char*); }; #endif