mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 01:17:55 -05:00
lego1: fix/match some ClassName functions (#60)
This commit is contained in:
parent
566e107290
commit
6761345c8c
8 changed files with 18 additions and 7 deletions
|
@ -24,7 +24,7 @@ class LegoAnimationManager : public MxCore
|
||||||
// OFFSET: LEGO1 0x1005ec90
|
// OFFSET: LEGO1 0x1005ec90
|
||||||
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(name, LegoAnimationManager::ClassName()) || MxCore::IsA(name);
|
return !strcmp(name, ClassName()) || MxCore::IsA(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
__declspec(dllexport) static void configureLegoAnimationManager(int param_1);
|
__declspec(dllexport) static void configureLegoAnimationManager(int param_1);
|
||||||
|
|
|
@ -21,7 +21,7 @@ class LegoCameraController : public MxCore
|
||||||
// OFFSET: LEGO1 0x10011ed0
|
// OFFSET: LEGO1 0x10011ed0
|
||||||
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(name, LegoCameraController::ClassName()) || MxCore::IsA(name);
|
return !strcmp(name, ClassName()) || MxCore::IsA(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -20,7 +20,7 @@ class LegoHideAnimPresenter : public LegoLoopingAnimPresenter
|
||||||
// OFFSET: LEGO1 0x1006d890
|
// OFFSET: LEGO1 0x1006d890
|
||||||
inline MxBool IsA(const char *name) const override // vtable+0x10
|
inline MxBool IsA(const char *name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(name, LegoHideAnimPresenter::ClassName()) || LegoAnimPresenter::IsA(name);
|
return !strcmp(name, ClassName()) || LegoAnimPresenter::IsA(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -19,7 +19,7 @@ class LegoLocomotionAnimPresenter : public LegoLoopingAnimPresenter
|
||||||
// OFFSET: LEGO1 0x1006ce60
|
// OFFSET: LEGO1 0x1006ce60
|
||||||
inline MxBool IsA(const char *name) const override // vtable+0x10
|
inline MxBool IsA(const char *name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(name, LegoLocomotionAnimPresenter::ClassName()) || LegoLoopingAnimPresenter::IsA(name);
|
return !strcmp(name, ClassName()) || LegoLoopingAnimPresenter::IsA(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -18,7 +18,7 @@ class LegoLoopingAnimPresenter : public LegoAnimPresenter
|
||||||
// OFFSET: LEGO1 0x1000c9b0
|
// OFFSET: LEGO1 0x1000c9b0
|
||||||
inline MxBool IsA(const char *name) const override // vtable+0x10
|
inline MxBool IsA(const char *name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(name, LegoLoopingAnimPresenter::ClassName()) || LegoAnimPresenter::IsA(name);
|
return !strcmp(name, ClassName()) || LegoAnimPresenter::IsA(name);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ class LegoNavController : public MxCore
|
||||||
// OFFSET: LEGO1 0x10054b90
|
// OFFSET: LEGO1 0x10054b90
|
||||||
inline MxBool IsA(const char *name) const override // vtable+0x10
|
inline MxBool IsA(const char *name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(name, LegoNavController::ClassName()) || MxCore::IsA(name);
|
return !strcmp(name, ClassName()) || MxCore::IsA(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetControlMax(int p_hMax, int p_vMax);
|
void SetControlMax(int p_hMax, int p_vMax);
|
||||||
|
|
|
@ -21,7 +21,7 @@ class LegoPalettePresenter : public MxVideoPresenter
|
||||||
// OFFSET: LEGO1 0x10079f40
|
// OFFSET: LEGO1 0x10079f40
|
||||||
inline MxBool IsA(const char *name) const override // vtable+0x10
|
inline MxBool IsA(const char *name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(name, LegoPalettePresenter::ClassName()) || MxVideoPresenter::IsA(name);
|
return !strcmp(name, ClassName()) || MxVideoPresenter::IsA(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -6,7 +6,18 @@
|
||||||
// VTABLE 0x100dd100
|
// VTABLE 0x100dd100
|
||||||
class MxStreamProvider : public MxCore
|
class MxStreamProvider : public MxCore
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
|
// OFFSET: LEGO1 0x100d07e0
|
||||||
|
inline virtual const char *ClassName() const override // vtable+0x0c
|
||||||
|
{
|
||||||
|
return "MxStreamProvider";
|
||||||
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x100d07f0
|
||||||
|
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
||||||
|
{
|
||||||
|
return !strcmp(name, MxStreamProvider::ClassName()) || MxCore::IsA(name);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // MXSTREAMPROVIDER_H
|
#endif // MXSTREAMPROVIDER_H
|
||||||
|
|
Loading…
Reference in a new issue