2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:47: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

@@ -645,7 +645,7 @@ CEntity* ScriptLoader::LoadPlatform(CStateManager& mgr, CInputStream& in, int pr
zeus::CAABox aabb = GetCollisionBox(mgr, info.GetAreaId(), extent, centroid);
FourCC dclnType = g_ResFactory->GetResourceTypeById(dclnId);
std::experimental::optional<TLockedToken<CCollidableOBBTreeGroupContainer>> dclnToken;
rstl::optional<TLockedToken<CCollidableOBBTreeGroupContainer>> dclnToken;
if (dclnType) {
dclnToken.emplace(g_SimplePool->GetObj({SBIG('DCLN'), dclnId}));
dclnToken->GetObj();
@@ -994,7 +994,7 @@ CEntity* ScriptLoader::LoadBeetle(CStateManager& mgr, CInputStream& in, int prop
if (animType != SBIG('ANCS'))
return nullptr;
std::experimental::optional<CStaticRes> tailRes;
rstl::optional<CStaticRes> tailRes;
if (flavor == CPatterned::EFlavorType::One)
tailRes.emplace(CStaticRes(tailModel, scale));