mirror of https://github.com/AxioDL/metaforce.git
CPhazonHealingNodule: Add DEFINE_PATTERNED
This commit is contained in:
parent
4d48febca2
commit
80b383b68f
|
@ -17,6 +17,8 @@ private:
|
||||||
// u32 x59c_;
|
// u32 x59c_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
DEFINE_PATTERNED(PhazonHealingNodule);
|
||||||
|
|
||||||
CPhazonHealingNodule(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CTransform& xf,
|
CPhazonHealingNodule(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CTransform& xf,
|
||||||
CModelData&& mData, const CActorParameters& actParams, const CPatternedInfo& pInfo,
|
CModelData&& mData, const CActorParameters& actParams, const CPatternedInfo& pInfo,
|
||||||
CAssetId particleDescId, std::string actorLctr);
|
CAssetId particleDescId, std::string actorLctr);
|
||||||
|
|
|
@ -3668,7 +3668,15 @@ CEntity* ScriptLoader::LoadOmegaPirate(CStateManager& mgr, CInputStream& in, int
|
||||||
}
|
}
|
||||||
|
|
||||||
CEntity* ScriptLoader::LoadPhazonPool(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info) {
|
CEntity* ScriptLoader::LoadPhazonPool(CStateManager& mgr, CInputStream& in, int propCount, const CEntityInfo& info) {
|
||||||
return nullptr;
|
if (!EnsurePropertyCount(propCount, 9, "PhazonHealingNodule")) {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
|
||||||
|
SScaledActorHead actHead = LoadScaledActorHead(in, mgr);
|
||||||
|
auto pair = CPatternedInfo::HasCorrectParameterCount(in);
|
||||||
|
if (!pair.first) {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CEntity* ScriptLoader::LoadPhazonHealingNodule(CStateManager& mgr, CInputStream& in, int propCount,
|
CEntity* ScriptLoader::LoadPhazonHealingNodule(CStateManager& mgr, CInputStream& in, int propCount,
|
||||||
|
|
Loading…
Reference in New Issue