diff options
author | aap <aap@papnet.eu> | 2019-10-03 22:34:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-03 22:34:58 +0200 |
commit | 03df2d57167aea3e1b846ec84c992129e32f1c01 (patch) | |
tree | bdf0cb781dd777239f00b0e105cb22847622700d /src/core | |
parent | Merge pull request #219 from Sergeanur/MoneyMessages (diff) | |
parent | Fixed some formatting (diff) | |
download | re3-03df2d57167aea3e1b846ec84c992129e32f1c01.tar re3-03df2d57167aea3e1b846ec84c992129e32f1c01.tar.gz re3-03df2d57167aea3e1b846ec84c992129e32f1c01.tar.bz2 re3-03df2d57167aea3e1b846ec84c992129e32f1c01.tar.lz re3-03df2d57167aea3e1b846ec84c992129e32f1c01.tar.xz re3-03df2d57167aea3e1b846ec84c992129e32f1c01.tar.zst re3-03df2d57167aea3e1b846ec84c992129e32f1c01.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/Pools.cpp | 1 | ||||
-rw-r--r-- | src/core/Pools.h | 1 | ||||
-rw-r--r-- | src/core/config.h | 7 |
3 files changed, 8 insertions, 1 deletions
diff --git a/src/core/Pools.cpp b/src/core/Pools.cpp index a76bbb6d..847fa753 100644 --- a/src/core/Pools.cpp +++ b/src/core/Pools.cpp @@ -13,6 +13,7 @@ CDummyPool *&CPools::ms_pDummyPool = *(CDummyPool**)0x8F2C18; CAudioScriptObjectPool *&CPools::ms_pAudioScriptObjectPool = *(CAudioScriptObjectPool**)0x8F1B6C; WRAPPER void CPools::Initialise(void) { EAXJMP(0x4A1770); } +WRAPPER void CPools::MakeSureSlotInObjectPoolIsEmpty(int32 handle) { EAXJMP(0x4A2DB0); } #if 0 void diff --git a/src/core/Pools.h b/src/core/Pools.h index bdf668c2..4e6bd547 100644 --- a/src/core/Pools.h +++ b/src/core/Pools.h @@ -49,4 +49,5 @@ public: static CVehicle *GetVehicle(int32 handle); static int32 GetObjectRef(CObject *object); static CObject *GetObject(int32 handle); + static void MakeSureSlotInObjectPoolIsEmpty(int32 handle); }; diff --git a/src/core/config.h b/src/core/config.h index 4a9fa792..49bef3fa 100644 --- a/src/core/config.h +++ b/src/core/config.h @@ -68,10 +68,14 @@ enum Config { NUMCORONAS = 56, NUMPOINTLIGHTS = 32, NUMMONEYMESSAGES = 16, + NUMPICKUPMESSAGES = 16, NUMONSCREENTIMERENTRIES = 1, NUMRADARBLIPS = 32, - NUMPICKUPS = 336, + NUMGENERALPICKUPS = 320, + NUMSCRIPTEDPICKUPS = 16, + NUMPICKUPS = NUMGENERALPICKUPS + NUMSCRIPTEDPICKUPS, + NUMCOLLECTEDPICKUPS = 20, NUMEVENTS = 64, NUM_CARGENS = 160, @@ -141,3 +145,4 @@ enum Config { #define ANIMATE_PED_COL_MODEL //#define REMOVE_TREADABLE_PATHFIND #define VC_PED_PORTS +//#define MONEY_MESSAGES
\ No newline at end of file |