Initial revision
[0ad:0ad.git] / terrain / bak / 0 / Renderer.h
1 #ifndef RENDERER_H
2 #define RENDERER_H
3
4 #include <windows.h>
5 #include "ogl.h"
6
7 #include "Terrain.H"
8
9 extern bool g_WireFrame;
10 extern unsigned int g_FrameCounter;
11
12 class CRenderer
13 {
14         public:
15                 CRenderer();
16                 ~CRenderer();
17
18                 bool Initialize (HWND hwnd, int width, int height, int depth);
19                 void Shutdown ();
20
21                 void RenderTerrain (CTerrain *terrain, CCamera *camera);
22                 void RenderTileOutline (CMiniPatch *mpatch);
23
24         protected:
25                 void RenderPatchBase (CPatch *patch);
26                 void RenderPatchTrans (CPatch *patch);
27
28         protected:
29                 int                                     m_Width;
30                 int                                     m_Height;
31                 int                                     m_Depth;
32
33 ///THERE ARE NOT SUPPOSED TO BE HERE
34                 float                           m_Timer;
35                 int                                     m_CurrentSeason;
36
37 };
38
39
40 #endif