MxLong Tickle() -> MxResult Tickle() (#135)

* MxLong Tickle() -> MxResult Tickle()

* Remove garbage

* Fix implementations
This commit is contained in:
Christian Semmler 2023-09-21 14:51:24 -04:00 committed by GitHub
parent 611afb7799
commit b4258da0f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 31 additions and 31 deletions

View file

@ -21,7 +21,7 @@ MxLong Act2Brick::Notify(MxParam &p)
} }
// OFFSET: LEGO1 0x1007a7f0 STUB // OFFSET: LEGO1 0x1007a7f0 STUB
MxLong Act2Brick::Tickle() MxResult Act2Brick::Tickle()
{ {
// TODO // TODO

View file

@ -12,7 +12,7 @@ public:
virtual ~Act2Brick() override; // vtable+0x0 virtual ~Act2Brick() override; // vtable+0x0
virtual MxLong Notify(MxParam &p) override; // vtable+0x4 virtual MxLong Notify(MxParam &p) override; // vtable+0x4
virtual MxLong Tickle() override; // vtable+0x08 virtual MxResult Tickle() override; // vtable+0x08
// OFFSET: LEGO1 0x1007a360 // OFFSET: LEGO1 0x1007a360
inline virtual const char *ClassName() const override // vtable+0x0c inline virtual const char *ClassName() const override // vtable+0x0c

View file

@ -21,7 +21,7 @@ MxLong GasStation::Notify(MxParam &p)
} }
// OFFSET: LEGO1 0x10005c90 STUB // OFFSET: LEGO1 0x10005c90 STUB
MxLong GasStation::Tickle() MxResult GasStation::Tickle()
{ {
// TODO // TODO

View file

@ -13,7 +13,7 @@ public:
virtual ~GasStation() override; // vtable+0x0 virtual ~GasStation() override; // vtable+0x0
virtual MxLong Notify(MxParam &p) override; // vtable+0x4 virtual MxLong Notify(MxParam &p) override; // vtable+0x4
virtual MxLong Tickle() override; // vtable+0x8 virtual MxResult Tickle() override; // vtable+0x8
// OFFSET: LEGO1 0x10004780 // OFFSET: LEGO1 0x10004780
inline virtual const char *ClassName() const override // vtable+0x0c inline virtual const char *ClassName() const override // vtable+0x0c

View file

@ -21,7 +21,7 @@ MxLong Infocenter::Notify(MxParam &p)
} }
// OFFSET: LEGO1 0x10070af0 STUB // OFFSET: LEGO1 0x10070af0 STUB
MxLong Infocenter::Tickle() MxResult Infocenter::Tickle()
{ {
// TODO // TODO

View file

@ -12,7 +12,7 @@ public:
virtual ~Infocenter() override; virtual ~Infocenter() override;
virtual MxLong Notify(MxParam &p) override; // vtable+0x4 virtual MxLong Notify(MxParam &p) override; // vtable+0x4
virtual MxLong Tickle() override; // vtable+0x8 virtual MxResult Tickle() override; // vtable+0x8
// OFFSET: LEGO1 0x1006eb40 // OFFSET: LEGO1 0x1006eb40
inline virtual const char *ClassName() const override // vtable+0x0c inline virtual const char *ClassName() const override // vtable+0x0c

View file

@ -23,7 +23,7 @@ MxLong LegoAnimationManager::Notify(MxParam &p)
} }
// OFFSET: LEGO1 0x10061cc0 STUB // OFFSET: LEGO1 0x10061cc0 STUB
MxLong LegoAnimationManager::Tickle() MxResult LegoAnimationManager::Tickle()
{ {
// TODO // TODO

View file

@ -12,7 +12,7 @@ public:
virtual ~LegoAnimationManager() override; // vtable+0x0 virtual ~LegoAnimationManager() override; // vtable+0x0
virtual MxLong Notify(MxParam &p) override; // vtable+0x4 virtual MxLong Notify(MxParam &p) override; // vtable+0x4
virtual MxLong Tickle() override; // vtable+0x8 virtual MxResult Tickle() override; // vtable+0x8
// OFFSET: LEGO1 0x1005ec80 // OFFSET: LEGO1 0x1005ec80
inline virtual const char *ClassName() const override // vtable+0x0c inline virtual const char *ClassName() const override // vtable+0x0c

View file

@ -21,7 +21,7 @@ MxLong LegoCarBuild::Notify(MxParam &p)
} }
// OFFSET: LEGO1 0x100238b0 STUB // OFFSET: LEGO1 0x100238b0 STUB
MxLong LegoCarBuild::Tickle() MxResult LegoCarBuild::Tickle()
{ {
// TODO // TODO

View file

@ -12,7 +12,7 @@ public:
virtual ~LegoCarBuild() override; virtual ~LegoCarBuild() override;
virtual MxLong Notify(MxParam &p) override; // vtable+0x4 virtual MxLong Notify(MxParam &p) override; // vtable+0x4
virtual MxLong Tickle() override; // vtable+0x8 virtual MxResult Tickle() override; // vtable+0x8
// OFFSET: LEGO1 0x10022940 // OFFSET: LEGO1 0x10022940
inline virtual const char *ClassName() const override // vtable+0x0c inline virtual const char *ClassName() const override // vtable+0x0c

View file

@ -13,7 +13,7 @@ LegoControlManager::~LegoControlManager()
} }
// OFFSET: LEGO1 0x10029600 STUB // OFFSET: LEGO1 0x10029600 STUB
MxLong LegoControlManager::Tickle() MxResult LegoControlManager::Tickle()
{ {
// TODO // TODO

View file

@ -10,7 +10,7 @@ public:
LegoControlManager(); LegoControlManager();
virtual ~LegoControlManager() override; // vtable+0x0 virtual ~LegoControlManager() override; // vtable+0x0
virtual MxLong Tickle() override; // vtable+0x8 virtual MxResult Tickle() override; // vtable+0x8
// OFFSET: LEGO1 0x10028cb0 // OFFSET: LEGO1 0x10028cb0
inline virtual const char *ClassName() const override // vtable+0x0c inline virtual const char *ClassName() const override // vtable+0x0c

View file

@ -35,7 +35,7 @@ void LegoInputManager::UnRegister(MxCore *)
} }
// OFFSET: LEGO1 0x1005b8b0 STUB // OFFSET: LEGO1 0x1005b8b0 STUB
MxLong LegoInputManager::Tickle() MxResult LegoInputManager::Tickle()
{ {
// TODO // TODO

View file

@ -26,7 +26,7 @@ public:
__declspec(dllexport) void Register(MxCore *); __declspec(dllexport) void Register(MxCore *);
__declspec(dllexport) void UnRegister(MxCore *); __declspec(dllexport) void UnRegister(MxCore *);
virtual MxLong Tickle() override; // vtable+0x8 virtual MxResult Tickle() override; // vtable+0x8
undefined m_pad40[0x15c]; undefined m_pad40[0x15c];
int m_joystickIndex; int m_joystickIndex;

View file

@ -13,7 +13,7 @@ LegoPathController::~LegoPathController()
} }
// OFFSET: LEGO1 0x10045c10 STUB // OFFSET: LEGO1 0x10045c10 STUB
MxLong LegoPathController::Tickle() MxResult LegoPathController::Tickle()
{ {
// TODO // TODO
return 0; return 0;

View file

@ -11,7 +11,7 @@ public:
LegoPathController(); LegoPathController();
virtual ~LegoPathController() override; virtual ~LegoPathController() override;
virtual MxLong Tickle() override; // vtable+08 virtual MxResult Tickle() override; // vtable+08
// OFFSET: LEGO1 0x10045110 // OFFSET: LEGO1 0x10045110
inline const char *ClassName() const override // vtable+0xc inline const char *ClassName() const override // vtable+0xc

View file

@ -13,7 +13,7 @@ LegoPlantManager::~LegoPlantManager()
} }
// OFFSET: LEGO1 0x10026e00 STUB // OFFSET: LEGO1 0x10026e00 STUB
MxLong LegoPlantManager::Tickle() MxResult LegoPlantManager::Tickle()
{ {
// TODO // TODO

View file

@ -11,7 +11,7 @@ public:
LegoPlantManager(); LegoPlantManager();
virtual ~LegoPlantManager() override; // vtable+0x0 virtual ~LegoPlantManager() override; // vtable+0x0
virtual MxLong Tickle() override; // vtable+0x8 virtual MxResult Tickle() override; // vtable+0x8
// OFFSET: LEGO1 0x10026290 // OFFSET: LEGO1 0x10026290
inline const char *ClassName() const override // vtable+0xc inline const char *ClassName() const override // vtable+0xc

View file

@ -13,7 +13,7 @@ LegoSoundManager::~LegoSoundManager()
} }
// OFFSET: LEGO1 0x1002a3a0 STUB // OFFSET: LEGO1 0x1002a3a0 STUB
MxLong LegoSoundManager::Tickle() MxResult LegoSoundManager::Tickle()
{ {
// TODO // TODO
return 0; return 0;

View file

@ -10,7 +10,7 @@ class LegoSoundManager : public MxSoundManager
public: public:
LegoSoundManager(); LegoSoundManager();
virtual ~LegoSoundManager() override; virtual ~LegoSoundManager() override;
virtual MxLong Tickle() override; // vtable+08 virtual MxResult Tickle() override; // vtable+08
private: private:
void Init(); void Init();

View file

@ -22,7 +22,7 @@ MxLong MxCore::Notify(MxParam &p)
} }
// OFFSET: LEGO1 0x10001f70 // OFFSET: LEGO1 0x10001f70
MxLong MxCore::Tickle() MxResult MxCore::Tickle()
{ {
return 0; return 0;
} }

