mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-19 09:57:28 +00:00
5f4a43eea9
This was SVN commit r99.
37 lines
541 B
C++
Executable File
37 lines
541 B
C++
Executable File
#ifndef MINIPATCH_H
|
|
#define MINIPATCH_H
|
|
|
|
#include "res.h"
|
|
#include "Color.h"
|
|
#include "Vector3D.h"
|
|
|
|
struct STerrainVertex
|
|
{
|
|
CVector3D m_Position;
|
|
CVector3D m_Normal;
|
|
RGBColor m_Color;
|
|
};
|
|
|
|
|
|
class CMiniPatch
|
|
{
|
|
public:
|
|
CMiniPatch();
|
|
~CMiniPatch();
|
|
|
|
void Initialize (STerrainVertex *first_vertex);
|
|
|
|
Handle Tex1, Tex2;
|
|
Handle m_AlphaMap;
|
|
CMiniPatch *m_pRightNeighbor;
|
|
CPatch *m_pParrent;
|
|
unsigned char m_RenderStage;
|
|
unsigned int m_LastRenderedFrame;
|
|
|
|
unsigned char m_Rotation;
|
|
|
|
STerrainVertex *m_pVertices;
|
|
};
|
|
|
|
|
|
#endif |