mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
PATH stubs
This commit is contained in:
@@ -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()))));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user