mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 13:07:42 +00:00
Tons of DrawWorld-related implementations
This commit is contained in:
@@ -24,7 +24,7 @@ CActor::CActor(TUniqueId uid, bool active, const std::string& name, const CEntit
|
||||
: CEntity(uid, info, active, name)
|
||||
, x68_material(MakeActorMaterialList(list, params))
|
||||
, x70_materialFilter(CMaterialFilter::MakeIncludeExclude({EMaterialTypes::Solid}, {0ull}))
|
||||
, xc6_(otherUid)
|
||||
, xc6_nextDrawNode(otherUid)
|
||||
{
|
||||
if (mData.x10_animData || mData.x1c_normalModel)
|
||||
x64_modelData = std::make_unique<CModelData>(std::move(mData));
|
||||
@@ -74,8 +74,8 @@ void CActor::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateMana
|
||||
continue;
|
||||
|
||||
const CActor* act = TCastToConstPtr<CActor>(mgr.GetObjectById(mgr.GetIdForScript(conn.x8_objId)));
|
||||
if (act && xc6_ == kInvalidUniqueId)
|
||||
xc6_ = act->GetUniqueId();
|
||||
if (act && xc6_nextDrawNode == kInvalidUniqueId)
|
||||
xc6_nextDrawNode = act->GetUniqueId();
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user