summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-10-04 00:18:47 +0200
committereray orçunus <erayorcunus@gmail.com>2019-10-04 00:18:47 +0200
commit6b4f6e05e2612af715246de58c28128d358b6916 (patch)
treedc2490e7fd6dc7123991840401048c06da6cd3ec /src/core
parentMerge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff)
parentFixed disappearing ammo count (diff)
downloadre3-6b4f6e05e2612af715246de58c28128d358b6916.tar
re3-6b4f6e05e2612af715246de58c28128d358b6916.tar.gz
re3-6b4f6e05e2612af715246de58c28128d358b6916.tar.bz2
re3-6b4f6e05e2612af715246de58c28128d358b6916.tar.lz
re3-6b4f6e05e2612af715246de58c28128d358b6916.tar.xz
re3-6b4f6e05e2612af715246de58c28128d358b6916.tar.zst
re3-6b4f6e05e2612af715246de58c28128d358b6916.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Pools.cpp1
-rw-r--r--src/core/Pools.h1
-rw-r--r--src/core/config.h8
3 files changed, 9 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 f82967d5..49bef3fa 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -67,10 +67,15 @@ enum Config {
NUMANTENNAS = 8,
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,
@@ -140,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