summaryrefslogtreecommitdiffstats
path: root/src/render/Coronas.h
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.h
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 '')
-rw-r--r--src/render/Coronas.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/render/Coronas.h b/src/render/Coronas.h
index 359a34ed..4b49e40e 100644
--- a/src/render/Coronas.h
+++ b/src/render/Coronas.h
@@ -1,6 +1,6 @@
#pragma once
-extern RwTexture **gpCoronaTexture; //[9]
+extern RwTexture *gpCoronaTexture[9];
struct CRegisteredCorona
{
@@ -42,7 +42,7 @@ static_assert(sizeof(CRegisteredCorona) == 0x80, "CRegisteredCorona: error");
class CCoronas
{
- static CRegisteredCorona *aCoronas; //[NUMCORONAS];
+ static CRegisteredCorona aCoronas[NUMCORONAS];
public:
enum {
SUN_CORE = 1,
@@ -77,12 +77,12 @@ public:
STREAK_ON,
};
- static float &LightsMult;
- static float &SunScreenY;
- static float &SunScreenX;
- static bool &bSmallMoon;
- static bool &SunBlockedByClouds;
- static int &bChangeBrightnessImmediately;
+ static float LightsMult;
+ static float SunScreenY;
+ static float SunScreenX;
+ static bool bSmallMoon;
+ static bool SunBlockedByClouds;
+ static int bChangeBrightnessImmediately;
static void Init(void);
static void Shutdown(void);