forked from 0ad/0ad
874df3bb1c
This was SVN commit r101.
38 lines
676 B
C++
Executable File
38 lines
676 B
C++
Executable File
//***********************************************************
|
|
//
|
|
// Name: Patch.h
|
|
// Last Update: 23/2/02
|
|
// Author: Poya Manouchehri
|
|
//
|
|
// Description: CPatch is a smaller portion of the terrain.
|
|
// It handles its own rendering
|
|
//
|
|
//***********************************************************
|
|
|
|
#ifndef PATCH_H
|
|
#define PATCH_H
|
|
|
|
#include "Bound.h"
|
|
#include "TerrGlobals.h"
|
|
#include "MiniPatch.h"
|
|
|
|
class CPatch
|
|
{
|
|
public:
|
|
CPatch ();
|
|
~CPatch ();
|
|
|
|
//initialize the patch
|
|
void Initialize (STerrainVertex *first_vertex);
|
|
|
|
// protected:
|
|
CMiniPatch m_MiniPatches[16][16];
|
|
|
|
CBound m_Bounds;
|
|
unsigned int m_LastVisFrame;
|
|
|
|
STerrainVertex *m_pVertices;
|
|
};
|
|
|
|
|
|
#endif |