Mercurial > hg > Game > Cerium
comparison 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 |
comparison
equal
deleted
inserted
replaced
140:67a5469dfef2 | 141:56db76a03294 |
---|---|
1 const int N = 8192; | |
2 | |
3 struct | |
4 hashtable{ | |
5 int tx_id; | |
6 char* key; | |
7 }; | |
8 | |
9 class TextureHash { | |
10 hashtable table[N]; | |
11 public: | |
12 hash(void); | |
13 int hash_function(const char*); | |
14 int hash_regist(const char*); | |
15 }; |