OpenBarnyard
 
Loading...
Searching...
No Matches
ATRBLoaderJob.cpp
Go to the documentation of this file.
1#include "pch.h"
2#include "ATRBLoaderJob.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 return m_oStreamJob.IsProcessed() != TFALSE;
21}
22
23void ATRBLoaderJob::InitJob( Toshi::TTRB* a_pTRB, const TCHAR* a_szFileName )
24{
25 m_oStreamJob.Init( a_pTRB, a_szFileName );
26}
char TCHAR
Definition Typedefs.h:20
#define TFALSE
Definition Typedefs.h:24
bool TBOOL
Definition Typedefs.h:6
virtual TBOOL RunJob() override
Toshi::TTRBStreamJob m_oStreamJob
void InitJob(Toshi::TTRB *a_pTRB, const TCHAR *a_szFileName)
virtual void BeginJob() override