Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/world_entities/terrain.h @ 5013

Last change on this file since 5013 was 4919, checked in by patrick, 19 years ago

orxonox/trunk: CDEngine knows player and gets the array offsets

File size: 887 bytes
RevLine 
[4597]1/*!
[3559]2    \file terrain.h
[4836]3  *  Defines and handles the terrain of the World
[3329]4
[4836]5    @todo implement it
[3559]6
7    The terrain should either be build from a Model a OBJModel or from a HeightMap.
[3245]8*/
[1853]9
[3559]10#ifndef _TERRAIN_H
11#define _TERRAIN_H
[1853]12
[3559]13#include "world_entity.h"
[1853]14
[3543]15// FORWARD DEFINITION \\
[4607]16class TiXmlElement;
[4889]17class SpatialSeparation;
[3543]18
[3564]19//! A simple method to call a desired debug world.
20enum DebugTerrain {TERRAIN_DAVE, TERRAIN_BENSCH};
21
22
[3559]23//! A Class to handle Terrain of orxonox
[4597]24class Terrain : public WorldEntity
[3559]25{
[3543]26
[1904]27 public:
[4607]28  Terrain(const TiXmlElement* root = NULL);
[4597]29  Terrain(const char* fileName);
[3564]30  Terrain(DebugTerrain debugTerrain);
[4746]31  virtual ~Terrain();
[4597]32
[4746]33  void init();
[4607]34  void loadParams(const TiXmlElement* root);
35
[3564]36  void buildDebugTerrain(DebugTerrain debugTerrain);
[3559]37  virtual void draw();
[3245]38
[4919]39  public:
40    SpatialSeparation* ssp;
41
[3245]42 private:
[3559]43  int objectList;
[4919]44
[1853]45};
46
[3559]47#endif /* _TERRAIN_H */
Note: See TracBrowser for help on using the repository browser.