virtual void Draw( class RenderOTW *renderer, int LOD );
protected:
int
previousLOD;
#ifdef USE_SH_POOLS
public:
// Overload new/delete to
use a SmartHeap fixed size pool
void *operator new(size_t
size) { ShiAssert( size == sizeof(DrawableBuilding) ); return MemAllocFS(pool);
};
void operator delete(void
*mem) { if (mem) MemFreeFS(mem); };
static void InitializeStorage()
{ pool = MemPoolInitFS( sizeof(DrawableBuilding), 50, 0 ); };
static void ReleaseStorage()
{ MemPoolFree( pool ); };
static MEM_POOL pool;
#endif