mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-06 10:34:08 +00:00
neo screen droplets
This commit is contained in:
parent
856e424c76
commit
02c7f8381b
21 changed files with 1072 additions and 8 deletions
|
@ -8,6 +8,7 @@
|
|||
#include "Camera.h"
|
||||
#include "Game.h"
|
||||
#include "DMAudio.h"
|
||||
#include "screendroplets.h"
|
||||
|
||||
|
||||
CParticleObject gPObjectArray[MAX_PARTICLEOBJECTS];
|
||||
|
@ -18,6 +19,8 @@ CParticleObject *CParticleObject::pUnusedListHead;
|
|||
|
||||
CAudioHydrant List[MAX_AUDIOHYDRANTS];
|
||||
|
||||
CAudioHydrant *CAudioHydrant::Get(int n) { return &List[n]; }
|
||||
|
||||
bool
|
||||
CAudioHydrant::Add(CParticleObject *particleobject)
|
||||
{
|
||||
|
@ -247,6 +250,9 @@ CParticleObject::AddObject(uint16 type, CVector const &pos, CVector const &targe
|
|||
pobj->m_nSkipFrames = 3;
|
||||
#endif
|
||||
pobj->m_nCreationChance = 0;
|
||||
#ifdef SCREEN_DROPLETS
|
||||
ScreenDroplets::RegisterSplash(pobj);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue