_Z28OS_ServiceIsNetworkAvailablev
OS_ServiceIsNetworkAvailable()
Checks if the OS's network service is available.
if (OS_ServiceIsNetworkAvailable()) connect();
_ZN5CGame35GenerateTempPedAtStartOfNetworkGameEv
CGame::GenerateTempPedAtStartOfNetworkGame()
Spawns a temp pedestrian at multiplayer start.
game.GenerateTempPedAtStartOfNetworkGame();
_Z15KeyboardHandler7RsEventPv
KeyboardHandler::RsEvent(void*)
Handles raw keyboard event input from RenderWare system.
KeyboardHandler::RsEvent(eventData);
_ZN4CHud14SetHelpMessageEPtbbb
CHud::SetHelpMessage(unsigned short* message, bool blink, bool stayOnScreen, bool forceDisplay)
Sets an on-screen help message in the HUD.
CHud::SetHelpMessage(L"Press X to jump", true, false, true);
_ZN4CHud13SetBigMessageEPtt
CHud::SetBigMessage(unsigned short* message, unsigned short style)
Displays a large message on screen with a specific style.
CHud::SetBigMessage(L"MISSION PASSED!", 1);
_ZN9CMessages14AddMessageSoonEPtjt
CMessages::AddMessageSoon(unsigned short* text, unsigned int time, unsigned short style)
Adds a HUD message that appears shortly after being queued.
CMessages::AddMessageSoon(L"Objective updated", 5000, 1);
_ZN5CGame7ProcessEv
CGame::Process()
Main game loop processing function.
CGame_Process();
_Z35RpMatFXMaterialSetEnvMapCoefficientP10RpMaterialf
RpMatFXMaterialSetEnvMapCoefficient(RpMaterial* material, float coefficient)
Sets the environment map reflection intensity on a material.
RpMatFXMaterialSetEnvMapCoefficient(mat, 0.8f);
_Z13emu_SetEnvMapPvf
emu_SetEnvMapPvf(void* ptr, float value)
Likely a custom function to set environmental mapping properties.
emu_SetEnvMapPvf(data, 1.0f);
_ZN6CClock6UpdateEv
CClock::Update()
Updates the in-game clock (hours, minutes, seconds).
CClock::Update();
_ZN6CStats10DaysPassedE
CStats::DaysPassed
Tracks how many in-game days have passed.
int days = CStats::DaysPassed;
_ZN6CClock18ms_nGameClockHoursE
CClock::ms_nGameClockHours
Current in-game hour (0–23).
int hour = CClock::ms_nGameClockHours;
_ZN6CClock20ms_nGameClockMinutesE
CClock::ms_nGameClockMinutes
Current in-game minute (0–59).
int minute = CClock::ms_nGameClockMinutes;
_ZN6CClock20ms_nGameClockSecondsE
CClock::ms_nGameClockSeconds
Current in-game second (0–59).
int second = CClock::ms_nGameClockSeconds;
_ZN5CGame25CanSeeOutSideFromCurrAreaEv
CGame::CanSeeOutSideFromCurrArea
Check visibility from current area.
bool visible = CGame::CanSeeOutSideFromCurrArea();
_Z16RwRenderStateSet13RwRenderStatePv
RwRenderStateSet
Set a specific render state.
RwRenderStateSet(state, value);
_ZN7CSprite16InitSpriteBufferEv
CSprite::InitSpriteBuffer
Initialize the sprite buffer.
CSprite::InitSpriteBuffer();
_ZN7CSprite17FlushSpriteBufferEv
CSprite::FlushSpriteBuffer
Flush the sprite buffer.
CSprite::FlushSpriteBuffer();
_ZN7CSprite15CalcScreenCoorsERK5RwV3dPS0_PfS4_b
CSprite::CalcScreenCoors
Project 3D coordinates to screen space.
CSprite::CalcScreenCoors(input, &output);
_ZN7CSprite26RenderBufferedOneXLUSpriteEfffffhhhsfh
CSprite::RenderBufferedOneXLUSprite
Render one translucent sprite (buffered).
CSprite::RenderBufferedOneXLUSprite(...);
_ZN7CSprite43RenderBufferedOneXLUSprite_Rotate_DimensionEfffffhhhsffh
CSprite::RenderBufferedOneXLUSprite_Rotate_Dimension
Render buffered XLU sprite with rotation and dimension.
CSprite::RenderBufferedOneXLUSprite_Rotate_Dimension(...);
_ZN7CSprite40RenderBufferedOneXLUSprite_Rotate_AspectEfffffhhhsffh
CSprite::RenderBufferedOneXLUSprite_Rotate_Aspect
Render buffered XLU sprite with rotation and aspect ratio.
CSprite::RenderBufferedOneXLUSprite_Rotate_Aspect(...);
_ZN7CSprite42RenderBufferedOneXLUSprite_Rotate_2ColoursEfffffhhhhhhffffh
CSprite::RenderBufferedOneXLUSprite_Rotate_2Colours
Render buffered XLU sprite with two color gradients and rotation.
CSprite::RenderBufferedOneXLUSprite_Rotate_2Colours(...);
_ZN8CGeneral11GetATanOfXYEff
CGeneral::GetATanOfXY
Get arctangent of Y/X (returns angle in radians).
float angle = CGeneral::GetATanOfXY(y, x);
_ZN8CCoronas18SunBlockedByCloudsE
CCoronas::SunBlockedByClouds
Boolean indicating whether the sun is currently blocked by clouds.
bool blocked = CCoronas::SunBlockedByClouds;
_ZN8CWeather9FoggynessE
CWeather::Foggyness
Current fog intensity in the weather system.
float fog = CWeather::Foggyness;
_ZN8CWeather13CloudCoverageE
CWeather::CloudCoverage
Percentage of cloud coverage in the sky.
float coverage = CWeather::CloudCoverage;
_ZN5CDraw15ms_fAspectRatioE
CDraw::ms_fAspectRatio
The aspect ratio used for rendering.
float aspect = CDraw::ms_fAspectRatio;
_ZN8CWeather14ExtraSunnynessE
CWeather::ExtraSunnyness
Extra brightness applied to sunny weather.
float extra = CWeather::ExtraSunnyness;
_ZN7CClouds13ms_cameraRollE
CClouds::ms_cameraRoll
Current camera roll angle affecting cloud rendering.
float roll = CClouds::ms_cameraRoll;
_ZN7CClouds13CloudRotationE
CClouds::CloudRotation
Rotation value used to animate clouds.
float rotation = CClouds::CloudRotation;
_ZN8CWeather7RainbowE
CWeather::Rainbow
Indicates if a rainbow is visible in current weather.
bool visible = CWeather::Rainbow;
_ZN8CCoronas10SunScreenXE
CCoronas::SunScreenX
X screen coordinate of the sun.
float x = CCoronas::SunScreenX;
_ZN8CCoronas10SunScreenYE
CCoronas::SunScreenY
Y screen coordinate of the sun.
float y = CCoronas::SunScreenY;
_ZN8CWeather18InterpolationValueE
CWeather::InterpolationValue
Value used for interpolating weather transitions.
float interp = CWeather::InterpolationValue;
gpCoronaTexture
gpCoronaTexture
Pointer to the corona texture used for sun effects.
RwTexture* tex = gpCoronaTexture;
gpCloudTex
gpCloudTex
Pointer to the texture used for clouds.
RwTexture* tex = gpCloudTex;
_ZN6CClock18ms_nGameClockHoursE
CClock::ms_nGameClockHours
Current in-game hour (0–23).
int hour = CClock::ms_nGameClockHours;
_ZN6CClock20ms_nGameClockMinutesE
CClock::ms_nGameClockMinutes
Current in-game minute (0–59).
int minute = CClock::ms_nGameClockMinutes;
_ZN6CClock20ms_nGameClockSecondsE
CClock::ms_nGameClockSeconds
Current in-game second (0–59).
int second = CClock::ms_nGameClockSeconds;
_ZN10CTimeCycle22m_nCurrentLowCloudsRedE
CTimeCycle::m_nCurrentLowCloudsRed
Red color intensity of the low clouds.
int r = CTimeCycle::m_nCurrentLowCloudsRed;
_ZN10CTimeCycle24m_nCurrentLowCloudsGreenE
CTimeCycle::m_nCurrentLowCloudsGreen
Green color intensity of the low clouds.
int g = CTimeCycle::m_nCurrentLowCloudsGreen;
_ZN10CTimeCycle23m_nCurrentLowCloudsBlueE
CTimeCycle::m_nCurrentLowCloudsBlue
Blue color intensity of the low clouds.
int b = CTimeCycle::m_nCurrentLowCloudsBlue;
_ZN10CTimeCycle28m_nCurrentFluffyCloudsTopRedE
CTimeCycle::m_nCurrentFluffyCloudsTopRed
Red color intensity of the top part of fluffy clouds.
int r = CTimeCycle::m_nCurrentFluffyCloudsTopRed;
_ZN10CTimeCycle30m_nCurrentFluffyCloudsTopGreenE
CTimeCycle::m_nCurrentFluffyCloudsTopGreen
Green color intensity of the top part of fluffy clouds.
int g = CTimeCycle::m_nCurrentFluffyCloudsTopGreen;
_ZN10CTimeCycle29m_nCurrentFluffyCloudsTopBlueE
CTimeCycle::m_nCurrentFluffyCloudsTopBlue
Blue color intensity of the top part of fluffy clouds.
int b = CTimeCycle::m_nCurrentFluffyCloudsTopBlue;
_ZN10CTimeCycle31m_nCurrentFluffyCloudsBottomRedE
CTimeCycle::m_nCurrentFluffyCloudsBottomRed
Red color intensity of the bottom part of fluffy clouds.
int r = CTimeCycle::m_nCurrentFluffyCloudsBottomRed;
_ZN10CTimeCycle33m_nCurrentFluffyCloudsBottomGreenE
CTimeCycle::m_nCurrentFluffyCloudsBottomGreen
Green color intensity of the bottom part of fluffy clouds.
int g = CTimeCycle::m_nCurrentFluffyCloudsBottomGreen;
_ZN10CTimeCycle32m_nCurrentFluffyCloudsBottomBlueE
CTimeCycle::m_nCurrentFluffyCloudsBottomBlue
Blue color intensity of the bottom part of fluffy clouds.
int b = CTimeCycle::m_nCurrentFluffyCloudsBottomBlue;
_ZN10CTimeCycle20m_CurrentStoredValueE
CTimeCycle::m_CurrentStoredValue
Stored value related to time cycle weather interpolation.
float stored = CTimeCycle::m_CurrentStoredValue;
_ZN7CClouds18IndividualRotationE
CClouds::IndividualRotation
Rotation value applied to individual cloud elements.
float rotation = CClouds::IndividualRotation;
_ZN8CCoronas8MoonSizeE
CCoronas::MoonSize
Current size of the moon in the sky.
float size = CCoronas::MoonSize;
_ZN8CWeather14NewWeatherTypeE
CWeather::NewWeatherType
The weather type to transition to.
int newType = CWeather::NewWeatherType;
_ZN8CWeather14OldWeatherTypeE
CWeather::OldWeatherType
The previous weather type before transition.
int oldType = CWeather::OldWeatherType;
RsGlobal
RsGlobal
Global Render State structure pointer.
RsGlobalType* rs = RsGlobal;
TheCamera
TheCamera
Pointer to the current camera instance.
CCamera* cam = TheCamera;
_ZN10CTimeCycle13m_VectorToSunE
CTimeCycle::m_VectorToSun
Vector pointing to the sun’s position.
RwV3d vector = CTimeCycle::m_VectorToSun;
_ZN7CEntity13SetupLightingEv
CEntity::SetupLighting
Sets up lighting for an entity.
entity->SetupLighting();
_ZN7CObject13SetupLightingEv
CObject::SetupLighting
Sets up lighting for an object.
object->SetupLighting();
_ZN7CEntity14RemoveLightingEb
CEntity::RemoveLighting(bool)
Removes lighting from an entity.
entity->RemoveLighting(true);
_ZN7CObject14RemoveLightingEb
CObject::RemoveLighting(bool)
Removes lighting from an object.
object->RemoveLighting(false);
_Z19ActivateDirectionalv
ActivateDirectional
Activates directional lighting.
ActivateDirectional();
_Z38SetAmbientColoursForPedsCarsAndObjectsv
SetAmbientColoursForPedsCarsAndObjects
Sets ambient colours for pedestrians, cars, and objects.
SetAmbientColoursForPedsCarsAndObjects();
_Z36WorldReplaceNormalLightsWithScorchedP7RpWorldf
WorldReplaceNormalLightsWithScorched(RpWorld*, float)
Replaces normal world lights with scorched lighting effects.
WorldReplaceNormalLightsWithScorched(world, intensity);
_Z17SetAmbientColoursv
SetAmbientColours
Sets ambient colours globally.
SetAmbientColours();
_Z21DeActivateDirectionalv
DeActivateDirectional
Deactivates directional lighting.
DeActivateDirectional();
_ZN5CDraw20CalculateAspectRatioEv
CDraw::CalculateAspectRatio
Calculates the current screen aspect ratio.
float ratio = CDraw::CalculateAspectRatio();
_ZN7CCamera7ProcessEv
CCamera::Process
Processes camera updates each frame.
camera->Process();
_ZN5CFont8SetScaleEff
CFont_SetScale
Set Font Scale.
CFont_SetScale(0.6f, 1.0f);
_ZN5CFont12SetFontStyleEs
CFont_SetFontStyle
Set Font Style.
CFont_SetFontStyle(1);
_ZN5CFont11PrintStringEffPt
CFont_PrintString
Set Font PrintString.
char16_t msg[] = u"MEGAMIND";
CFont_PrintString(300.0f, 40.0f, reinterpret_cast(msg));
_ZN5CFont8SetColorE5CRGBA
CFont_SetColor
Set Font SetColor.
CRGBA red(255, 0, 0, 255); CFont_SetColor(&red);
_ZN5CFont12SetJustifyOnEv
CFont_SetJustifyOn
Set Font Justify On.
CFont_SetJustifyOn();
More Functions soon