mirror of
https://github.com/tribes2/engine.git
synced 2026-01-20 03:34:48 +00:00
24 lines
584 B
C++
24 lines
584 B
C++
//-----------------------------------------------------------------------------
|
|
// V12 Engine
|
|
//
|
|
// Copyright (c) 2001 GarageGames.Com
|
|
// Portions Copyright (c) 2001 by Sierra Online, Inc.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef _TEXTUREPRELOAD_H_
|
|
#define _TEXTUREPRELOAD_H_
|
|
|
|
class PreloadTextures
|
|
{
|
|
enum {MaxHandles = 512};
|
|
TextureHandle mTextures[MaxHandles];
|
|
S32 mNext;
|
|
|
|
public:
|
|
PreloadTextures();
|
|
~PreloadTextures();
|
|
void load(const char * name, bool clamp);
|
|
};
|
|
|
|
#endif
|