mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-29 19:16:05 -05:00
e7b5ea53df
Was intended as a simple code improvement, however it also seems to make WinMain, MxString::operator=, MxDSFile::Open 100% (all of which just needed registers to be switched around)
26 lines
565 B
C++
26 lines
565 B
C++
#ifndef DEFINE_H
|
|
#define DEFINE_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 long g_lastFrameTime;
|
|
|
|
#endif // DEFINE_H
|