mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 23:38:59 +00:00
20 lines
739 B
C++
20 lines
739 B
C++
|
#include "common.h"
|
||
|
#include "Pools.h"
|
||
|
|
||
|
CCPtrNodePool *&CPools::ms_pPtrNodePool = *(CCPtrNodePool**)0x943044;
|
||
|
CEntryInfoNodePool *&CPools::ms_pEntryInfoNodePool = *(CEntryInfoNodePool**)0x941448;
|
||
|
CBuildingPool *&CPools::ms_pBuildingPool = *(CBuildingPool**)0x8F2C04;
|
||
|
CTreadablePool *&CPools::ms_pTreadablePool = *(CTreadablePool**)0x8F2568;
|
||
|
CObjectPool *&CPools::ms_pObjectPool = *(CObjectPool**)0x880E28;
|
||
|
|
||
|
void
|
||
|
CPools::Initialise(void)
|
||
|
{
|
||
|
// TODO: unused right now
|
||
|
ms_pPtrNodePool = new CCPtrNodePool(NUMPTRNODES);
|
||
|
ms_pEntryInfoNodePool = new CEntryInfoNodePool(NUMENTRYINFOS);
|
||
|
ms_pBuildingPool = new CBuildingPool(NUMBUILDINGS);
|
||
|
ms_pTreadablePool = new CTreadablePool(NUMTREADABLES);
|
||
|
ms_pObjectPool = new CObjectPool(NUMOBJECTS);
|
||
|
}
|