Add missing cpp files

Former-commit-id: ddd7a79cc02d43d6e7d9f790ffb36326bfacd452
This commit is contained in:
Phillip Stephens 2023-10-17 14:51:59 -07:00
parent 06be29dc5c
commit 759f6e6b3a
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#ifndef _CSTATEMACHINEFACTORY
#define _CSTATEMACHINEFACTORY
#include <Kyoto/CFactoryMgr.hpp>
CFactoryFnReturn FAiFiniteStateMachineFactory(const SObjectTag& tag, CInputStream& in,
const CVParamTransfer& xfer);
#endif // _CSTATEMACHINEFACTORY

View File

@ -0,0 +1,9 @@
#include <MetroidPrime/Factories/CStateMachineFactory.hpp>
#include <MetroidPrime/Enemies/CStateMachine.hpp>
#include <Kyoto/Streams/CInputStream.hpp>
#pragma inline_max_size(250)
CFactoryFnReturn FAiFiniteStateMachineFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& xfer) {
return rs_new CStateMachine(in);
}