mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 17:07:41 +00:00
Tons of DrawWorld-related implementations
This commit is contained in:
@@ -474,6 +474,14 @@ void CGameArea::SetThermalSpeedAndTarget(float speed, float target)
|
||||
x12c_postConstructed->x1124_thermalTarget = target;
|
||||
}
|
||||
|
||||
float CGameArea::GetXRayFogDistance() const
|
||||
{
|
||||
const CScriptAreaAttributes* attrs = x12c_postConstructed->x10d8_areaAttributes;
|
||||
if (attrs)
|
||||
return attrs->GetXRayFogDistance();
|
||||
return 1.f;
|
||||
}
|
||||
|
||||
bool CGameArea::DoesAreaNeedEnvFx() const
|
||||
{
|
||||
return false;
|
||||
@@ -1030,6 +1038,16 @@ CGameArea::MREAHeader CGameArea::VerifyHeader() const
|
||||
return header;
|
||||
}
|
||||
|
||||
TUniqueId CGameArea::LookupPVSUniqueID(TUniqueId id) const
|
||||
{
|
||||
return x12c_postConstructed->xa8_pvsEntityMap[id & 0x3ff].x4_uid;
|
||||
}
|
||||
|
||||
s16 CGameArea::LookupPVSID(TUniqueId id) const
|
||||
{
|
||||
return x12c_postConstructed->xa8_pvsEntityMap[id & 0x3ff].x0_id;
|
||||
}
|
||||
|
||||
void CGameArea::SetAreaAttributes(const CScriptAreaAttributes* areaAttributes)
|
||||
{
|
||||
x12c_postConstructed->x10d8_areaAttributes = areaAttributes;
|
||||
|
||||
Reference in New Issue
Block a user