Add static HandlerClassName function (#973)

* Add static HandlerClassName function

* Use method in PresenterNameDispatch
This commit is contained in:
MS 2024-05-30 13:10:41 -04:00 committed by GitHub
parent ab4ba9fc4f
commit ac41854149
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 362 additions and 83 deletions

View file

@ -7,13 +7,20 @@
// SIZE 0x144
class JetskiRace : public LegoRace {
public:
// FUNCTION: LEGO1 0x1000daf0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100a8840
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f0530
return "JetskiRace";
}
// FUNCTION: LEGO1 0x1000daf0
// FUNCTION: BETA10 0x100a8810
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000db00
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -9,13 +9,20 @@
// SIZE 0xa0
class Lego3DWavePresenter : public MxWavePresenter {
public:
// FUNCTION: LEGO1 0x1000d890
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100a8670
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f058c
return "Lego3DWavePresenter";
}
// FUNCTION: LEGO1 0x1000d890
// FUNCTION: BETA10 0x100a8640
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000d8a0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -13,13 +13,20 @@ class LegoActionControlPresenter : public MxMediaPresenter {
LegoActionControlPresenter() { m_unk0x50 = Extra::ActionType::e_none; }
~LegoActionControlPresenter() override { Destroy(TRUE); } // vtable+0x00
// FUNCTION: LEGO1 0x1000d0e0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100a7840
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f05bc
return "LegoActionControlPresenter";
}
// FUNCTION: LEGO1 0x1000d0e0
// FUNCTION: BETA10 0x100a7810
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000d0f0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -12,13 +12,20 @@ class LegoActorPresenter : public LegoEntityPresenter {
// FUNCTION: LEGO1 0x100679c0
~LegoActorPresenter() override {}
// FUNCTION: LEGO1 0x1000cb10
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100a6f10
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f06a4
return "LegoActorPresenter";
}
// FUNCTION: LEGO1 0x1000cb10
// FUNCTION: BETA10 0x100a6ee0
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000cb20
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -29,13 +29,20 @@ class LegoAnimMMPresenter : public MxCompositePresenter {
MxLong Notify(MxParam& p_param) override; // vtable+0x04
// FUNCTION: LEGO1 0x1004a950
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1004d840
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f046c
return "LegoAnimMMPresenter";
}
// FUNCTION: LEGO1 0x1004a950
// FUNCTION: BETA10 0x1004d810
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1004a960
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -41,13 +41,20 @@ class LegoAnimPresenter : public MxVideoPresenter {
LegoAnimPresenter();
~LegoAnimPresenter() override;
// FUNCTION: LEGO1 0x10068530
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x10055300
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f071c
return "LegoAnimPresenter";
}
// FUNCTION: LEGO1 0x10068530
// FUNCTION: BETA10 0x100552d0
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x10068540
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -11,13 +11,20 @@ class LegoCarBuildAnimPresenter : public LegoAnimPresenter {
LegoCarBuildAnimPresenter();
~LegoCarBuildAnimPresenter() override; // vtable+0x00
// FUNCTION: LEGO1 0x10078510
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x10073290
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f05ec
return "LegoCarBuildAnimPresenter";
}
// FUNCTION: LEGO1 0x10078510
// FUNCTION: BETA10 0x10073260
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x10078520
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -46,13 +46,20 @@ class LegoControlManager : public MxCore {
MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x10028cb0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1008af70
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f31b8
return "LegoControlManager";
}
// FUNCTION: LEGO1 0x10028cb0
// FUNCTION: BETA10 0x1008af40
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x10028cc0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -13,13 +13,20 @@ class LegoEntityPresenter : public MxCompositePresenter {
LegoEntityPresenter();
~LegoEntityPresenter() override; // vtable+0x00
// FUNCTION: LEGO1 0x100534b0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x10080780
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f06b8
return "LegoEntityPresenter";
}
// FUNCTION: LEGO1 0x100534b0
// FUNCTION: BETA10 0x10080750
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x100534c0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -10,13 +10,20 @@ class LegoFlcTexturePresenter : public MxFlcPresenter {
public:
LegoFlcTexturePresenter();
// FUNCTION: LEGO1 0x1005def0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100837e0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f0634
return "LegoFlcTexturePresenter";
}
// FUNCTION: LEGO1 0x1005def0
// FUNCTION: BETA10 0x100837b0
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
void StartingTickle() override; // vtable+0x1c
void LoadFrame(MxStreamChunk* p_chunk) override; // vtable+0x68
void PutFrame() override; // vtable+0x6c

View file

@ -25,13 +25,20 @@ class LegoHideAnimPresenter : public LegoLoopingAnimPresenter {
LegoHideAnimPresenter();
~LegoHideAnimPresenter() override;
// FUNCTION: LEGO1 0x1006d880
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1005d4a0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f06cc
return "LegoHideAnimPresenter";
}
// FUNCTION: LEGO1 0x1006d880
// FUNCTION: BETA10 0x1005d470
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1006d890
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -13,13 +13,20 @@ class LegoLoadCacheSoundPresenter : public MxWavePresenter {
LegoLoadCacheSoundPresenter();
~LegoLoadCacheSoundPresenter() override;
// FUNCTION: LEGO1 0x10018450
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1008cf90
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f05a0
return "LegoLoadCacheSoundPresenter";
}
// FUNCTION: LEGO1 0x10018450
// FUNCTION: BETA10 0x1008cf60
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
void ReadyTickle() override; // vtable+0x18
void StreamingTickle() override; // vtable+0x20
void DoneTickle() override; // vtable+0x2c

View file

@ -11,13 +11,20 @@ class LegoLocomotionAnimPresenter : public LegoLoopingAnimPresenter {
LegoLocomotionAnimPresenter();
~LegoLocomotionAnimPresenter() override;
// FUNCTION: LEGO1 0x1006ce50
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1005c4e0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f06e4
return "LegoLocomotionAnimPresenter";
}
// FUNCTION: LEGO1 0x1006ce50
// FUNCTION: BETA10 0x1005c4b0
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1006ce60
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -7,13 +7,20 @@
// SIZE 0xc0
class LegoLoopingAnimPresenter : public LegoAnimPresenter {
public:
// FUNCTION: LEGO1 0x1000c9a0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1005c6f0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f0700
return "LegoLoopingAnimPresenter";
}
// FUNCTION: LEGO1 0x1000c9a0
// FUNCTION: BETA10 0x1005c6c0
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000c9b0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -19,13 +19,20 @@ class LegoModelPresenter : public MxVideoPresenter {
static void configureLegoModelPresenter(MxS32 p_modelPresenterConfig);
// FUNCTION: LEGO1 0x1000ccb0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100a7180
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f067c
return "LegoModelPresenter";
}
// FUNCTION: LEGO1 0x1000ccb0
// FUNCTION: BETA10 0x100a7150
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000ccc0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -13,13 +13,20 @@ class LegoPalettePresenter : public MxVideoPresenter {
LegoPalettePresenter();
~LegoPalettePresenter() override; // vtable+0x00
// FUNCTION: LEGO1 0x10079f30
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100ab250
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f061c
return "LegoPalettePresenter";
}
// FUNCTION: LEGO1 0x10079f30
// FUNCTION: BETA10 0x100ab220
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x10079f40
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -13,13 +13,20 @@ class LegoPartPresenter : public MxMediaPresenter {
// FUNCTION: LEGO1 0x10067300
~LegoPartPresenter() override { Destroy(TRUE); }
// FUNCTION: LEGO1 0x1000cf70
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100a75d0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f05d8
return "LegoPartPresenter";
}
// FUNCTION: LEGO1 0x1000cf70
// FUNCTION: BETA10 0x100a75a0
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000cf80
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -11,13 +11,20 @@ class LegoPathPresenter : public MxMediaPresenter {
LegoPathPresenter();
~LegoPathPresenter() override;
// FUNCTION: LEGO1 0x100449a0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100c24d0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f0690
return "LegoPathPresenter";
}
// FUNCTION: LEGO1 0x100449a0
// FUNCTION: BETA10 0x100c24a0
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x100449b0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -15,13 +15,20 @@ class LegoPhonemePresenter : public MxFlcPresenter {
LegoPhonemePresenter();
~LegoPhonemePresenter() override; // vtable+0x00
// FUNCTION: LEGO1 0x1004e310
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100c4220
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f064c
return "LegoPhonemePresenter";
}
// FUNCTION: LEGO1 0x1004e310
// FUNCTION: BETA10 0x100c41f0
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
void StartingTickle() override; // vtable+0x1c
void EndAction() override; // vtable+0x40
void LoadFrame(MxStreamChunk* p_chunk) override; // vtable+0x68

View file

@ -15,13 +15,20 @@ class LegoRace : public LegoWorld {
MxLong Notify(MxParam& p_param) override; // vtable+0x04
// FUNCTION: LEGO1 0x10015ba0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100a8970
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f07c4
return "LegoRace";
}
// FUNCTION: LEGO1 0x10015ba0
// FUNCTION: BETA10 0x100a8940
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x10015bb0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -11,13 +11,20 @@ class LegoTexturePresenter : public MxMediaPresenter {
LegoTexturePresenter() : m_textures(NULL) {}
~LegoTexturePresenter() override;
// FUNCTION: LEGO1 0x1000ce50
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100a73c0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f0664
return "LegoTexturePresenter";
}
// FUNCTION: LEGO1 0x1000ce50
// FUNCTION: BETA10 0x100a7390
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000ce60
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -18,13 +18,20 @@ class LegoWorldPresenter : public LegoEntityPresenter {
static void configureLegoWorldPresenter(MxS32 p_legoWorldPresenterQuality);
// FUNCTION: LEGO1 0x10066630
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100e41c0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f0608
return "LegoWorldPresenter";
}
// FUNCTION: LEGO1 0x10066630
// FUNCTION: BETA10 0x100e4190
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x10066640
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -10,13 +10,20 @@ class MxAudioPresenter : public MxMediaPresenter {
public:
MxAudioPresenter() { m_volume = 100; }
// FUNCTION: LEGO1 0x1000d280
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1008cba0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f078c
return "MxAudioPresenter";
}
// FUNCTION: LEGO1 0x1000d280
// FUNCTION: BETA10 0x1008cb70
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000d290
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -18,13 +18,20 @@ class MxCompositePresenter : public MxPresenter {
MxLong Notify(MxParam& p_param) override; // vtable+0x04
// FUNCTION: LEGO1 0x100b6210
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1004da30
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f0774
return "MxCompositePresenter";
}
// FUNCTION: LEGO1 0x100b6210
// FUNCTION: BETA10 0x1004da00
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x100b6220
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -11,13 +11,20 @@ class MxEventPresenter : public MxMediaPresenter {
MxEventPresenter();
~MxEventPresenter() override;
// FUNCTION: LEGO1 0x100c2c30
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1012f0d0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x10101dcc
return "MxEventPresenter";
}
// FUNCTION: LEGO1 0x100c2c30
// FUNCTION: BETA10 0x10152f10
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x100c2c40
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -19,13 +19,20 @@ class MxFlcPresenter : public MxVideoPresenter {
return !strcmp(p_name, MxFlcPresenter::ClassName()) || MxVideoPresenter::IsA(p_name);
}
// FUNCTION: LEGO1 0x100b33f0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x10083790
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f43c8
return "MxFlcPresenter";
}
// FUNCTION: LEGO1 0x100b33f0
// FUNCTION: BETA10 0x10083760
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
void LoadHeader(MxStreamChunk* p_chunk) override; // vtable+0x5c
void CreateBitmap() override; // vtable+0x60
void LoadFrame(MxStreamChunk* p_chunk) override; // vtable+0x68

