mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -05:00
e16249b672
* define MxLong/MxULong The "long" type has different sizes on different platforms, and this may cause issues. * use DWORD to match RegQueryValueExA arg
27 lines
588 B
C++
27 lines
588 B
C++
#ifndef DEFINE_H
|
|
#define DEFINE_H
|
|
|
|
#include <mxtypes.h>
|
|
#include <windows.h>
|
|
|
|
class IsleApp;
|
|
|
|
extern IsleApp *g_isle;
|
|
extern int g_closed;
|
|
// 0x4101c4
|
|
#define WNDCLASS_NAME "Lego Island MainNoM App"
|
|
// 0x4101dc
|
|
#define WINDOW_TITLE "LEGO\xAE"
|
|
extern unsigned char g_mousedown;
|
|
extern unsigned char g_mousemoved;
|
|
extern RECT g_windowRect;
|
|
extern int g_rmDisabled;
|
|
extern int g_waitingForTargetDepth;
|
|
extern int g_targetWidth;
|
|
extern int g_targetHeight;
|
|
extern int g_targetDepth;
|
|
extern int g_reqEnableRMDevice;
|
|
extern int g_startupDelay;
|
|
extern MxLong g_lastFrameTime;
|
|
|
|
#endif // DEFINE_H
|