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

Remove rstl::optional_object, various cleanups, implement CExplosion and CScriptDoor

This commit is contained in:
2018-04-29 20:12:41 -07:00
parent 6d60ccfd04
commit 711c3e0d2c
79 changed files with 486 additions and 189 deletions

View File

@@ -146,7 +146,7 @@ public:
}
}
rstl::optional_object<T> GetAverage() const
std::experimental::optional<T> GetAverage() const
{
if (this->empty())
return {};
@@ -154,7 +154,7 @@ public:
return {urde::GetAverage<T>(this->data(), this->size())};
}
rstl::optional_object<T> GetEntry(int i) const
std::experimental::optional<T> GetEntry(int i) const
{
if (i >= this->size())
return {};