Linux multi-monitor fullscreen support
[ryzomcore.git] / ryzom / tools / leveldesign / export / formFlora.h
blob2cdf01f0008e56f43289f01321f379dba0055ad3
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #ifndef LD_FORMFLORA_H
18 #define LD_FORMFLORA_H
20 // ---------------------------------------------------------------------------
22 #include "nel/misc/types_nl.h"
24 #include <vector>
25 #include <string>
27 namespace NLGEORGES
29 class UFormElm;
32 // ---------------------------------------------------------------------------
33 struct SPlantInstance
35 std::string Name;
36 float Density;
37 float Falloff;
40 // ---------------------------------------------------------------------------
41 struct SFormFlora
43 std::vector<std::string> IncludePatats;
44 std::vector<std::string> ExcludePatats;
45 std::vector<SPlantInstance> PlantInstances;
46 float JitterPos;
47 float ScaleMin;
48 float ScaleMax;
49 bool PutOnWater;
50 float WaterHeight;
51 uint32 RandomSeed;
53 void build (NLGEORGES::UFormElm &item);
56 #endif // LD_FORMFLORA_H