Mercurial > hg > Game > Cerium
view TaskManager/Test/test_render/spe/TileHash.h @ 243:c4918a1fb6c9 draft
rm warning
author | e065746@localhost.localdomain |
---|---|
date | Sun, 31 May 2009 16:26:20 +0900 |
parents | 1e62bd02f820 |
children | 9738837c225c |
line wrap: on
line source
#ifndef INCLUDED_TEXTURE_HASH #define INCLUDED_TEXTURE_HASH #ifndef INCLUDED_TAPESTRY # include "Tapestry.h" #endif class TileHash { public: TileHash(void); private: TilePtr *table; int hashSize; int tableSize; public: void clear(void); int hash(uint32 data); int put(uint32 *addr, TilePtr tile); TilePtr get(uint32 *addr); void remove(uint32 *addr); }; typedef TileHash* TileHashPtr; #endif const int GLOBAL_TEXTURE_HASH = 0; const int GLOBAL_TILE_LIST = 1;