mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
Adjust runtime directory layout
This commit is contained in:
16
Runtime/World/CPathFindArea.cpp
Normal file
16
Runtime/World/CPathFindArea.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "CPathFindArea.hpp"
|
||||
#include "IVParamObj.hpp"
|
||||
#include "CToken.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
CPathFindArea::CPathFindArea(const std::unique_ptr<u8[]>&& buf, int len)
|
||||
{
|
||||
x13c_data = buf.get();
|
||||
}
|
||||
|
||||
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()))));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user