summaryrefslogtreecommitdiffstats
path: root/src/render/Coronas.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-04-17 06:01:54 +0200
committereray orçunus <erayorcunus@gmail.com>2020-04-17 06:01:54 +0200
commit425395ad2547e262c5c6f62b4c3fd95dd79ee679 (patch)
treed0d282606cc5f3148a927c7e59267bbac321161f /src/render/Coronas.cpp
parentMerge pull request #455 from erorcun/erorcun (diff)
downloadre3-425395ad2547e262c5c6f62b4c3fd95dd79ee679.tar
re3-425395ad2547e262c5c6f62b4c3fd95dd79ee679.tar.gz
re3-425395ad2547e262c5c6f62b4c3fd95dd79ee679.tar.bz2
re3-425395ad2547e262c5c6f62b4c3fd95dd79ee679.tar.lz
re3-425395ad2547e262c5c6f62b4c3fd95dd79ee679.tar.xz
re3-425395ad2547e262c5c6f62b4c3fd95dd79ee679.tar.zst
re3-425395ad2547e262c5c6f62b4c3fd95dd79ee679.zip
Diffstat (limited to 'src/render/Coronas.cpp')
-rw-r--r--src/render/Coronas.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/render/Coronas.cpp b/src/render/Coronas.cpp
index 68994b0b..d70f70d6 100644
--- a/src/render/Coronas.cpp
+++ b/src/render/Coronas.cpp
@@ -48,16 +48,16 @@ FlareDef HeadLightsFlareDef[] = {
};
-RwTexture **gpCoronaTexture = (RwTexture**)0x5FAF44; //[9]
+RwTexture *gpCoronaTexture[9] = { nil, nil, nil, nil, nil, nil, nil, nil, nil };
-float &CCoronas::LightsMult = *(float*)0x5FB088; // 1.0
-float &CCoronas::SunScreenX = *(float*)0x8F4358;
-float &CCoronas::SunScreenY = *(float*)0x8F4354;
-bool &CCoronas::bSmallMoon = *(bool*)0x95CD49;
-bool &CCoronas::SunBlockedByClouds = *(bool*)0x95CD73;
-int &CCoronas::bChangeBrightnessImmediately = *(int*)0x8E2C30;
+float CCoronas::LightsMult = 1.0f;
+float CCoronas::SunScreenX;
+float CCoronas::SunScreenY;
+bool CCoronas::bSmallMoon;
+bool CCoronas::SunBlockedByClouds;
+int CCoronas::bChangeBrightnessImmediately;
-CRegisteredCorona *CCoronas::aCoronas = (CRegisteredCorona*)0x72E518;
+CRegisteredCorona CCoronas::aCoronas[NUMCORONAS];
const char aCoronaSpriteNames[][32] = {
"coronastar",