diff options
author | erorcun <erayorcunus@gmail.com> | 2020-04-17 06:04:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 06:04:58 +0200 |
commit | de18bdc5d96cef011570b1517823a3bad1411fad (patch) | |
tree | d0d282606cc5f3148a927c7e59267bbac321161f /src/render/Coronas.cpp | |
parent | Merge pull request #455 from erorcun/erorcun (diff) | |
parent | Ped fixes and ref removal (diff) | |
download | re3-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/Coronas.cpp')
-rw-r--r-- | src/render/Coronas.cpp | 16 |
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", |