Changeset 9869 in orxonox.OLD for trunk/src/world_entities/environments/water.h
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/environments/water.h
r7954 r9869 13 13 #include "world_entity.h" 14 14 #include "material.h" 15 15 #include "shader.h" 16 16 17 17 /* FORWARD DECLARATION */ 18 18 class Grid; 19 class Shader;20 19 21 20 //! A Class to handle a WaterEffects 22 21 class Water : public WorldEntity 23 22 { 24 public: 23 ObjectListDeclaration(Water); 24 public: 25 25 Water(const TiXmlElement* root = NULL); 26 26 virtual ~Water(); … … 38 38 void draw() const; 39 39 void tick(float dt); 40 40 41 41 virtual void varChangeHandler( std::list<int> & id ); 42 42 … … 51 51 52 52 Material waterMaterial; 53 Shader *waterShader;54 53 Shader waterShader; 54 55 55 float height; //!< The hight of the Water 56 56 int height_handle; //!< Handle to notify about changes of height
Note: See TracChangeset
for help on using the changeset viewer.