mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
24ec7023bd
* match WinProc * minor accuracy improvement * WndProc at 50% * fix WM_DISPLAYCHANGE branching * fix type * fix x/y comparison * WndProc 82% * 84% * 97% * rearrange functions to get close to the original * remove newline * inline no longer necessary * merge
26 lines
559 B
C++
26 lines
559 B
C++
#ifndef DEFINE_H
|
|
#define DEFINE_H
|
|
|
|
#include "legoinc.h"
|
|
|
|
class Isle;
|
|
|
|
extern Isle *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 long g_lastFrameTime;
|
|
|
|
#endif // DEFINE_H
|