mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-30 08:41:14 +00:00
CGlowFlash::CGlowFlash
This commit is contained in:
parent
a88225178a
commit
4cfcc2f6b7
12
bit.cpp
12
bit.cpp
@ -15,6 +15,18 @@ EXPORT CSpecialDisplay *SpecialDisplayList;
|
||||
|
||||
EXPORT SFlatBitVelocity FlatBitVelocities[FLATBIT_VELOCITIES_SIZE];
|
||||
|
||||
// @SMALLTODO
|
||||
void CGlow::SetFringeWidth(u32, u32)
|
||||
{
|
||||
printf("CGlow::SetFringeWidth(u32, u32)");
|
||||
}
|
||||
|
||||
// @SMALLTODO
|
||||
void CGlow::SetFringeRGB(u32, u8, u8, u8)
|
||||
{
|
||||
printf("void CGlow::SetFringeRGB(u32, u8, u8, u8)");
|
||||
}
|
||||
|
||||
// @SMALLTODO
|
||||
CCombatImpactRing::CCombatImpactRing(CVector*, u8, u8, u8, i32, i32, i32)
|
||||
{
|
||||
|
3
bit.h
3
bit.h
@ -208,6 +208,9 @@ class CGlow : public CBit
|
||||
EXPORT void SetRadius(i32);
|
||||
EXPORT void SetRGB(u8, u8, u8);
|
||||
|
||||
EXPORT void SetFringeWidth(u32, u32);
|
||||
EXPORT void SetFringeRGB(u32, u8, u8, u8);
|
||||
|
||||
int* field_3C;
|
||||
unsigned char padAfter3C[0x44-0x3C-4];
|
||||
|
||||
|
51
exp.cpp
51
exp.cpp
@ -3,11 +3,46 @@
|
||||
|
||||
static i32 gMemInitRelatedTop;
|
||||
|
||||
// @SMALLTODO
|
||||
CGlowFlash::CGlowFlash(CVector*, i32 a3, u8, u8, u8, i32, u8, u8, u8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)
|
||||
// @Ok
|
||||
CGlowFlash::CGlowFlash(
|
||||
CVector* a2,
|
||||
i32 a3,
|
||||
u8 a4,
|
||||
u8 a5,
|
||||
u8 a6,
|
||||
i32 a7,
|
||||
u8 a8,
|
||||
u8 a9,
|
||||
u8 a10,
|
||||
i32 a11,
|
||||
i32 a12,
|
||||
i32 a13,
|
||||
i32 a14,
|
||||
i32 a15,
|
||||
i32 a16,
|
||||
i32 a17,
|
||||
i32 a18,
|
||||
i32 a19,
|
||||
i32 a20)
|
||||
: CGlow(a3, 1)
|
||||
{
|
||||
printf("CGlowFlash(CVector*, i32, u8, u8, u8, i32, u8, u8, u8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32)");
|
||||
this->mPos = *a2;
|
||||
this->SetCentreRGB(a4, a5, a6);
|
||||
this->field_5C = a7;
|
||||
this->SetRGB(a8, a9, a10);
|
||||
this->field_5E = a11;
|
||||
this->SetFringeRGB(0, 0, 0, 0);
|
||||
this->SetFringeWidth(0, a12);
|
||||
this->field_60 = a13;
|
||||
this->field_6C = a14;
|
||||
this->field_64 = a16;
|
||||
this->field_62 = a15;
|
||||
this->field_6A = a19;
|
||||
this->field_66 = a17;
|
||||
this->field_68 = a18;
|
||||
this->field_E = a20;
|
||||
print_if_false(a20 || this->field_5C, "CGlowFlash centrefaderate and lifetime both zero.");
|
||||
this->ChooseRadii();
|
||||
}
|
||||
|
||||
// @SMALLTODO
|
||||
@ -80,4 +115,14 @@ void validate_CItemFrag(void)
|
||||
void validate_CGlowFlash(void)
|
||||
{
|
||||
VALIDATE_SIZE(CGlowFlash, 0x70);
|
||||
|
||||
VALIDATE(CGlowFlash, field_5C, 0x5C);
|
||||
VALIDATE(CGlowFlash, field_5E, 0x5E);
|
||||
VALIDATE(CGlowFlash, field_60, 0x60);
|
||||
VALIDATE(CGlowFlash, field_62, 0x62);
|
||||
VALIDATE(CGlowFlash, field_64, 0x64);
|
||||
VALIDATE(CGlowFlash, field_66, 0x66);
|
||||
VALIDATE(CGlowFlash, field_68, 0x68);
|
||||
VALIDATE(CGlowFlash, field_6A, 0x6A);
|
||||
VALIDATE(CGlowFlash, field_6C, 0x6C);
|
||||
}
|
||||
|
12
exp.h
12
exp.h
@ -18,7 +18,17 @@ class CGlowFlash : public CGlow
|
||||
EXPORT void ChooseRadii(void);
|
||||
EXPORT virtual void Move(void);
|
||||
|
||||
u8 padBottom[0x14];
|
||||
i16 field_5C;
|
||||
i16 field_5E;
|
||||
i16 field_60;
|
||||
i16 field_62;
|
||||
i16 field_64;
|
||||
i16 field_66;
|
||||
i16 field_68;
|
||||
i16 field_6A;
|
||||
u8 field_6C;
|
||||
|
||||
u8 padBottom[0x70-0x6C-1];
|
||||
};
|
||||
|
||||
EXPORT void Exp_HitEnvItem(CItem*, u32*, i32);
|
||||
|
Loading…
Reference in New Issue
Block a user