CTrapWebEffect fields

This commit is contained in:
krystalgamer 2024-07-12 17:06:11 +02:00
parent 532da33145
commit b88ff49145
4 changed files with 18 additions and 6 deletions

4
bit.h
View File

@ -22,7 +22,7 @@ class CBit
unsigned char mDead;
unsigned __int16 mFrigDeltaZ;
unsigned char mProtected;
unsigned char bottomPad;
unsigned char bitBottomPad;
EXPORT CBit();
EXPORT virtual ~CBit();
@ -124,7 +124,7 @@ public:
};
class CNonRenderedBit : public CBit {
public:
public:
};
class CSmokeTrail : public CNonRenderedBit

View File

@ -46,11 +46,11 @@ void CTorch::Shouldnt_DoPhysics_Be_Virtual(void)
this->DoPhysics();
}
// @TODO
// @BIGTODO
void CTorch::DoPhysics(void)
{}
// @TODO
// @BIGTODO
__inline int* CTorch::KillCommandBlock(int*)
{
return (int*)0x02062024;

View File

@ -34,7 +34,8 @@ int Web_GetGroundY(const CVector* a1)
// @TODO
void CTrapWebEffect::Burst(void)
{}
{
}
// @Ok
int CSwinger::IsOneTimeToDie(void)
@ -115,6 +116,11 @@ void validate_CSwinger(void){
void validate_CTrapWebEffect(void)
{
VALIDATE_SIZE(CTrapWebEffect, 0x430);
VALIDATE(CTrapWebEffect, bitBottomPad, 0x3B);
VALIDATE(CTrapWebEffect, field_3C, 0x3C);
VALIDATE(CTrapWebEffect, field_44, 0x44);
VALIDATE(CTrapWebEffect, field_418, 0x418);
}
void validate_CDomeShockWave(void)

8
web.h
View File

@ -88,7 +88,13 @@ class CTrapWebEffect : public CNonRenderedBit
{
public:
EXPORT void Burst(void);
unsigned char topPad[0x3F4];
SHandle field_3C;
void *field_44;
u8 padAfter44[0x418-0x44-4];
u8 field_418;
u8 bottomPad[0x430-0x418-1];
};
class CDomeShockWave : public CNonRenderedBit