2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 21:07:42 +00:00

Windows fixes

This commit is contained in:
Jack Andersen
2019-01-28 22:28:35 -10:00
parent 4dd40f519e
commit ad2681f857
178 changed files with 303 additions and 298 deletions

View File

@@ -75,7 +75,7 @@ void CGrappleArm::BuildSuitDependencyList() {
void CGrappleArm::LoadAnimations() {
NWeaponTypes::get_token_vector(*x0_grappleArmModel->GetAnimationData(), 0, 42, x18c_anims, true);
x0_grappleArmModel = std::experimental::nullopt;
x0_grappleArmModel = rstl::nullopt;
}
void CGrappleArm::AsyncLoadSuit(CStateManager& mgr) {
@@ -83,7 +83,7 @@ void CGrappleArm::AsyncLoadSuit(CStateManager& mgr) {
if (suit == x3a8_loadedSuit)
return;
x0_grappleArmModel = std::experimental::nullopt;
x0_grappleArmModel = rstl::nullopt;
x3b2_29_suitLoading = true;
if (x3a8_loadedSuit != CPlayerState::EPlayerSuit::Invalid) {
NWeaponTypes::unlock_tokens(x19c_suitDeps[int(x3a8_loadedSuit)]);
@@ -438,7 +438,7 @@ void CGrappleArm::Update(float grappleSwingT, float dt, CStateManager& mgr) {
BuildXRayModel();
} else {
if (x50_grappleArmSkeletonModel)
x50_grappleArmSkeletonModel = std::experimental::nullopt;
x50_grappleArmSkeletonModel = rstl::nullopt;
}
float speed = 1.f;