2024-07-14 15:33:00 +00:00
|
|
|
#pragma once
|
|
|
|
|
2024-08-17 09:52:09 +00:00
|
|
|
#include "Common.hexpat"
|
|
|
|
|
2024-07-14 15:33:00 +00:00
|
|
|
enum Precipitation : u32 {
|
|
|
|
Snow = 0x0,
|
|
|
|
Rain = 0x1,
|
|
|
|
};
|
|
|
|
|
|
|
|
struct WeatherVar {
|
|
|
|
Precipitation precipitation;
|
|
|
|
float frequency;
|
|
|
|
float fall_speed;
|
|
|
|
float visible_distance;
|
|
|
|
float render_radius;
|
|
|
|
float alpha;
|
|
|
|
float brightness;
|
|
|
|
float snow_jitter;
|
|
|
|
float rain_length;
|
|
|
|
float splash_requency;
|
|
|
|
float splash_radius;
|
|
|
|
float splash_height;
|
|
|
|
float splash_duration;
|
|
|
|
char texture[32];
|
|
|
|
Vec3<float> wind;
|
|
|
|
};
|