diff --git a/Source/Contents/Effects/EffectMaker.cpp b/Source/Contents/Effects/EffectMaker.cpp new file mode 100644 index 0000000..c5d30a6 --- /dev/null +++ b/Source/Contents/Effects/EffectMaker.cpp @@ -0,0 +1,13 @@ +#include "Contents/Effects/EffectMaker.h" + +// OFFSET: 0x00E4A2B0 +// FUNCTION: fn_24251 +CEffectMaker::CEffectMaker(ResourceMgr& resources, JobNames& names) : EffectActor(resources, names) { + this->unknown_0160 = -1; + this->unknown_015C = 360; + this->unknown_0158 = 360; + this->unknown_0164 = 0; + this->unknown_0168 = 0; + this->unknown_016C = 0; + this->unknown_0170 = 0; +} diff --git a/Source/Contents/Effects/EffectMaker.h b/Source/Contents/Effects/EffectMaker.h new file mode 100644 index 0000000..b300c46 --- /dev/null +++ b/Source/Contents/Effects/EffectMaker.h @@ -0,0 +1,25 @@ +#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_EFFECTMAKER_H +#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_EFFECTMAKER_H + +#include "Contents/Effects/EffectActor.h" + +#include + +struct CEffectMaker : EffectActor { + CEffectMaker(ResourceMgr& resources, JobNames& names); + + /* 0158 */ int unknown_0158; + /* 015C */ int unknown_015C; + /* 0160 */ int unknown_0160; + /* 0164 */ int unknown_0164; + /* 0168 */ int unknown_0168; + /* 016C */ int unknown_016C; + /* 0170 */ int unknown_0170; +}; + +#if defined(_WIN32) && !defined(_WIN64) +static_assert(offsetof(CEffectMaker, unknown_0158) == 0x158); +static_assert(offsetof(CEffectMaker, unknown_0170) == 0x170); +#endif + +#endif diff --git a/data/compile.json b/data/compile.json index d506cba..a1eed00 100644 --- a/data/compile.json +++ b/data/compile.json @@ -295,6 +295,7 @@ "Source/Contents/Effects/EffectActor.cpp": 4, "Source/Contents/Effects/EffectAttachments.cpp": 4, "Source/Contents/Effects/EffectLists.cpp": 0, + "Source/Contents/Effects/EffectMaker.cpp": 4, "Source/Contents/Effects/EffectParticle.cpp": 4, "Source/Contents/Effects/EffectPrimitiveColor.cpp": 4, "Source/Contents/Effects/EffectPrimitiveMotion.cpp": 4,