Exp_SmallExplosion

This commit is contained in:
krystalgamer 2024-07-30 18:55:02 +02:00
parent 7492ce497d
commit 494377e72f
2 changed files with 11 additions and 0 deletions

10
exp.cpp
View File

@ -5,6 +5,16 @@
static i32 gMemInitRelatedTop;
// @Ok
void Exp_SmallExplosion(CVector* a1)
{
if ( !gMemInitRelatedTop )
{
Exp_Frag(a1, Rnd(20), 6u, 750, 80);
Exp_GlowFlash(a1, 70, 0xF0u, 0xC8u, 0, 5, 0, 100);
}
}
// @Ok
void Exp_Frag(CVector* a1, i32 a2, i32 a3, i32 a4, i32 a5)
{

1
exp.h
View File

@ -53,6 +53,7 @@ EXPORT void Exp_GlowFlash(CVector*, i32, u8, u8, u8, i32, i32, i32);
EXPORT void Exp_BigExplosion(CVector*);
EXPORT void Exp_Frag(CVector*, i32, i32, i32, i32);
EXPORT void Exp_SmallExplosion(CVector*);
void validate_CItemFrag(void);
void validate_CGlowFlash(void);