mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 07:07:42 +00:00
Finish CScriptActor
This commit is contained in:
@@ -393,8 +393,8 @@ CEntity* ScriptLoader::LoadActor(CStateManager& mgr, CInputStream& in, int propC
|
||||
|
||||
bool b1 = in.readBool();
|
||||
bool snow = in.readBool();
|
||||
bool grass = in.readBool();
|
||||
bool metalGrating = in.readBool();
|
||||
bool solid = in.readBool();
|
||||
bool cameraPassthrough = in.readBool();
|
||||
bool b5 = in.readBool();
|
||||
u32 w2 = in.readUint32Big();
|
||||
float f3 = in.readFloatBig();
|
||||
@@ -413,11 +413,11 @@ CEntity* ScriptLoader::LoadActor(CStateManager& mgr, CInputStream& in, int propC
|
||||
if (snow) // Bool 2
|
||||
list.Add(EMaterialTypes::Snow);
|
||||
|
||||
if (grass) // Bool 3
|
||||
list.Add(EMaterialTypes::Grass);
|
||||
if (solid) // Bool 3
|
||||
list.Add(EMaterialTypes::Solid);
|
||||
|
||||
if (metalGrating) // Bool 4
|
||||
list.Add(EMaterialTypes::MetalGrating);
|
||||
if (cameraPassthrough) // Bool 4
|
||||
list.Add(EMaterialTypes::CameraPassthrough);
|
||||
|
||||
bool generateExtent = false;
|
||||
if (collisionExtent.x < 0.f || collisionExtent.y < 0.f || collisionExtent.z < 0.f)
|
||||
|
||||
Reference in New Issue
Block a user