Mercurial > hg > Game > Cerium
annotate TaskManager/Test/test_render/TextureHash.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 | bd0cc480a60a |
rev | line source |
---|---|
141 | 1 #ifndef INCLUDED_TEXTURE_HASH |
2 #define INCLUDED_TEXTURE_HASH | |
3 | |
4 const int TABLE_SIZE = 8192; | |
5 | |
6 struct hashtable{ | |
7 int tx_id; | |
8 char* key; | |
9 }; | |
10 | |
11 class TextureHash { | |
12 public: | |
13 hashtable *table; | |
14 | |
15 TextureHash(void); | |
16 ~TextureHash(void); | |
17 int hash_function(const char*); | |
18 int hash_regist(const char*); | |
19 }; | |
20 | |
21 #endif |