From 56f747f45a4a5c367194e78067baee66202e19cd Mon Sep 17 00:00:00 2001 From: krystalgamer Date: Fri, 2 Aug 2024 17:51:11 +0200 Subject: [PATCH] CElectroLine::~CElectroLine --- effects.cpp | 16 ++++++++++++++++ effects.h | 10 ++++++++++ main.cpp | 1 + 3 files changed, 27 insertions(+) diff --git a/effects.cpp b/effects.cpp index f0dcc6e..4b20657 100644 --- a/effects.cpp +++ b/effects.cpp @@ -9,6 +9,17 @@ extern SFlatBitVelocity FlatBitVelocities[]; EXPORT i32 gTextureRelated; +// @SMALLTODO +CElectroLine::CElectroLine(u16, u16, u16, u8, u8 ,u8, i32, i32, i32, i32, i32, u32*) +{ + printf("CElectroLine::CElectroLine(u16, u16, u16, u8, u8 ,u8, i32, i32, i32, i32, i32, u32*)"); +} + +// @Ok +CElectroLine::~CElectroLine(void) +{ +} + // @SMALLTODO CElectro::CElectro(void) { @@ -394,3 +405,8 @@ void validate_CElectro(void) VALIDATE(CElectro, field_50, 0x50); VALIDATE(CElectro, field_54, 0x54); } + +void validate_CElectroLine(void) +{ + VALIDATE_SIZE(CElectroLine, 0x6C); +} diff --git a/effects.h b/effects.h index 87e4c4e..2714b5d 100644 --- a/effects.h +++ b/effects.h @@ -97,6 +97,15 @@ class CElectro : public CSimpleTexturedRibbon void *field_54; }; +class CElectroLine : public CElectro +{ + public: + EXPORT CElectroLine(u16, u16, u16, u8, u8 ,u8, i32, i32, i32, i32, i32, u32*); + EXPORT virtual ~CElectroLine(void); + + u8 padBottom[0x14]; +}; + void validate_CElectrify(void); void validate_CSkinGoo(void); void validate_SSkinGooSource(void); @@ -107,6 +116,7 @@ void validate_CFootprint(void); void validate_CChunkSmoke(void); void validate_CBouncingRock(void); void validate_CElectro(void); +void validate_CElectroLine(void); EXPORT void Effects_Electrify(CSuper*); EXPORT void Effects_UnElectrify(CSuper*); diff --git a/main.cpp b/main.cpp index 0a1458e..d2abe95 100644 --- a/main.cpp +++ b/main.cpp @@ -395,6 +395,7 @@ int main() validate_CCopLaserPing(); validate_CDamagedSoftSpotEffect(); validate_CElectro(); + validate_CElectroLine(); puts("[*] Validation done!");