1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
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.
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/>.
22 #include "game_share/cdb.h"
23 #include "game_share/cdb_leaf.h"
24 #include "game_share/cdb_branch.h"
25 #include "game_share/cdb_synchronised.h"
27 #include "game_share/weather_cfg.h"
29 #include "game_share/property_base_type.h"
30 #include "game_share/property_container.h"
31 #include "game_share/container_property_receiver.h"
48 static void updateRyzomTime();
51 static float getRyzomTime() { return _RyzomTime
.getValue(); }
54 static uint8
getDayCycle() { return _DayCycle
.getValue(); }
56 // get string of day cycle
57 static const std::string
& toString( uint8
);
60 static CPropertyBaseType
< float > _RyzomTime
;
61 static CPropertyBaseType
< uint8
> _DayCycle
;
63 #endif // RY_WEATHER_H
65 /* End of file weather.h */