View file

@ -13,7 +13,7 @@ MxDiskStreamController::~MxDiskStreamController()
} }
// OFFSET: LEGO1 0x100c8640 STUB // OFFSET: LEGO1 0x100c8640 STUB
MxLong MxDiskStreamController::Tickle() MxResult MxDiskStreamController::Tickle()
{ {
// TODO // TODO

View file

@ -14,7 +14,7 @@ public:
MxDiskStreamController(); MxDiskStreamController();
virtual ~MxDiskStreamController() override; virtual ~MxDiskStreamController() override;
virtual MxLong Tickle() override; // vtable+0x8 virtual MxResult Tickle() override; // vtable+0x8
// OFFSET: LEGO1 0x100c7360 // OFFSET: LEGO1 0x100c7360
inline virtual const char *ClassName() const override // vtable+0x0c inline virtual const char *ClassName() const override // vtable+0x0c

View file

@ -3,7 +3,7 @@
DECOMP_SIZE_ASSERT(MxMediaPresenter, 0x50); DECOMP_SIZE_ASSERT(MxMediaPresenter, 0x50);
// OFFSET: LEGO1 0x100b5d10 STUB // OFFSET: LEGO1 0x100b5d10 STUB
MxLong MxMediaPresenter::Tickle() MxResult MxMediaPresenter::Tickle()
{ {
// TODO // TODO
return 0; return 0;

View file

@ -14,7 +14,7 @@ public:
Init(); Init();
} }
virtual MxLong Tickle() override; // vtable+0x8, override MxCore virtual MxResult Tickle() override; // vtable+0x8, override MxCore
// OFFSET: LEGO1 0x1000c5c0 // OFFSET: LEGO1 0x1000c5c0
inline virtual const char *ClassName() const override // vtable+0xc inline virtual const char *ClassName() const override // vtable+0xc

View file

@ -79,7 +79,7 @@ MxPresenter::~MxPresenter()
} }
// OFFSET: LEGO1 0x100b5200 // OFFSET: LEGO1 0x100b5200
MxLong MxPresenter::Tickle() MxResult MxPresenter::Tickle()
{ {
MxAutoLocker lock(&this->m_criticalSection); MxAutoLocker lock(&this->m_criticalSection);

View file

@ -29,7 +29,7 @@ public:
MxPresenter() { Init(); } MxPresenter() { Init(); }
__declspec(dllexport) virtual ~MxPresenter(); // vtable+0x0 __declspec(dllexport) virtual ~MxPresenter(); // vtable+0x0
__declspec(dllexport) virtual MxLong Tickle() override; // vtable+0x8 __declspec(dllexport) virtual MxResult Tickle() override; // vtable+0x8
// OFFSET: LEGO1 0x1000bfe0 // OFFSET: LEGO1 0x1000bfe0
inline virtual const char *ClassName() const override// vtable+0xc inline virtual const char *ClassName() const override// vtable+0xc

View file

@ -13,7 +13,7 @@ MxTransitionManager::~MxTransitionManager()
} }
// OFFSET: LEGO1 0x1004bac0 STUB // OFFSET: LEGO1 0x1004bac0 STUB
MxLong MxTransitionManager::Tickle() MxResult MxTransitionManager::Tickle()
{ {
// TODO // TODO

View file

@ -14,7 +14,7 @@ public:
__declspec(dllexport) void SetWaitIndicator(MxVideoPresenter *videoPresenter); __declspec(dllexport) void SetWaitIndicator(MxVideoPresenter *videoPresenter);
virtual MxLong Tickle(); // vtable+0x8 virtual MxResult Tickle(); // vtable+0x8
}; };
#endif // MXTRANSITIONMANAGER_H #endif // MXTRANSITIONMANAGER_H

View file

@ -15,7 +15,7 @@ MxVideoManager::~MxVideoManager()
} }
// OFFSET: LEGO1 0x100bea90 // OFFSET: LEGO1 0x100bea90
MxLong MxVideoManager::Tickle() MxResult MxVideoManager::Tickle()
{ {
MxAutoLocker lock(&this->m_criticalSection); MxAutoLocker lock(&this->m_criticalSection);

View file

@ -13,7 +13,7 @@ class MxVideoManager : public MxMediaManager
public: public:
virtual ~MxVideoManager(); virtual ~MxVideoManager();
virtual MxLong Tickle(); // vtable+0x8 virtual MxResult Tickle(); // vtable+0x8
__declspec(dllexport) void InvalidateRect(MxRect32 &); __declspec(dllexport) void InvalidateRect(MxRect32 &);
__declspec(dllexport) virtual MxLong RealizePalette(MxPalette *); // vtable+0x30 __declspec(dllexport) virtual MxLong RealizePalette(MxPalette *); // vtable+0x30