2 * Terrain, weather, lights (Horde3D renderer)
4 * Copyright (C) 2009 David Kolossa, Mathias Gottschlag
6 * This file is part of OpenStranded
8 * OpenStranded is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
13 * OpenStranded is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with OpenStranded. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef STRANDED_HORDE3DENVIRONMENT_HH
23 #define STRANDED_HORDE3DENVIRONMENT_HH
25 #include "eal/environment.hh"
29 class Horde3DEnvironment
: public Environment
33 virtual ~Horde3DEnvironment();
42 setHeight (const Vector2
&pos
, double height
);
45 getHeight (const Vector2
&pos
);
48 setHeightData(float *heightdata
);
51 setColor (const Vector2
&pos
, const Color
&color
);
54 getColor (const Vector2
&pos
);
57 setColorMap (unsigned char *colormap
, int size
);
59 setColorMap (std::string path
);
62 setSkyCube(std::string sky
);
65 setFog(const Color
&fogcolor
);