OpenBarnyard
 
Loading...
Searching...
No Matches
TIndexFactoryResourceInterface.cpp
Go to the documentation of this file.
1#include "ToshiPCH.h"
3
4//-----------------------------------------------------------------------------
5// Enables memory debugging.
6// Note: Should be the last include!
7//-----------------------------------------------------------------------------
9
11
13
14// destructor
15// $Barnyard: FUNCTION 006dc1a0
16
17// $Barnyard: FUNCTION 006dc170
24
25// $Barnyard: FUNCTION 006dc1b0
26TBOOL TIndexFactoryResourceInterface::Create( TIndexFactoryFormat* a_pIndexFormat, TUINT16 a_uiMaxStaticIndices, TUINT32 a_uiFlags )
27{
28 m_IndexFormat = *a_pIndexFormat;
29 m_uiMaxStaticIndices = a_uiMaxStaticIndices;
30 m_uiFlags = a_uiFlags;
31 return TResource::Create();
32}
33
35{
36 m_uiNumPools += 1;
37 return TNULL;
38}
39
#define TOSHI_NAMESPACE_START
Definition Defines.h:47
#define TOSHI_NAMESPACE_END
Definition Defines.h:50
#define TDEFINE_CLASS_NORUNTIME(...)
Definition TObject.h:138
uint16_t TUINT16
Definition Typedefs.h:15
#define TNULL
Definition Typedefs.h:23
uint32_t TUINT32
Definition Typedefs.h:13
bool TBOOL
Definition Typedefs.h:6
TIndexPoolResourceInterface * CreatePool(TUINT16 a_uiMaxStaticIndices, TUINT32 a_uiFlags)
virtual TBOOL Create()
Definition TResource.cpp:28