mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 17:47:43 +00:00
Various movement and HUD bug fixes
This commit is contained in:
@@ -606,7 +606,7 @@ void CBallCamera::CheckFailsafe(float dt, CStateManager& mgr)
|
||||
else
|
||||
{
|
||||
x18c_31_clearLOS = true;
|
||||
x350_obscuringMaterial = CMaterialList(EMaterialTypes::Unknown);
|
||||
x350_obscuringMaterial = CMaterialList(EMaterialTypes::NoStepLogic);
|
||||
}
|
||||
|
||||
if (!x18c_31_clearLOS)
|
||||
|
||||
@@ -149,7 +149,7 @@ private:
|
||||
float x330_clearColliderThreshold = 0.2f;
|
||||
zeus::CAABox x334_collidersAABB = zeus::CAABox::skNullBox;
|
||||
float x34c_obscuredTime = 0.f;
|
||||
CMaterialList x350_obscuringMaterial = {EMaterialTypes::Unknown};
|
||||
CMaterialList x350_obscuringMaterial = {EMaterialTypes::NoStepLogic};
|
||||
float x358_unobscureMag = 0.f;
|
||||
zeus::CVector3f x35c_splineIntermediatePos;
|
||||
TUniqueId x368_obscuringObjectId = kInvalidUniqueId;
|
||||
@@ -158,7 +158,7 @@ private:
|
||||
float x374_splineCtrl = 0.f;
|
||||
float x378_splineCtrlRange;
|
||||
CCameraSpline x37c_camSpline;
|
||||
CMaterialList x3c8_collisionExcludeList = {EMaterialTypes::Unknown};
|
||||
CMaterialList x3c8_collisionExcludeList = {EMaterialTypes::NoStepLogic};
|
||||
bool x3d0_24_camBehindFloorOrWall : 1;
|
||||
float x3d4_elevInterpTimer = 0.f;
|
||||
float x3d8_elevInterpStart = 0.f;
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace urde
|
||||
CGameCamera::CGameCamera(TUniqueId uid, bool active, std::string_view name, const CEntityInfo& info,
|
||||
const zeus::CTransform& xf, float fovy, float znear, float zfar, float aspect,
|
||||
TUniqueId watchedId, bool disableInput, u32 controllerIdx)
|
||||
: CActor(uid, active, name, info, xf, CModelData::CModelDataNull(), CMaterialList(EMaterialTypes::Unknown),
|
||||
: CActor(uid, active, name, info, xf, CModelData::CModelDataNull(), CMaterialList(EMaterialTypes::NoStepLogic),
|
||||
CActorParameters::None(), kInvalidUniqueId)
|
||||
, xe8_watchedObject(watchedId)
|
||||
, x12c_(xf)
|
||||
|
||||
Reference in New Issue
Block a user