diff --git a/Source/Contents/EffectResourceSwitcher.cpp b/Source/Contents/EffectResourceSwitcher.cpp new file mode 100644 index 0000000..423a620 --- /dev/null +++ b/Source/Contents/EffectResourceSwitcher.cpp @@ -0,0 +1,119 @@ +#include "Contents/Effects/Effect.h" +#include "Contents/Effects/EffectPrimitiveState.h" + +#include + +// OFFSET: 0x005A2110 +// FUNCTION: fn_03083 +void CEffect::Slot10(int) { +} + +// OFFSET: 0x005A2120 +// FUNCTION: fn_03084 +void CEffect::Slot08(int, int, int) { +} + +// OFFSET: 0x005A2130 + +// OFFSET: 0x005A2170 + +// OFFSET: 0x005A2190 +// FUNCTION: fn_03090 +int CEffect::Slot28() { + return 0; +} + +// OFFSET: 0x005A21C0 +// FUNCTION: fn_03092 +void CEffect::Slot01() { +} + +// OFFSET: 0x005A22E0 +// FUNCTION: fn_03094 +void CEffect::Slot12() { +} + +// OFFSET: 0x005A22F0 +// FUNCTION: fn_03095 +void CEffect::Slot07() { +} + +// OFFSET: 0x005A2430 +// FUNCTION: fn_03098 +void CEffect::Slot04() { +} + +// OFFSET: 0x005A2440 +// FUNCTION: fn_03099 +void CEffect::Slot00(int) { +} + +// OFFSET: 0x005A2450 +// FUNCTION: fn_03100 +void CEffect::Slot23(int) { +} + +// OFFSET: 0x005A2460 +// FUNCTION: fn_03101 +void CEffect::Slot24(int, int, int, int, int) { +} + +// OFFSET: 0x005A2470 +// FUNCTION: fn_03102 +void CEffect::Slot26(int) { +} + +// OFFSET: 0x005A2480 +// FUNCTION: fn_03103 +void CEffect::Slot27(int) { +} + +// OFFSET: 0x005A2490 +// FUNCTION: fn_03104 +void CEffect::Slot21(int) { +} + +// OFFSET: 0x005A24A0 +// FUNCTION: fn_03105 +void CEffect::Slot32() { +} + +// OFFSET: 0x005A24B0 +// FUNCTION: fn_03106 +void CEffect::Slot15(int) { +} + +// OFFSET: 0x005A24C0 +// FUNCTION: fn_03107 +void CEffect::Slot14(int) { +} + +// OFFSET: 0x005A24D0 +// FUNCTION: fn_03108 +void CEffect::Slot17(int) { +} + +// OFFSET: 0x005A24E0 +// FUNCTION: fn_03109 +void CEffect::Slot18(int) { +} + +// OFFSET: 0x005A24F0 +// FUNCTION: fn_03110 +void CEffect::Slot19(int) { +} + +// OFFSET: 0x005A2500 +// FUNCTION: fn_03111 +void CEffect::Slot22(int) { +} + +// OFFSET: 0x005A2510 +// FUNCTION: fn_03112 +void CEffect::Slot13(int) { +} + +// OFFSET: 0x005A2540 +// FUNCTION: fn_03114 +void CEffect::Slot20(int) { +} diff --git a/Source/Contents/Effects/Effect.h b/Source/Contents/Effects/Effect.h index 0137801..49729e4 100644 --- a/Source/Contents/Effects/Effect.h +++ b/Source/Contents/Effects/Effect.h @@ -7,6 +7,8 @@ #include #include +struct EffectVector3; + struct EffectEvent { /* 0000 */ int kind; /* 0004 */ int frame; @@ -19,6 +21,30 @@ public: explicit CEffect(int id); virtual ~CEffect(); virtual void Close(); + virtual void Slot00(int argument); + virtual void Slot01(); + virtual void Slot04(); + virtual void Slot07(); + virtual void Slot08(int argument1, int argument2, int argument3); + virtual void Slot10(int argument); + virtual void Slot11(std::string name); + virtual void Slot12(); + virtual void Slot13(int argument); + virtual void Slot14(int argument); + virtual void Slot15(int argument); + virtual void Slot17(int argument); + virtual void Slot18(int argument); + virtual void Slot19(int argument); + virtual void Slot20(int argument); + virtual void Slot21(int argument); + virtual void Slot22(int argument); + virtual void Slot23(int argument); + virtual void Slot24(int argument1, int argument2, int argument3, int argument4, int argument5); + virtual EffectVector3 Slot25(); + virtual void Slot26(int argument); + virtual void Slot27(int argument); + virtual int Slot28(); + virtual void Slot32(); void AddEvent(int kind, const char* text, int frame, int argument); void SetEventFrame(int kind, int frame); diff --git a/data/compile.json b/data/compile.json index bee3976..d88bcea 100644 --- a/data/compile.json +++ b/data/compile.json @@ -288,6 +288,7 @@ "Source/Contents/Configuration/ScriptOptions.cpp": 4, "Source/Contents/Configuration/ServiceConfiguration.cpp": 4, "Source/Contents/Configuration/ServiceOptions.cpp": 4, + "Source/Contents/EffectResourceSwitcher.cpp": 4, "Source/Contents/Effects/AttachedEffect.cpp": 4, "Source/Contents/Effects/Effect.cpp": 0, "Source/Contents/Effects/EffectActor.cpp": 4,