summaryrefslogtreecommitdiffstats
path: root/src/core/Pools.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-21 15:09:44 +0200
committerGitHub <noreply@github.com>2019-10-21 15:09:44 +0200
commit4844b3a3f8037b379654bb8109050d0adbc94ae7 (patch)
tree4366aac26c53bebd0f98bc121b5f04b5cd750fe3 /src/core/Pools.h
parentMerge pull request #248 from Nmzik/master (diff)
parentSome CPool and CPools funcs, restoring original logic of pool lookup loops (diff)
downloadre3-4844b3a3f8037b379654bb8109050d0adbc94ae7.tar
re3-4844b3a3f8037b379654bb8109050d0adbc94ae7.tar.gz
re3-4844b3a3f8037b379654bb8109050d0adbc94ae7.tar.bz2
re3-4844b3a3f8037b379654bb8109050d0adbc94ae7.tar.lz
re3-4844b3a3f8037b379654bb8109050d0adbc94ae7.tar.xz
re3-4844b3a3f8037b379654bb8109050d0adbc94ae7.tar.zst
re3-4844b3a3f8037b379654bb8109050d0adbc94ae7.zip
Diffstat (limited to '')
-rw-r--r--src/core/Pools.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/Pools.h b/src/core/Pools.h
index 4e6bd547..770a1de1 100644
--- a/src/core/Pools.h
+++ b/src/core/Pools.h
@@ -43,11 +43,13 @@ public:
static CAudioScriptObjectPool *GetAudioScriptObjectPool(void) { return ms_pAudioScriptObjectPool; }
static void Initialise(void);
+ static void ShutDown(void);
static int32 GetPedRef(CPed *ped);
static CPed *GetPed(int32 handle);
static int32 GetVehicleRef(CVehicle *vehicle);
static CVehicle *GetVehicle(int32 handle);
static int32 GetObjectRef(CObject *object);
static CObject *GetObject(int32 handle);
- static void MakeSureSlotInObjectPoolIsEmpty(int32 handle);
+ static void CheckPoolsEmpty();
+ static void MakeSureSlotInObjectPoolIsEmpty(int32 slot);
};