summaryrefslogtreecommitdiffstats
path: root/src/Pools.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-02 17:13:56 +0200
committeraap <aap@papnet.eu>2019-06-02 17:13:56 +0200
commit541665d9d12d9f85dd759b14a8c6abd84714b84f (patch)
tree038a09c138f91ffe5512e27f0cfe6141f47ea24e /src/Pools.cpp
parentMerge pull request #6 from Fire-Head/master (diff)
downloadre3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.gz
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.bz2
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.lz
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.xz
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.tar.zst
re3-541665d9d12d9f85dd759b14a8c6abd84714b84f.zip
Diffstat (limited to '')
-rw-r--r--src/Pools.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Pools.cpp b/src/Pools.cpp
index 106715e4..f7f93292 100644
--- a/src/Pools.cpp
+++ b/src/Pools.cpp
@@ -3,9 +3,12 @@
CCPtrNodePool *&CPools::ms_pPtrNodePool = *(CCPtrNodePool**)0x943044;
CEntryInfoNodePool *&CPools::ms_pEntryInfoNodePool = *(CEntryInfoNodePool**)0x941448;
+CPedPool *&CPools::ms_pPedPool = *(CPedPool**)0x8F2C60;
+CVehiclePool *&CPools::ms_pVehiclePool = *(CVehiclePool**)0x9430DC;
CBuildingPool *&CPools::ms_pBuildingPool = *(CBuildingPool**)0x8F2C04;
CTreadablePool *&CPools::ms_pTreadablePool = *(CTreadablePool**)0x8F2568;
CObjectPool *&CPools::ms_pObjectPool = *(CObjectPool**)0x880E28;
+CDummyPool *&CPools::ms_pDummyPool = *(CDummyPool**)0x8F2C18;
void
CPools::Initialise(void)
@@ -13,7 +16,10 @@ CPools::Initialise(void)
// TODO: unused right now
ms_pPtrNodePool = new CCPtrNodePool(NUMPTRNODES);
ms_pEntryInfoNodePool = new CEntryInfoNodePool(NUMENTRYINFOS);
+ ms_pPedPool = new CPedPool(NUMPEDS);
+ ms_pVehiclePool = new CVehiclePool(NUMVEHICLES);
ms_pBuildingPool = new CBuildingPool(NUMBUILDINGS);
ms_pTreadablePool = new CTreadablePool(NUMTREADABLES);
ms_pObjectPool = new CObjectPool(NUMOBJECTS);
+ ms_pDummyPool = new CDummyPool(NUMDUMMIES);
}