View file

@ -11,13 +11,20 @@ class MxLoopingFlcPresenter : public MxFlcPresenter {
MxLoopingFlcPresenter();
~MxLoopingFlcPresenter() override;
// FUNCTION: LEGO1 0x100b4380
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1012f050
static const char* HandlerClassName()
{
// STRING: LEGO1 0x10101e20
return "MxLoopingFlcPresenter";
}
// FUNCTION: LEGO1 0x100b4380
// FUNCTION: BETA10 0x1013c300
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
void RepeatingTickle() override; // vtable+0x24
MxResult AddToManager() override; // vtable+0x34
void Destroy() override; // vtable+0x38

View file

@ -7,13 +7,20 @@
// SIZE 0x58
class MxLoopingMIDIPresenter : public MxMIDIPresenter {
public:
// FUNCTION: LEGO1 0x100b1830
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1012f0b0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x10101de0
return "MxLoopingMIDIPresenter";
}
// FUNCTION: LEGO1 0x100b1830
// FUNCTION: BETA10 0x10143910
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x100b1840
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -11,13 +11,20 @@ class MxLoopingSmkPresenter : public MxSmkPresenter {
MxLoopingSmkPresenter();
~MxLoopingSmkPresenter() override; // vtable+0x00
// FUNCTION: LEGO1 0x100b4920
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1012f070
static const char* HandlerClassName()
{
// STRING: LEGO1 0x10101e08
return "MxLoopingSmkPresenter";
}
// FUNCTION: LEGO1 0x100b4920
// FUNCTION: BETA10 0x1013c360
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
void RepeatingTickle() override; // vtable+0x24
MxResult AddToManager() override; // vtable+0x34
void Destroy() override; // vtable+0x38

View file

@ -18,13 +18,20 @@ class MxMediaPresenter : public MxPresenter {
MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x1000c5c0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x10054f50
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f074c
return "MxMediaPresenter";
}
// FUNCTION: LEGO1 0x1000c5c0
// FUNCTION: BETA10 0x10054f20
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000c5d0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -12,13 +12,20 @@ class MxMIDIPresenter : public MxMusicPresenter {
MxMIDIPresenter();
~MxMIDIPresenter() override;
// FUNCTION: LEGO1 0x100c2650
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1012f090
static const char* HandlerClassName()
{
// STRING: LEGO1 0x10101df8
return "MxMIDIPresenter";
}
// FUNCTION: LEGO1 0x100c2650
// FUNCTION: BETA10 0x10143a90
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x100c2660
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -10,13 +10,20 @@ class MxMusicPresenter : public MxAudioPresenter {
MxMusicPresenter();
~MxMusicPresenter() override;
// FUNCTION: LEGO1 0x100c23a0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x10143a70
static const char* HandlerClassName()
{
// STRING: LEGO1 0x10101e48
return "MxMusicPresenter";
}
// FUNCTION: LEGO1 0x100c23a0
// FUNCTION: BETA10 0x10143a50
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x100c23b0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -33,13 +33,20 @@ class MxPresenter : public MxCore {
MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x1000bfe0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1004d9e0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f0740
return "MxPresenter";
}
// FUNCTION: LEGO1 0x1000bfe0
// FUNCTION: BETA10 0x1004d9b0
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000bff0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -12,13 +12,20 @@ class MxSmkPresenter : public MxVideoPresenter {
MxSmkPresenter();
~MxSmkPresenter() override;
// FUNCTION: LEGO1 0x100b3730
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1012f010
static const char* HandlerClassName()
{
// STRING: LEGO1 0x10101e38
return "MxSmkPresenter";
}
// FUNCTION: LEGO1 0x100b3730
// FUNCTION: BETA10 0x1013b8c0
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x100b3740
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -10,13 +10,20 @@ class MxSoundPresenter : public MxAudioPresenter {
// FUNCTION: LEGO1 0x1000d430
~MxSoundPresenter() override { Destroy(TRUE); }
// FUNCTION: LEGO1 0x1000d4a0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1008ca70
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f07a0
return "MxSoundPresenter";
}
// FUNCTION: LEGO1 0x1000d4a0
// FUNCTION: BETA10 0x1008ca40
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000d4b0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -13,13 +13,20 @@ class MxStillPresenter : public MxVideoPresenter {
// FUNCTION: LEGO1 0x10043550
~MxStillPresenter() override { Destroy(TRUE); } // vtable+0x00
// FUNCTION: LEGO1 0x100435c0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100980c0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f0184
return "MxStillPresenter";
}
// FUNCTION: LEGO1 0x100435c0
// FUNCTION: BETA10 0x10098090
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x100435d0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -17,13 +17,20 @@ class MxVideoPresenter : public MxMediaPresenter {
// FUNCTION: LEGO1 0x1000c740
~MxVideoPresenter() override { Destroy(TRUE); } // vtable+0x00
// FUNCTION: LEGO1 0x1000c820
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x100551b0
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f0760
return "MxVideoPresenter";
}
// FUNCTION: LEGO1 0x1000c820
// FUNCTION: BETA10 0x10055180
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000c830
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -15,13 +15,20 @@ class MxWavePresenter : public MxSoundPresenter {
// FUNCTION: LEGO1 0x1000d640
~MxWavePresenter() override { Destroy(TRUE); } // vtable+0x00
// FUNCTION: LEGO1 0x1000d6c0
inline const char* ClassName() const override // vtable+0x0c
// FUNCTION: BETA10 0x1008cd00
static const char* HandlerClassName()
{
// STRING: LEGO1 0x100f07b4
return "MxWavePresenter";
}
// FUNCTION: LEGO1 0x1000d6c0
// FUNCTION: BETA10 0x1008ccd0
inline const char* ClassName() const override // vtable+0x0c
{
return HandlerClassName();
}
// FUNCTION: LEGO1 0x1000d6d0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{

View file

@ -8,13 +8,22 @@
#include "mxdsanim.h"
#include "mxdssound.h"
#include "mxentity.h"
#include "mxeventpresenter.h"
#include "mxflcpresenter.h"
#include "mxloopingflcpresenter.h"
#include "mxloopingmidipresenter.h"
#include "mxloopingsmkpresenter.h"
#include "mxmidipresenter.h"
#include "mxmisc.h"
#include "mxnotificationmanager.h"
#include "mxobjectfactory.h"
#include "mxomni.h"
#include "mxparam.h"
#include "mxsmkpresenter.h"
#include "mxstillpresenter.h"
#include "mxstreamer.h"
#include "mxutilities.h"
#include "mxwavepresenter.h"
#include <string.h>
@ -175,6 +184,7 @@ void MxPresenter::Enable(MxBool p_enable)
}
// FUNCTION: LEGO1 0x100b5310
// FUNCTION: BETA10 0x1012e8bd
const char* PresenterNameDispatch(const MxDSAction& p_action)
{
const char* name = p_action.GetSourceName();
@ -186,10 +196,12 @@ const char* PresenterNameDispatch(const MxDSAction& p_action)
format = ((MxDSAnim&) p_action).GetMediaFormat();
switch (format) {
case FOURCC(' ', 'F', 'L', 'C'):
name = !p_action.IsLooping() ? "MxFlcPresenter" : "MxLoopingFlcPresenter";
name = !p_action.IsLooping() ? MxFlcPresenter::HandlerClassName()
: MxLoopingFlcPresenter::HandlerClassName();
break;
case FOURCC(' ', 'S', 'M', 'K'):
name = !p_action.IsLooping() ? "MxSmkPresenter" : "MxLoopingSmkPresenter";
name = !p_action.IsLooping() ? MxSmkPresenter::HandlerClassName()
: MxLoopingSmkPresenter::HandlerClassName();
break;
}
break;
@ -198,10 +210,11 @@ const char* PresenterNameDispatch(const MxDSAction& p_action)
format = ((MxDSSound&) p_action).GetMediaFormat();
switch (format) {
case FOURCC(' ', 'M', 'I', 'D'):
name = !p_action.IsLooping() ? "MxMIDIPresenter" : "MxLoopingMIDIPresenter";
name = !p_action.IsLooping() ? MxMIDIPresenter::HandlerClassName()
: MxLoopingMIDIPresenter::HandlerClassName();
break;
case FOURCC(' ', 'W', 'A', 'V'):
name = "MxWavePresenter";
name = MxWavePresenter::HandlerClassName();
break;
}
break;
@ -209,15 +222,15 @@ const char* PresenterNameDispatch(const MxDSAction& p_action)
case MxDSObject::e_serialAction:
case MxDSObject::e_parallelAction:
case MxDSObject::e_selectAction:
name = "MxCompositePresenter";
name = MxCompositePresenter::HandlerClassName();
break;
case MxDSObject::e_event:
name = "MxEventPresenter";
name = MxEventPresenter::HandlerClassName();
break;
case MxDSObject::e_still:
name = "MxStillPresenter";
name = MxStillPresenter::HandlerClassName();
break;
}
}