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

PATH stubs

This commit is contained in:
2016-08-10 09:05:14 -07:00
parent 4519e3abf2
commit 9c9002cee3
21 changed files with 309 additions and 57 deletions

View File

@@ -4,13 +4,15 @@
namespace urde
{
CPathFindArea::CPathFindArea(const std::unique_ptr<u8[]>&& buf, int len)
CPFArea::CPFArea(const std::unique_ptr<u8[]>&& buf, int len)
{
x13c_data = buf.get();
x13c_ = buf.get();
}
std::unique_ptr<IObj> FPathFindAreaFactory(const SObjectTag& /*tag*/, const std::unique_ptr<u8[]>& buf, const CVParamTransfer &xfer)
std::unique_ptr<IObj> FPathFindAreaFactory(const SObjectTag& /*tag*/, const std::unique_ptr<u8[]>& buf,
const CVParamTransfer &xfer)
{
return TToken<CPathFindArea>::GetIObjObjectFor(std::unique_ptr<CPathFindArea>(new CPathFindArea(std::move(buf), *reinterpret_cast<int*>(xfer.GetObj()))));
return TToken<CPFArea>::GetIObjObjectFor(
std::unique_ptr<CPFArea>(new CPFArea(std::move(buf), *reinterpret_cast<int*>(xfer.GetObj()))));
}
}