Fix css style order when using external css files
[ryzomcore.git] / ryzom / client / src / client_sheets / sky_sheet.h
bloba995335807dfd41959a0f57ceecf9e62cf220ed0
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 CL_SKY_SHEET_H
18 #define CL_SKY_SHEET_H
20 #include <string>
21 #include <vector>
24 #include "entity_sheet.h"
25 #include "sky_object_sheet.h"
27 class CSkySheet : public CEntitySheet
29 public:
30 std::string InstanceGroupName;
31 std::string AnimationName;
32 double AnimLengthInSeconds;
33 std::vector<CSkyObjectSheet> Objects;
34 // bitmaps that gives the sky lighting depending
35 std::string AmbientSunLightBitmap;
36 std::string DiffuseSunLightBitmap;
37 // fog color
38 std::string FogColorBitmap;
39 // Water env map (computed from sky scene)
40 float WaterEnvMapCameraHeight;
41 uint8 WaterEnvMapAlpha;
42 public:
43 // ctor
44 CSkySheet();
45 // Build from an external script
46 void build(const NLGEORGES::UFormElm &item, const std::string &prefix);
47 /// From CEntitySheet
48 virtual void build(const NLGEORGES::UFormElm &item);
49 /// From CEntitySheet : serialize sheet into binary data file.
50 virtual void serial(NLMISC::IStream &f);
56 #endif