mirror of
https://github.com/halpz/re3.git
synced 2025-05-13 04:46:38 +03:00
the great reorganization
This commit is contained in:
parent
219a65b81a
commit
53023eb65b
150 changed files with 45 additions and 37 deletions
23
src/objects/ParticleObject.cpp
Normal file
23
src/objects/ParticleObject.cpp
Normal file
|
@ -0,0 +1,23 @@
|
|||
#include "common.h"
|
||||
#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); }
|
||||
|
||||
// Converted from static void __cdecl CParticleObject::Initialise() 0x42C760
|
||||
void CParticleObject::Initialise()
|
||||
{
|
||||
((void (__cdecl *)())0x4BC440)();
|
||||
}
|
||||
|
||||
// Converted from static void __cdecl CParticleObject::UpdateAll() 0x4BCA30
|
||||
void CParticleObject::UpdateAll()
|
||||
{
|
||||
((void (__cdecl *)())0x4BCA30)();
|
||||
}
|
||||
|
||||
STARTPATCHES
|
||||
InjectHook(0x4BC420, &CParticleObject::dtor, PATCH_JUMP);
|
||||
ENDPATCHES
|
Loading…
Add table
Add a link
Reference in a new issue