0ad/source/terrain/Renderer.h

39 lines
643 B
C
Raw Normal View History

#ifndef RENDERER_H
#define RENDERER_H
#include "ogl.h"
#include "Terrain.h"
extern bool g_WireFrame;
extern unsigned int g_FrameCounter;
class CRenderer
{
public:
CRenderer();
~CRenderer();
2003-11-06 21:10:52 +01:00
bool Initialize (int width, int height, int depth);
void Shutdown ();
void RenderTerrain (CTerrain *terrain, CCamera *camera);
void RenderTileOutline (CMiniPatch *mpatch);
protected:
void RenderPatchBase (CPatch *patch);
void RenderPatchTrans (CPatch *patch);
protected:
int m_Width;
int m_Height;
int m_Depth;
///THERE ARE NOT SUPPOSED TO BE HERE
float m_Timer;
int m_CurrentSeason;
};
#endif