1
0
forked from 0ad/0ad
0ad/source/terrain/TextureEntry.h
MarkT 6d5afc10ff Added PASAP entity systems
This was SVN commit r246.
2004-05-21 23:46:16 +00:00

25 lines
488 B
C++
Executable File

#ifndef _TEXTUREENTRY_H
#define _TEXTUREENTRY_H
#include "res/res.h"
#include "CStr.h"
class CTextureEntry
{
public:
CTextureEntry() : m_Bitmap(0), m_Handle(0), m_BaseColor(0), m_Type(0) {}
// filename
CStr m_Name;
// UI bitmap object
void* m_Bitmap;
// handle to GL texture data
Handle m_Handle;
// BGRA color of topmost mipmap level, for coloring minimap
unsigned int m_BaseColor;
// "type" of texture - index into TextureManager texturetypes array
int m_Type;
};
#endif