mirror of https://github.com/AxioDL/metaforce.git
CGameArea::CAreaObjectList fix
This commit is contained in:
parent
76e0a1f8f5
commit
17f25457c5
|
@ -1183,7 +1183,7 @@ void CGameArea::SetAreaAttributes(const CScriptAreaAttributes* areaAttributes) {
|
||||||
x12c_postConstructed->x1128_worldLightingLevel = areaAttributes->GetWorldLightingLevel();
|
x12c_postConstructed->x1128_worldLightingLevel = areaAttributes->GetWorldLightingLevel();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CGameArea::CAreaObjectList::IsQualified(const CEntity& ent) { return (ent.GetAreaIdAlways() == x200c_areaIdx); }
|
bool CGameArea::CAreaObjectList::IsQualified(const CEntity& ent) const { return (ent.GetAreaIdAlways() == x200c_areaIdx); }
|
||||||
void CGameArea::WarmupShaders(const SObjectTag& mreaTag) {
|
void CGameArea::WarmupShaders(const SObjectTag& mreaTag) {
|
||||||
// Calling this version of the constructor performs warmup implicitly
|
// Calling this version of the constructor performs warmup implicitly
|
||||||
CGameArea area(mreaTag.id);
|
CGameArea area(mreaTag.id);
|
||||||
|
|
|
@ -167,7 +167,7 @@ public:
|
||||||
public:
|
public:
|
||||||
CAreaObjectList(TAreaId areaIdx) : CObjectList(EGameObjectList::Invalid), x200c_areaIdx(areaIdx) {}
|
CAreaObjectList(TAreaId areaIdx) : CObjectList(EGameObjectList::Invalid), x200c_areaIdx(areaIdx) {}
|
||||||
|
|
||||||
bool IsQualified(const CEntity& ent) override;
|
bool IsQualified(const CEntity& ent) const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class EOcclusionState { Occluded, Visible };
|
enum class EOcclusionState { Occluded, Visible };
|
||||||
|
|
Loading…
Reference in New Issue