17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-07 06:28:08 +01:00

Draw volumetric clouds, their shadows, a volumetric fog and catalogue stars from a new weather system in the GL 4.6 renderer

This commit is contained in:
2026-10-16 21:44:47 +02:00
parent d509775269
commit 2be85410ce
47 changed files with 5092 additions and 74 deletions

22
widgets/weatherpanel.h Normal file
View File

@@ -0,0 +1,22 @@
/*
This Source Code Form is subject to the
terms of the Mozilla Public License, v.
2.0. If a copy of the MPL was not
distributed with this file, You can
obtain one at
http://mozilla.org/MPL/2.0/.
*/
#pragma once
class world_weather;
namespace ui
{
// controls of the weather of the simulation (environment/weather.h): a report or weather entries to apply, the layers of clouds,
// the fog, the precipitation and the wind at the clouds. what is changed applies to this computer at once, without being sent
// over the network. returns true when the weather was changed
bool weather_controls(world_weather &Weather);
} // namespace ui