summaryrefslogtreecommitdiff
path: root/src/ParticleObject.cpp
blob: 58f2cfcbe33575bf2f6fc704354b44c1e265ab8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "common.h"
#include "patcher.h"
#include "ParticleObject.h"

WRAPPER void CParticleObject::AddObject(uint16, const CVector &pos, bool remove) { EAXJMP(0x4BC4D0); }

// 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