Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 11, 2006, 5:34:45 PM (18 years ago)
Author:
bensch
Message:

terrain updated, so it can load a new HeightMap from an XML file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • height_map_merge/src/world_entities/terrain.h

    r6341 r6495  
    1515// FORWARD DECLARATION
    1616class SpatialSeparation;
     17class HeightMap;
     18class Material;
    1719
    1820//! A simple method to call a desired debug world.
     
    4042  void loadVegetation(const char* vegetationFile);
    4143
     44  void loadHeightMap(const char* heightMapFile, const char* colorMap = NULL);
     45  void loadTexture(const char* textureName);
     46
    4247  void buildDebugTerrain(DebugTerrain debugTerrain);
    4348  virtual void draw() const;
     
    5055   int                 objectList;
    5156
     57   HeightMap*          heightMap;
     58   Material*           heightMapMaterial;
    5259};
    5360
Note: See TracChangeset for help on using the changeset viewer.