river.h

00001 /*--License:
00002         Lilith 3D Engine
00003         Copyright Lee Thomason (Grinning Lizard Software) 2002-2004
00004         www.grinninglizard.com/lilith
00005 
00006         This program is free software; you can redistribute it and/or
00007         modify it under the terms of the GNU General Public License
00008         as published by the Free Software Foundation; either version 2
00009         of the License, or (at your option) any later version.
00010 
00011         This program is distributed in the hope that it will be useful,
00012         but WITHOUT ANY WARRANTY; without even the implied warranty of
00013         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014         GNU General Public License for more details.
00015 
00016         You should have received a copy of the GNU General Public License
00017         along with this program; if not, write to the Free Software
00018         Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00019 
00020         The full text of the license can be found in license.txt
00021 */
00022 
00023 #ifndef LILITH3D_RIVER_INCLUDED
00024 #define LILITH3D_RIVER_INCLUDED
00025 
00026 #include "terrainmorph.h"
00027 #include "terrainmesh.h"
00028 
00029 #ifdef _MSC_VER
00030 #pragma warning( disable : 4786 )       // Debugger truncating names.
00031 #endif
00032 #include <vector>
00033 
00034 class L3RiverMorph;
00035 
00036 
00037 /* The general strategy of a river morph is to shape the terrain the way a river would.
00038         Once the land is shaped to that of a river, the path is handed off to the
00039         TerrainMesh, which actually manages and renders the river.
00040 */ 
00041 //class L3RiverMorph : public TerrainMorph
00042 //{
00043 //  public:
00044 //      /** The rivermorph constructor will always start on an ever
00045 //              vertex. x and y will be adjusted if necessary.
00046 //      */
00047 //      L3RiverMorph( Lilith3D* lilith,
00048 //                              int x, int y );
00049 //      ~L3RiverMorph();
00050 //
00051 //      virtual bool DoMorph( TerrainMesh* mesh, TimeClock* timeClock );
00052 //
00053 //      static bool ValidateRiver( TerrainMesh* tmesh, std::vector< int >* path );
00054 //
00055 //  private:
00056 //
00057 //      std::vector< int >* path;
00058 //};
00059 
00060 #endif
00061 

Generated on Fri Mar 23 19:36:22 2007 for Lilith3D by  doxygen 1.5.1-p1