Mercurial > hg > Game > Cerium
view TaskManager/Test/test_render/task/TileHash.h @ 357:6602b9ba4bfd draft
fix spe/DrawSpan.{cpp, h} spe/DrawSpanRenew.cpp
author | root@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 17 Jul 2009 17:13:17 +0900 |
parents | 9738837c225c |
children | 205e4a4af635 |
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