summaryrefslogtreecommitdiffstats
path: root/src/objects
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-24 23:06:48 +0200
committeraap <aap@papnet.eu>2019-07-24 23:06:48 +0200
commit93d55bd029b62224a0690bc06bf5d9d6126e59ce (patch)
tree562f096661118d2f1a6f688eb7d18c20d4746f66 /src/objects
parentimplemented cBuoyancy (diff)
downloadre3-93d55bd029b62224a0690bc06bf5d9d6126e59ce.tar
re3-93d55bd029b62224a0690bc06bf5d9d6126e59ce.tar.gz
re3-93d55bd029b62224a0690bc06bf5d9d6126e59ce.tar.bz2
re3-93d55bd029b62224a0690bc06bf5d9d6126e59ce.tar.lz
re3-93d55bd029b62224a0690bc06bf5d9d6126e59ce.tar.xz
re3-93d55bd029b62224a0690bc06bf5d9d6126e59ce.tar.zst
re3-93d55bd029b62224a0690bc06bf5d9d6126e59ce.zip
Diffstat (limited to '')
-rw-r--r--src/objects/ParticleObject.cpp7
-rw-r--r--src/objects/ParticleObject.h7
2 files changed, 8 insertions, 6 deletions
diff --git a/src/objects/ParticleObject.cpp b/src/objects/ParticleObject.cpp
index 25f223e1..f5cd4c94 100644
--- a/src/objects/ParticleObject.cpp
+++ b/src/objects/ParticleObject.cpp
@@ -2,9 +2,10 @@
#include "patcher.h"
#include "ParticleObject.h"
-WRAPPER void CParticleObject::AddObject(uint16 type, const CVector &pos, bool remove) { EAXJMP(0x4BC4D0); }
-WRAPPER void CParticleObject::AddObject(uint16 type, const CVector &pos, float size, bool remove) { EAXJMP(0x4BC520); }
-WRAPPER void CParticleObject::AddObject(uint16 type, const CVector &pos, const CVector &dir, float size, bool remove) { EAXJMP(0x4BC570); }
+WRAPPER void CParticleObject::AddObject(uint16 type, const CVector &pos, uint8 remove) { EAXJMP(0x4BC4D0); }
+WRAPPER void CParticleObject::AddObject(uint16 type, const CVector &pos, float size, uint8 remove) { EAXJMP(0x4BC520); }
+WRAPPER void CParticleObject::AddObject(uint16 type, const CVector &pos, const CVector &dir, float size, uint8 remove) { EAXJMP(0x4BC570); }
+WRAPPER void CParticleObject::AddObject(uint16 type, const CVector &pos, const CVector &dir, float size, uint32, const RwRGBA &col, uint8 remove) { EAXJMP(0x4BC5B0); }
// Converted from static void __cdecl CParticleObject::Initialise() 0x42C760
void CParticleObject::Initialise()
diff --git a/src/objects/ParticleObject.h b/src/objects/ParticleObject.h
index 6ec090e7..192d3703 100644
--- a/src/objects/ParticleObject.h
+++ b/src/objects/ParticleObject.h
@@ -29,9 +29,10 @@ enum eParticleObjectType
class CParticleObject : CPlaceable
{
public:
- static void AddObject(uint16 type, const CVector &pos, bool remove);
- static void AddObject(uint16 type, const CVector &pos, float size, bool remove);
- static void AddObject(uint16 type, const CVector &pos, const CVector &dir, float size, bool remove);
+ static void AddObject(uint16 type, const CVector &pos, uint8 remove);
+ static void AddObject(uint16 type, const CVector &pos, float size, uint8 remove);
+ static void AddObject(uint16 type, const CVector &pos, const CVector &dir, float size, uint8 remove);
+ static void AddObject(uint16 type, const CVector &pos, const CVector &dir, float size, uint32, const RwRGBA &col, uint8 remove);
static void Initialise();
static void UpdateAll();
};