aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/GameRenderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/GameRenderer.h')
-rw-r--r--Minecraft.Client/GameRenderer.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Minecraft.Client/GameRenderer.h b/Minecraft.Client/GameRenderer.h
index 3729726b..1db7713a 100644
--- a/Minecraft.Client/GameRenderer.h
+++ b/Minecraft.Client/GameRenderer.h
@@ -11,9 +11,14 @@ class SparseDataStorage;
#include "..\Minecraft.World\SmoothFloat.h"
#include "..\Minecraft.World\C4JThread.h"
+#include "ResourceLocation.h"
class GameRenderer
{
+private:
+ static ResourceLocation RAIN_LOCATION;
+ static ResourceLocation SNOW_LOCATION;
+
public:
static bool anaglyph3d;
static int anaglyphPass;
@@ -64,6 +69,9 @@ private:
float oFov[4];
float tFov[4];
+ float darkenWorldAmount;
+ float darkenWorldAmountO;
+
bool isInClouds;
float m_fov;
@@ -116,6 +124,7 @@ public:
private:
Random *random;
int rainSoundTime;
+ void prepareAndRenderClouds(LevelRenderer *levelRenderer, float a);
void tickRain();
private:
// 4J - brought forward from 1.8.2