mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-12 03:01:17 +00:00
I haven't yet:
- Ensured CMake is generating the same cl flags as Developer Studio (ditto..)
The old IDE makefiles are left in attic/ if anyone wants to try matching flags
Source structure has been slightly modified:
Uppercase directories moved to lowercase
isle/res -> isle/src/res (I'm a bit dubious of this myself but eh)
isle/*.{cpp, h} -> isle/src
lego1/*.h -> lego1/include
lego1/*.cpp -> lego1/src
All mixed/upper includes have additionally been changed to lowercase,
for compatibility with building on both Windows and Linux.
25 lines
507 B
C++
25 lines
507 B
C++
#ifndef LEGOINPUTMANAGER_H
|
|
#define LEGOINPUTMANAGER_H
|
|
|
|
__declspec(dllexport) enum NotificationId
|
|
{
|
|
NONE = 0x0,
|
|
KEYDOWN = 0x7,
|
|
MOUSEUP = 0x8,
|
|
MOUSEDOWN = 0x9,
|
|
MOUSEMOVE = 0x10,
|
|
TIMER = 0xF
|
|
};
|
|
|
|
class LegoInputManager
|
|
{
|
|
public:
|
|
__declspec(dllexport) void QueueEvent(NotificationId id, unsigned char p2, long p3, long p4, unsigned char p5);
|
|
__declspec(dllexport) void Register(MxCore *);
|
|
__declspec(dllexport) void UnRegister(MxCore *);
|
|
|
|
int m_unk00[0x400];
|
|
};
|
|
|
|
#endif // LEGOINPUTMANAGER_H
|