mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-30 19:51:15 +00:00
Remove define.cpp
This commit is contained in:
parent
6f8a3bc648
commit
d7f823958c
@ -415,7 +415,6 @@ set_property(TARGET lego1 PROPERTY SUFFIX ".DLL")
|
|||||||
if (ISLE_BUILD_APP)
|
if (ISLE_BUILD_APP)
|
||||||
add_executable(isle WIN32
|
add_executable(isle WIN32
|
||||||
ISLE/res/isle.rc
|
ISLE/res/isle.rc
|
||||||
ISLE/define.cpp
|
|
||||||
ISLE/isleapp.cpp
|
ISLE/isleapp.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -1,34 +0,0 @@
|
|||||||
#include "define.h"
|
|
||||||
|
|
||||||
// GLOBAL: ISLE 0x410030
|
|
||||||
IsleApp* g_isle = 0;
|
|
||||||
|
|
||||||
// GLOBAL: ISLE 0x410034
|
|
||||||
unsigned char g_mousedown = 0;
|
|
||||||
|
|
||||||
// GLOBAL: ISLE 0x410038
|
|
||||||
unsigned char g_mousemoved = 0;
|
|
||||||
|
|
||||||
// GLOBAL: ISLE 0x41003c
|
|
||||||
int g_closed = 0;
|
|
||||||
|
|
||||||
// GLOBAL: ISLE 0x410040
|
|
||||||
RECT g_windowRect = {0, 0, 640, 480};
|
|
||||||
|
|
||||||
// GLOBAL: ISLE 0x410050
|
|
||||||
int g_rmDisabled = 0;
|
|
||||||
|
|
||||||
// GLOBAL: ISLE 0x410054
|
|
||||||
int g_waitingForTargetDepth = 1;
|
|
||||||
|
|
||||||
// GLOBAL: ISLE 0x410058
|
|
||||||
int g_targetWidth = 640;
|
|
||||||
|
|
||||||
// GLOBAL: ISLE 0x41005c
|
|
||||||
int g_targetHeight = 480;
|
|
||||||
|
|
||||||
// GLOBAL: ISLE 0x410060
|
|
||||||
int g_targetDepth = 16;
|
|
||||||
|
|
||||||
// GLOBAL: ISLE 0x410064
|
|
||||||
int g_reqEnableRMDevice = 0;
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
#ifndef DEFINE_H
|
|
||||||
#define DEFINE_H
|
|
||||||
|
|
||||||
#include <mxtypes.h>
|
|
||||||
#include <windows.h>
|
|
||||||
|
|
||||||
class IsleApp;
|
|
||||||
|
|
||||||
extern IsleApp* g_isle;
|
|
||||||
extern int g_closed;
|
|
||||||
// STRING: ISLE 0x4101c4
|
|
||||||
#define WNDCLASS_NAME "Lego Island MainNoM App"
|
|
||||||
// STRING: ISLE 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;
|
|
||||||
|
|
||||||
#endif // DEFINE_H
|
|
||||||
@ -26,6 +26,45 @@
|
|||||||
|
|
||||||
DECOMP_SIZE_ASSERT(IsleApp, 0x8c)
|
DECOMP_SIZE_ASSERT(IsleApp, 0x8c)
|
||||||
|
|
||||||
|
// GLOBAL: ISLE 0x410030
|
||||||
|
IsleApp* g_isle = 0;
|
||||||
|
|
||||||
|
// GLOBAL: ISLE 0x410034
|
||||||
|
unsigned char g_mousedown = 0;
|
||||||
|
|
||||||
|
// GLOBAL: ISLE 0x410038
|
||||||
|
unsigned char g_mousemoved = 0;
|
||||||
|
|
||||||
|
// GLOBAL: ISLE 0x41003c
|
||||||
|
int g_closed = 0;
|
||||||
|
|
||||||
|
// GLOBAL: ISLE 0x410040
|
||||||
|
RECT g_windowRect = {0, 0, 640, 480};
|
||||||
|
|
||||||
|
// GLOBAL: ISLE 0x410050
|
||||||
|
int g_rmDisabled = 0;
|
||||||
|
|
||||||
|
// GLOBAL: ISLE 0x410054
|
||||||
|
int g_waitingForTargetDepth = 1;
|
||||||
|
|
||||||
|
// GLOBAL: ISLE 0x410058
|
||||||
|
int g_targetWidth = 640;
|
||||||
|
|
||||||
|
// GLOBAL: ISLE 0x41005c
|
||||||
|
int g_targetHeight = 480;
|
||||||
|
|
||||||
|
// GLOBAL: ISLE 0x410060
|
||||||
|
int g_targetDepth = 16;
|
||||||
|
|
||||||
|
// GLOBAL: ISLE 0x410064
|
||||||
|
int g_reqEnableRMDevice = 0;
|
||||||
|
|
||||||
|
// STRING: ISLE 0x4101c4
|
||||||
|
#define WNDCLASS_NAME "Lego Island MainNoM App"
|
||||||
|
|
||||||
|
// STRING: ISLE 0x4101dc
|
||||||
|
#define WINDOW_TITLE "LEGO\xAE"
|
||||||
|
|
||||||
// Might be static functions of IsleApp
|
// Might be static functions of IsleApp
|
||||||
BOOL FindExistingInstance();
|
BOOL FindExistingInstance();
|
||||||
BOOL StartDirectSound();
|
BOOL StartDirectSound();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user