mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-03 13:41:15 +00:00
address feedback
This commit is contained in:
parent
c3aa91518b
commit
12c9027d74
@ -31,11 +31,7 @@ class LegoInputManager : public MxPresenter
|
||||
undefined m_pad40[0x48];
|
||||
|
||||
MxBool m_unk88;
|
||||
MxU8 m_unk89;
|
||||
MxU8 m_unk8a;
|
||||
MxU8 m_unk8b;
|
||||
|
||||
undefined m_pad8c[0x110];
|
||||
undefined m_unk89[0x113];
|
||||
|
||||
// 0x19C
|
||||
int m_joystickIndex;
|
||||
@ -45,9 +41,9 @@ class LegoInputManager : public MxPresenter
|
||||
// 0x334
|
||||
MxBool m_useJoystick;
|
||||
|
||||
MxU8 m_unk335;
|
||||
undefined m_unk335;
|
||||
MxBool m_unk336;
|
||||
MxU8 m_unk337;
|
||||
undefined m_unk337;
|
||||
};
|
||||
|
||||
#endif // LEGOINPUTMANAGER_H
|
||||
|
||||
@ -23,6 +23,7 @@ class LegoVideoManager : public MxVideoManager
|
||||
inline MxDirect3D *GetDirect3D() { return this->m_direct3d; }
|
||||
|
||||
void SetSkyColor(float r, float g, float b);
|
||||
inline void SetUnkE4(MxBool p_value) { this->m_unke4 = p_value; }
|
||||
|
||||
private:
|
||||
undefined4 m_unk64;
|
||||
@ -30,6 +31,8 @@ class LegoVideoManager : public MxVideoManager
|
||||
undefined4 m_unk6c;
|
||||
undefined4 m_unk70;
|
||||
MxDirect3D *m_direct3d;
|
||||
undefined m_pad78[0x6c];
|
||||
MxBool m_unke4;
|
||||
};
|
||||
|
||||
#endif // LEGOVIDEOMANAGER_H
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
#include "mxtransitionmanager.h"
|
||||
#include "legovideomanager.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(MxTransitionManager, 0x900);
|
||||
|
||||
// OFFSET: LEGO1 0x1004b8d0 STUB
|
||||
MxTransitionManager::MxTransitionManager()
|
||||
@ -36,7 +39,7 @@ MxResult MxTransitionManager::GetDDrawSurfaceFromVideoManager() // vtable+0x14
|
||||
|
||||
// OFFSET: LEGO1 0x1004bb70
|
||||
MxResult MxTransitionManager::StartTransition(TransitionType p_animationType, MxS32 p_speed,
|
||||
MxU8 p_unk, MxBool p_playMusicInAnim)
|
||||
undefined p_unk, MxBool p_playMusicInAnim)
|
||||
{
|
||||
// TODO: Incomplete and far from matching
|
||||
|
||||
@ -61,7 +64,7 @@ MxResult MxTransitionManager::StartTransition(TransitionType p_animationType, Mx
|
||||
inputManager->m_unk88 = TRUE;
|
||||
inputManager->m_unk336 = FALSE;
|
||||
|
||||
MxVideoManager *videoManager = VideoManager();
|
||||
LegoVideoManager *videoManager = VideoManager();
|
||||
videoManager->SetUnkE4(FALSE);
|
||||
|
||||
SetAppCursor(1);
|
||||
|
||||
@ -3,7 +3,6 @@
|
||||
|
||||
#include "mxcore.h"
|
||||
#include "mxvideopresenter.h"
|
||||
#include "legovideomanager.h"
|
||||
#include "legoomni.h"
|
||||
|
||||
|
||||
@ -42,7 +41,7 @@ class MxTransitionManager : public MxCore
|
||||
BROKEN // Unknown what this is supposed to be, it locks the game up
|
||||
};
|
||||
|
||||
MxResult StartTransition(TransitionType p_animationType, MxS32 p_speed, MxU8 p_unk, MxBool p_playMusicInAnim);
|
||||
MxResult StartTransition(TransitionType p_animationType, MxS32 p_speed, undefined p_unk, MxBool p_playMusicInAnim);
|
||||
|
||||
private:
|
||||
undefined m_pad00[0x20];
|
||||
|
||||
@ -27,7 +27,6 @@ class MxVideoManager : public MxMediaManager
|
||||
inline MxVideoParam& GetVideoParam() { return this->m_videoParam; }
|
||||
inline LPDIRECTDRAW GetDirectDraw() { return this->m_pDirectDraw; }
|
||||
inline MxDisplaySurface *GetDisplaySurface() { return this->m_displaySurface; }
|
||||
inline void SetUnkE4(MxBool p_value) { this->m_unke4 = p_value; }
|
||||
private:
|
||||
MxVideoParam m_videoParam;
|
||||
LPDIRECTDRAW m_pDirectDraw;
|
||||
@ -35,8 +34,6 @@ class MxVideoManager : public MxMediaManager
|
||||
MxDisplaySurface *m_displaySurface;
|
||||
MxRegion *m_region;
|
||||
MxBool m_unk60;
|
||||
undefined m_pad61[84];
|
||||
MxBool m_unke4;
|
||||
};
|
||||
|
||||
#endif // MXVIDEOMANAGER_H
|
||||
|
||||
Loading…
Reference in New Issue
Block a user