Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/levelloader/src/world_entities/terrain.h @ 3770

Last change on this file since 3770 was 3605, checked in by bensch, 20 years ago

orxonox/trunk: merged trunk back to levelloader
merged with command:
svn merge -r 3499:HEAD trunk branches/levelloader

Conflicts in
C track_manager.h
C world_entities/player.cc
C world_entities/player.h
C world_entities/environment.h
C lib/coord/p_node.cc
C defs/debug.h
C track_manager.cc
C story_entities/campaign.h

solved in merge-favouring. It was quite easy because Chris only worked on the headers, and he didi it quite clean. Thats the spirit :)

Conflits in world.cc are a MESS: fix it

File size: 729 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(DebugTerrain debugTerrain);
29  virtual ~Terrain();
30  void init();
31 
32  void buildDebugTerrain(DebugTerrain debugTerrain);
33  virtual void draw();
34
35 private:
36  int objectList;
37};
38
39#endif /* _TERRAIN_H */
Note: See TracBrowser for help on using the repository browser.