mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 23:57:54 -05:00
44c3ae478b
* implement some of MxTransitionManager start working on MxTransitionManager::StartTransition add TransitionType enum implement/match MxTransitionManager::GetDDrawSurfaceFromVideoManager implement/match global function SetAppCursor * remove offset comment from mxomni.h * remove misc offset comments from mxtransitionmanager.h * address feedback * merge m_unk20-24 into pad
49 lines
913 B
C++
49 lines
913 B
C++
#ifndef LEGOINPUTMANAGER_H
|
|
#define LEGOINPUTMANAGER_H
|
|
|
|
#include "decomp.h"
|
|
#include "mxpresenter.h"
|
|
|
|
enum NotificationId
|
|
{
|
|
NONE = 0,
|
|
KEYDOWN = 7,
|
|
MOUSEUP = 8,
|
|
MOUSEDOWN = 9,
|
|
MOUSEMOVE = 10,
|
|
TIMER = 15
|
|
};
|
|
|
|
// VTABLE 0x100d8760
|
|
// SIZE 0x338
|
|
class LegoInputManager : public MxPresenter
|
|
{
|
|
public:
|
|
LegoInputManager();
|
|
virtual ~LegoInputManager() override;
|
|
|
|
__declspec(dllexport) void QueueEvent(NotificationId id, unsigned char p2, MxLong p3, MxLong p4, unsigned char p5);
|
|
__declspec(dllexport) void Register(MxCore *);
|
|
__declspec(dllexport) void UnRegister(MxCore *);
|
|
|
|
virtual MxResult Tickle() override; // vtable+0x8
|
|
|
|
undefined m_pad40[0x48];
|
|
|
|
MxBool m_unk88;
|
|
undefined m_unk89[0x113];
|
|
|
|
// 0x19C
|
|
int m_joystickIndex;
|
|
|
|
undefined m_pad1a0[0x194];
|
|
|
|
// 0x334
|
|
MxBool m_useJoystick;
|
|
|
|
undefined m_unk335;
|
|
MxBool m_unk336;
|
|
undefined m_unk337;
|
|
};
|
|
|
|
#endif // LEGOINPUTMANAGER_H
|