18 ,
public Toshi::TSingleton<AAnimatableObjectManager>
49 void DestroyType(
const Toshi::TPString8& a_rcName );
57 Toshi::T2DList<AAnimatableObject> m_llAnimatableObjects;
58 Toshi::T2DList<AAnimatableObjectType> m_llObjectTypes;
59 Toshi::TTRB* m_pAnimSoundBPsTRB;
TRB (Toshi Relocatable Binary) resource system for the Toshi engine.
#define TDECLARE_CLASS(THIS_CLASS, PARENT_CLASS)
Toshi::T2ObjectPool< AToshiAnimationRef, 100 > g_oAnimationRefPool
AAnimatableObject * CreateAnimatableObject(AAnimatableObjectType *a_pObjectType, void *a_Unk1=nullptr, TUINT a_eFlags=0)
void LoadAnimObjType(const TCHAR *a_szName, const PBProperties *a_pProperties, TBOOL a_bNoBreakpoints)
void DestroyAnimatableObject(AAnimatableObject *a_pAnimatableObject)
TBOOL LoadAnimSoundBreakpoints(const TCHAR *a_szFilePath)
void LoadAnimObjType(const Toshi::TPString8 &a_rcName, const PBProperties *a_pProperties, TBOOL a_bNoBreakpoints)
AAnimatableObjectManager()
AAnimatableObjectType * FindType(const Toshi::TPString8 &a_rcName)
void DetachObject(AAnimatableObject *a_pObject, AAnimatableObject *a_pParent)
void LoadTypesFromLibrary(const TCHAR *a_szLibName)
void DestroyType(const Toshi::TPString8 &a_rcName)
void DestroyAttachedObjects(AAnimatableObject *a_pAnimatableObject)
TINT FindNumAnimationSoundBreakpoints(const Toshi::TPString8 &a_rcModelName, ANamedAnimation *a_pAnimation)
~AAnimatableObjectManager()
virtual TBOOL OnUpdate(TFLOAT a_fDeltaTime) override