Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/heightMap/src/world_entities/terrain.h @ 4225

Last change on this file since 4225 was 4090, checked in by nico, 20 years ago

branches/heightMap: some makefile and include stuff fixed

File size: 805 bytes
Line 
1/*!
2    \file terrain.h
3    \brief Defines and handles the terrain of the World
4
5    \todo implement it
6
7    The terrain should either be build from a Model a OBJModel or from a HeightMap.
8*/
9
10#ifndef _TERRAIN_H
11#define _TERRAIN_H
12
13#include "world_entity.h"
14
15// FORWARD DEFINITION \\
16
17//! A simple method to call a desired debug world.
18enum DebugTerrain {TERRAIN_DAVE, TERRAIN_BENSCH};
19
20
21//! A Class to handle Terrain of orxonox
22class Terrain : public WorldEntity
23{
24
25 public:
26  Terrain();
27  Terrain(char* fileName);
28  Terrain(char* fileName, int displaylistResolution, int vertexResolution);
29  Terrain(DebugTerrain debugTerrain);
30  virtual ~Terrain();
31  void init();
32 
33  void buildDebugTerrain(DebugTerrain debugTerrain);
34  virtual void draw();
35
36 private:
37  int objectList;
38};
39
40#endif /* _TERRAIN_H */
Note: See TracBrowser for help on using the repository browser.