mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -05:00
ceb5339369
* implement parts of legoworld/infocenter * Update infocenter.cpp * Update infocenter.cpp * Update infocenter.cpp * Update infocenter.cpp * Update infocenter.cpp * Match LegoWorld::Tickle --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
36 lines
1.1 KiB
C++
36 lines
1.1 KiB
C++
#ifndef INFOCENTER_H
|
|
#define INFOCENTER_H
|
|
|
|
#include "legoworld.h"
|
|
|
|
// VTABLE: LEGO1 0x100d9338
|
|
// SIZE 0x1d8
|
|
class Infocenter : public LegoWorld {
|
|
public:
|
|
Infocenter();
|
|
virtual ~Infocenter() override;
|
|
|
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
|
virtual MxResult Tickle() override; // vtable+0x8
|
|
|
|
// FUNCTION: LEGO1 0x1006eb40
|
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f04ec
|
|
return "Infocenter";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1006eb50
|
|
inline virtual MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, Infocenter::ClassName()) || LegoWorld::IsA(p_name);
|
|
}
|
|
|
|
virtual MxResult Create(MxDSObject& p_dsObject) override; // vtable+0x18
|
|
virtual void Stop() override; // vtable+0x50
|
|
virtual MxBool VTable0x5c() override; // vtable+0x5c
|
|
virtual MxBool VTable0x64() override; // vtable+0x64
|
|
virtual void VTable0x68(MxBool p_add) override; // vtable+0x68
|
|
};
|
|
|
|
#endif // INFOCENTER_H
|