summaryrefslogtreecommitdiffstats
path: root/src/render/Clouds.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-04-17 06:04:58 +0200
committerGitHub <noreply@github.com>2020-04-17 06:04:58 +0200
commitde18bdc5d96cef011570b1517823a3bad1411fad (patch)
treed0d282606cc5f3148a927c7e59267bbac321161f /src/render/Clouds.cpp
parentMerge pull request #455 from erorcun/erorcun (diff)
parentPed fixes and ref removal (diff)
downloadre3-de18bdc5d96cef011570b1517823a3bad1411fad.tar
re3-de18bdc5d96cef011570b1517823a3bad1411fad.tar.gz
re3-de18bdc5d96cef011570b1517823a3bad1411fad.tar.bz2
re3-de18bdc5d96cef011570b1517823a3bad1411fad.tar.lz
re3-de18bdc5d96cef011570b1517823a3bad1411fad.tar.xz
re3-de18bdc5d96cef011570b1517823a3bad1411fad.tar.zst
re3-de18bdc5d96cef011570b1517823a3bad1411fad.zip
Diffstat (limited to 'src/render/Clouds.cpp')
-rw-r--r--src/render/Clouds.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/render/Clouds.cpp b/src/render/Clouds.cpp
index 7debe3d3..02035896 100644
--- a/src/render/Clouds.cpp
+++ b/src/render/Clouds.cpp
@@ -16,15 +16,15 @@
#define SMALLSTRIPHEIGHT 4.0f
#define HORIZSTRIPHEIGHT 48.0f
-RwTexture **gpCloudTex = (RwTexture**)0x9411C0; //[5];
+RwTexture *gpCloudTex[5];
-float &CClouds::CloudRotation = *(float*)0x8F5F40;
-uint32 &CClouds::IndividualRotation = *(uint32*)0x943078;
+float CClouds::CloudRotation;
+uint32 CClouds::IndividualRotation;
-float &CClouds::ms_cameraRoll = *(float*)0x8F29CC;
-float &CClouds::ms_horizonZ = *(float*)0x8F31C0;
-CRGBA &CClouds::ms_colourTop = *(CRGBA*)0x94143C;
-CRGBA &CClouds::ms_colourBottom = *(CRGBA*)0x8F2C38;
+float CClouds::ms_cameraRoll;
+float CClouds::ms_horizonZ;
+CRGBA CClouds::ms_colourTop;
+CRGBA CClouds::ms_colourBottom;
void
CClouds::Init(void)