summaryrefslogtreecommitdiff
path: root/src/Pools.cpp
diff options
context:
space:
mode:
authorFire_Head <Fire-Head@users.noreply.github.com>2019-06-03 00:56:56 +0300
committerGitHub <noreply@github.com>2019-06-03 00:56:56 +0300
commitaa1163ccb2784f618f012ca878e07af54b2e9041 (patch)
tree04a15b6ef8896ad99ba22258c7bdee00c43c7df6 /src/Pools.cpp
parent31f349d9c2fd755679e8be2e6e346bd1bb6a1a0e (diff)
parentf5706a4641312c94d745d2f4f0f3e5d82818c6cc (diff)
Merge pull request #2 from GTAmodding/master
upd
Diffstat (limited to 'src/Pools.cpp')
-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);
}