OpenBarnyard
 
Loading...
Searching...
No Matches
AKeyLibLoaderJob.cpp
Go to the documentation of this file.
1#include "pch.h"
2#include "AKeyLibLoaderJob.h"
3#include "AAssetStreaming.h"
4
5//-----------------------------------------------------------------------------
6// Enables memory debugging.
7// Note: Should be the last include!
8//-----------------------------------------------------------------------------
10
12{
13 AAssetStreaming::GetSingleton()->GetFileStream().AddStream(
15 );
16}
17
19{
20 if ( m_oStreamJob.IsProcessed() )
21 {
23 {
24 *m_ppOutKeyframeLib = m_oStreamJob.GetLibrary();
25 }
26
27 return TTRUE;
28 }
29
30 return TFALSE;
31}
32
33void AKeyLibLoaderJob::InitJob( const TCHAR* a_szFileName )
34{
35 m_oStreamJob.Init( a_szFileName );
36}
char TCHAR
Definition Typedefs.h:20
#define TFALSE
Definition Typedefs.h:24
#define TTRUE
Definition Typedefs.h:25
bool TBOOL
Definition Typedefs.h:6
void InitJob(const TCHAR *a_szFileName)
Toshi::TKeyframeLibrary ** m_ppOutKeyframeLib
virtual void BeginJob() override
AKeyframeLibStreamJob m_oStreamJob
virtual TBOOL RunJob() override