mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-23 13:29:48 +00:00
CCop::CreateCombatImpactEffect
This commit is contained in:
parent
1c6322615c
commit
7dfd5d797b
@ -1028,6 +1028,7 @@ void validate_CBaddy(void){
|
||||
VALIDATE_VTABLE(CBaddy, AI, 2);
|
||||
VALIDATE_VTABLE(CBaddy, Hit, 3);
|
||||
VALIDATE_VTABLE(CBaddy, PlayerIsVisible, 5);
|
||||
VALIDATE_VTABLE(CBaddy, CreateCombatImpactEffect, 6);
|
||||
VALIDATE_VTABLE(CBaddy, TugImpulse, 7);
|
||||
VALIDATE_VTABLE(CBaddy, Victorious, 8);
|
||||
VALIDATE_VTABLE(CBaddy, GetClosest, 13);
|
||||
|
2
baddy.h
2
baddy.h
@ -51,7 +51,7 @@ public:
|
||||
EXPORT void GetWaypointNearTarget(CVector*, i32, i32, CVector*);
|
||||
|
||||
EXPORT virtual int PlayerIsVisible(int);
|
||||
EXPORT virtual void CreateCombatImpactEffect(CVector*, int);
|
||||
EXPORT virtual void CreateCombatImpactEffect(CVector*, i32);
|
||||
EXPORT virtual u8 TugImpulse(CVector*, CVector*, CVector*);
|
||||
EXPORT virtual void Victorious(void);
|
||||
EXPORT virtual void UnknownCBaddyFunctionThree(int, int);
|
||||
|
2
bit.h
2
bit.h
@ -234,6 +234,8 @@ class CCombatImpactRing : public CFlatBit
|
||||
{
|
||||
public:
|
||||
EXPORT CCombatImpactRing(CVector*, u8, u8, u8, i32, i32, i32);
|
||||
|
||||
u8 padBottom[0xC];
|
||||
};
|
||||
|
||||
EXPORT int Bit_MakeSpriteRing(CVector*, int, int, int, int, int, int, int);
|
||||
|
7
cop.cpp
7
cop.cpp
@ -15,6 +15,13 @@ extern CBaddy *BaddyList;
|
||||
|
||||
EXPORT CCop* gCopList;
|
||||
|
||||
// @Ok
|
||||
void CCop::CreateCombatImpactEffect(CVector *a2, i32)
|
||||
{
|
||||
new CCombatImpactRing(a2, 0x6Cu, 108, 18, 384, 1792, 144);
|
||||
new CCombatImpactRing(a2, 0x90u, 144, 72, 192, 896, 72);
|
||||
}
|
||||
|
||||
// @Ok
|
||||
void CCop::DieAfterFlyingAcrossRoom(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user