mirror of
https://github.com/halpz/re3.git
synced 2025-06-26 20:46:21 +00:00
Ped fixes and ref removal
This commit is contained in:
@ -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)
|
||||
|
@ -3,13 +3,13 @@
|
||||
class CClouds
|
||||
{
|
||||
public:
|
||||
static float &CloudRotation;
|
||||
static uint32 &IndividualRotation;
|
||||
static float CloudRotation;
|
||||
static uint32 IndividualRotation;
|
||||
|
||||
static float &ms_cameraRoll;
|
||||
static float &ms_horizonZ;
|
||||
static CRGBA &ms_colourTop;
|
||||
static CRGBA &ms_colourBottom;
|
||||
static float ms_cameraRoll;
|
||||
static float ms_horizonZ;
|
||||
static CRGBA ms_colourTop;
|
||||
static CRGBA ms_colourBottom;
|
||||
|
||||
static void Init(void);
|
||||
static void Shutdown(void);
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define CONSOLE_Y_POS (10.0f)
|
||||
#define CONSOLE_LINE_HEIGHT (12.0f)
|
||||
|
||||
CConsole &TheConsole = *(CConsole*)0x8F6498;
|
||||
CConsole TheConsole;
|
||||
|
||||
void
|
||||
CConsole::AddLine(char *s, uint8 r, uint8 g, uint8 b)
|
||||
|
@ -22,4 +22,4 @@ public:
|
||||
void Init() { m_nCurrentLine = 0; m_nLineCount = 0; }
|
||||
};
|
||||
|
||||
extern CConsole &TheConsole;
|
||||
extern CConsole TheConsole;
|
||||
|
@ -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",
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user