add rain noise & add rain splashes (WIP)

This commit is contained in:
MihailRis
2025-02-26 02:24:16 +03:00
parent 8dfc948fe3
commit 7635fdf807
18 changed files with 118 additions and 16 deletions
+10 -2
View File
@@ -18,6 +18,7 @@ class Block;
class Engine;
class LevelController;
class WorldRenderer;
struct WeatherPreset;
class Decorator {
Engine& engine;
@@ -31,7 +32,14 @@ class Decorator {
NotePreset playerNamePreset {};
void update(
float delta, const glm::ivec3& areaStart, const glm::ivec3& areaCenter
float delta,
const glm::ivec3& areaStart,
const glm::ivec3& areaCenter
);
void updateRandom(
float delta,
const glm::ivec3& areaCenter,
const WeatherPreset& weather
);
void addParticles(const Block& def, const glm::ivec3& pos);
public:
@@ -43,5 +51,5 @@ public:
Player& player
);
void update(float delta, const Camera& camera);
void update(float delta, const Camera& camera, const WeatherPreset& weather);
};