mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 01:17:55 -05:00
added some legoomni functions and named some isle global vars
This commit is contained in:
parent
d336f65abe
commit
03fcad0bd2
8 changed files with 131 additions and 54 deletions
|
@ -8,11 +8,11 @@ const char *WINDOW_TITLE = "LEGO
|
||||||
|
|
||||||
unsigned char g_mousedown = 0;
|
unsigned char g_mousedown = 0;
|
||||||
unsigned char g_mousemoved = 0;
|
unsigned char g_mousemoved = 0;
|
||||||
int _DAT_00410050 = 0;
|
int g_rmDisabled = 0;
|
||||||
int _DAT_00410054 = 1;
|
int _DAT_00410054 = 1;
|
||||||
int g_targetWidth = 640;
|
int g_targetWidth = 640;
|
||||||
int g_targetHeight = 480;
|
int g_targetHeight = 480;
|
||||||
unsigned int g_targetDepth = 16;
|
unsigned int g_targetDepth = 16;
|
||||||
int _DAT_00410064 = 0;
|
int g_reqEnableRMDevice = 0;
|
||||||
int _DAT_004101bc = 200;
|
int g_startupDelay = 200;
|
||||||
long g_lastFrameTime = 0;
|
long g_lastFrameTime = 0;
|
||||||
|
|
|
@ -9,13 +9,13 @@ extern const char *WNDCLASS_NAME;
|
||||||
extern const char *WINDOW_TITLE;
|
extern const char *WINDOW_TITLE;
|
||||||
extern unsigned char g_mousedown;
|
extern unsigned char g_mousedown;
|
||||||
extern unsigned char g_mousemoved;
|
extern unsigned char g_mousemoved;
|
||||||
extern int _DAT_00410050;
|
extern int g_rmDisabled;
|
||||||
extern int _DAT_00410054;
|
extern int _DAT_00410054;
|
||||||
extern int g_targetWidth;
|
extern int g_targetWidth;
|
||||||
extern int g_targetHeight;
|
extern int g_targetHeight;
|
||||||
extern unsigned int g_targetDepth;
|
extern unsigned int g_targetDepth;
|
||||||
extern int _DAT_00410064;
|
extern int g_reqEnableRMDevice;
|
||||||
extern int _DAT_004101bc;
|
extern int g_startupDelay;
|
||||||
extern long g_lastFrameTime;
|
extern long g_lastFrameTime;
|
||||||
|
|
||||||
#endif // DEFINE_H
|
#endif // DEFINE_H
|
||||||
|
|
|
@ -329,7 +329,7 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
}
|
}
|
||||||
if (wParam == 0xf060 && g_closed == 0) {
|
if (wParam == 0xf060 && g_closed == 0) {
|
||||||
if (g_isle) {
|
if (g_isle) {
|
||||||
if (_DAT_00410050 != 0) {
|
if (g_rmDisabled) {
|
||||||
ShowWindow(g_isle->m_windowHandle, SW_RESTORE);
|
ShowWindow(g_isle->m_windowHandle, SW_RESTORE);
|
||||||
}
|
}
|
||||||
PostMessageA(g_isle->m_windowHandle, 0x10, 0, 0);
|
PostMessageA(g_isle->m_windowHandle, 0x10, 0, 0);
|
||||||
|
@ -359,14 +359,14 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
if (LOWORD(lParam) == g_targetWidth && HIWORD(lParam) == g_targetHeight && g_targetDepth == wParam) {
|
if (LOWORD(lParam) == g_targetWidth && HIWORD(lParam) == g_targetHeight && g_targetDepth == wParam) {
|
||||||
valid = TRUE;
|
valid = TRUE;
|
||||||
}
|
}
|
||||||
if (_DAT_00410050 == 0) {
|
if (!g_rmDisabled) {
|
||||||
if (!valid) {
|
if (!valid) {
|
||||||
_DAT_00410050 = 1;
|
g_rmDisabled = 1;
|
||||||
Lego()->vtable38();
|
Lego()->vtable38();
|
||||||
VideoManager()->DisableRMDevice();
|
VideoManager()->DisableRMDevice();
|
||||||
}
|
}
|
||||||
} else if (valid) {
|
} else if (valid) {
|
||||||
_DAT_00410064 = 1;
|
g_reqEnableRMDevice = 1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
_DAT_00410054 = 0;
|
_DAT_00410054 = 0;
|
||||||
|
@ -572,12 +572,12 @@ void Isle::tick(BOOL sleepIfNotNextFrame)
|
||||||
}
|
}
|
||||||
g_lastFrameTime = currentTime;
|
g_lastFrameTime = currentTime;
|
||||||
|
|
||||||
if (_DAT_004101bc == 0) {
|
if (g_startupDelay == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
_DAT_004101bc--;
|
g_startupDelay--;
|
||||||
if (_DAT_004101bc != 0) {
|
if (g_startupDelay != 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -103,10 +103,10 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
||||||
DispatchMessageA(&msg);
|
DispatchMessageA(&msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_DAT_00410064 != 0) {
|
if (g_reqEnableRMDevice) {
|
||||||
_DAT_00410064 = 0;
|
g_reqEnableRMDevice = 0;
|
||||||
VideoManager()->EnableRMDevice();
|
VideoManager()->EnableRMDevice();
|
||||||
_DAT_00410050 = 0;
|
g_rmDisabled = 0;
|
||||||
Lego()->vtable3c();
|
Lego()->vtable3c();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
13
LEGO1/legoomni.cpp
Normal file
13
LEGO1/legoomni.cpp
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#include "legoomni.h"
|
||||||
|
|
||||||
|
LegoOmni *LegoOmni::m_instance = NULL;
|
||||||
|
|
||||||
|
LegoOmni *LegoOmni::GetInstance()
|
||||||
|
{
|
||||||
|
return m_instance;
|
||||||
|
}
|
||||||
|
|
||||||
|
LegoOmni *Lego()
|
||||||
|
{
|
||||||
|
return LegoOmni::GetInstance();
|
||||||
|
}
|
|
@ -1,10 +1,10 @@
|
||||||
#ifndef LEGOOMNI_H
|
#ifndef LEGOOMNI_H
|
||||||
#define LEGOOMNI_H
|
#define LEGOOMNI_H
|
||||||
|
|
||||||
#include "define.h"
|
|
||||||
#include "mxbackgroundaudiomanager.h"
|
#include "mxbackgroundaudiomanager.h"
|
||||||
#include "mxdsaction.h"
|
#include "mxdsaction.h"
|
||||||
#include "mxomnicreateparam.h"
|
#include "mxomnicreateparam.h"
|
||||||
|
#include "mxresult.h"
|
||||||
#include "mxstreamer.h"
|
#include "mxstreamer.h"
|
||||||
#include "mxticklemanager.h"
|
#include "mxticklemanager.h"
|
||||||
#include "mxtimer.h"
|
#include "mxtimer.h"
|
||||||
|
@ -81,6 +81,8 @@ class LegoOmni
|
||||||
int m_unk6c;
|
int m_unk6c;
|
||||||
LegoInputManager *m_inputMgr;
|
LegoInputManager *m_inputMgr;
|
||||||
|
|
||||||
|
static LegoOmni *m_instance;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
__declspec(dllexport) LegoOmni *Lego();
|
__declspec(dllexport) LegoOmni *Lego();
|
||||||
|
|
136
isle.mak
136
isle.mak
|
@ -51,15 +51,16 @@ NULL=nul
|
||||||
OUTDIR=.\LEGO1\Release
|
OUTDIR=.\LEGO1\Release
|
||||||
INTDIR=.\LEGO1\Release
|
INTDIR=.\LEGO1\Release
|
||||||
|
|
||||||
ALL : "$(OUTDIR)\LEGO1.dll"
|
ALL : ".\Release\LEGO1.DLL"
|
||||||
|
|
||||||
CLEAN :
|
CLEAN :
|
||||||
-@erase "$(INTDIR)\dllmain.obj"
|
-@erase "$(INTDIR)\dllmain.obj"
|
||||||
|
-@erase "$(INTDIR)\legoomni.obj"
|
||||||
-@erase "$(INTDIR)\mxcore.obj"
|
-@erase "$(INTDIR)\mxcore.obj"
|
||||||
-@erase "$(OUTDIR)\LEGO1.dll"
|
-@erase ".\Release\LEGO1.DLL"
|
||||||
-@erase "$(OUTDIR)\LEGO1.exp"
|
-@erase ".\Release\LEGO1.EXP"
|
||||||
-@erase "$(OUTDIR)\LEGO1.lib"
|
-@erase ".\Release\LEGO1.LIB"
|
||||||
-@erase "$(OUTDIR)\LEGO1.map"
|
-@erase ".\Release\LEGO1.MAP"
|
||||||
|
|
||||||
"$(OUTDIR)" :
|
"$(OUTDIR)" :
|
||||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||||
|
@ -105,17 +106,19 @@ BSC32_SBRS= \
|
||||||
|
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /map /machine:I386
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /pdb:"Release/LEGO1.PDB" /map:"Release/LEGO1.MAP" /machine:I386 /out:"Release/LEGO1.DLL" /implib:"Release/LEGO1.LIB"
|
||||||
|
# SUBTRACT LINK32 /pdb:none
|
||||||
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
|
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
|
||||||
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
|
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
|
||||||
odbccp32.lib /nologo /subsystem:windows /dll /incremental:no\
|
odbccp32.lib /nologo /subsystem:windows /dll /incremental:no\
|
||||||
/pdb:"$(OUTDIR)/LEGO1.pdb" /map:"$(INTDIR)/LEGO1.map" /machine:I386\
|
/pdb:"Release/LEGO1.PDB" /map:"Release/LEGO1.MAP" /machine:I386\
|
||||||
/out:"$(OUTDIR)/LEGO1.dll" /implib:"$(OUTDIR)/LEGO1.lib"
|
/out:"Release/LEGO1.DLL" /implib:"Release/LEGO1.LIB"
|
||||||
LINK32_OBJS= \
|
LINK32_OBJS= \
|
||||||
"$(INTDIR)\dllmain.obj" \
|
"$(INTDIR)\dllmain.obj" \
|
||||||
|
"$(INTDIR)\legoomni.obj" \
|
||||||
"$(INTDIR)\mxcore.obj"
|
"$(INTDIR)\mxcore.obj"
|
||||||
|
|
||||||
"$(OUTDIR)\LEGO1.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
".\Release\LEGO1.DLL" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
||||||
$(LINK32) @<<
|
$(LINK32) @<<
|
||||||
$(LINK32_FLAGS) $(LINK32_OBJS)
|
$(LINK32_FLAGS) $(LINK32_OBJS)
|
||||||
<<
|
<<
|
||||||
|
@ -135,19 +138,20 @@ LINK32_OBJS= \
|
||||||
OUTDIR=.\LEGO1\Debug
|
OUTDIR=.\LEGO1\Debug
|
||||||
INTDIR=.\LEGO1\Debug
|
INTDIR=.\LEGO1\Debug
|
||||||
|
|
||||||
ALL : "$(OUTDIR)\LEGO1.dll"
|
ALL : ".\Debug\LEGO1.DLL"
|
||||||
|
|
||||||
CLEAN :
|
CLEAN :
|
||||||
-@erase "$(INTDIR)\dllmain.obj"
|
-@erase "$(INTDIR)\dllmain.obj"
|
||||||
|
-@erase "$(INTDIR)\legoomni.obj"
|
||||||
-@erase "$(INTDIR)\mxcore.obj"
|
-@erase "$(INTDIR)\mxcore.obj"
|
||||||
-@erase "$(INTDIR)\vc40.idb"
|
-@erase "$(INTDIR)\vc40.idb"
|
||||||
-@erase "$(INTDIR)\vc40.pdb"
|
-@erase "$(INTDIR)\vc40.pdb"
|
||||||
-@erase "$(OUTDIR)\LEGO1.dll"
|
|
||||||
-@erase "$(OUTDIR)\LEGO1.exp"
|
-@erase "$(OUTDIR)\LEGO1.exp"
|
||||||
-@erase "$(OUTDIR)\LEGO1.ilk"
|
|
||||||
-@erase "$(OUTDIR)\LEGO1.lib"
|
-@erase "$(OUTDIR)\LEGO1.lib"
|
||||||
-@erase "$(OUTDIR)\LEGO1.map"
|
-@erase "$(OUTDIR)\LEGO1.map"
|
||||||
-@erase "$(OUTDIR)\LEGO1.pdb"
|
-@erase "$(OUTDIR)\LEGO1.pdb"
|
||||||
|
-@erase ".\Debug\LEGO1.DLL"
|
||||||
|
-@erase ".\Debug\LEGO1.ILK"
|
||||||
|
|
||||||
"$(OUTDIR)" :
|
"$(OUTDIR)" :
|
||||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||||
|
@ -193,17 +197,19 @@ BSC32_SBRS= \
|
||||||
|
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /debug /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /map /debug /machine:I386
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /map /debug /machine:I386 /out:"Debug/LEGO1.DLL"
|
||||||
|
# SUBTRACT LINK32 /pdb:none
|
||||||
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
|
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
|
||||||
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
|
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
|
||||||
odbccp32.lib /nologo /subsystem:windows /dll /incremental:yes\
|
odbccp32.lib /nologo /subsystem:windows /dll /incremental:yes\
|
||||||
/pdb:"$(OUTDIR)/LEGO1.pdb" /map:"$(INTDIR)/LEGO1.map" /debug /machine:I386\
|
/pdb:"$(OUTDIR)/LEGO1.pdb" /map:"$(INTDIR)/LEGO1.map" /debug /machine:I386\
|
||||||
/out:"$(OUTDIR)/LEGO1.dll" /implib:"$(OUTDIR)/LEGO1.lib"
|
/out:"Debug/LEGO1.DLL" /implib:"$(OUTDIR)/LEGO1.lib"
|
||||||
LINK32_OBJS= \
|
LINK32_OBJS= \
|
||||||
"$(INTDIR)\dllmain.obj" \
|
"$(INTDIR)\dllmain.obj" \
|
||||||
|
"$(INTDIR)\legoomni.obj" \
|
||||||
"$(INTDIR)\mxcore.obj"
|
"$(INTDIR)\mxcore.obj"
|
||||||
|
|
||||||
"$(OUTDIR)\LEGO1.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
".\Debug\LEGO1.DLL" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
||||||
$(LINK32) @<<
|
$(LINK32) @<<
|
||||||
$(LINK32_FLAGS) $(LINK32_OBJS)
|
$(LINK32_FLAGS) $(LINK32_OBJS)
|
||||||
<<
|
<<
|
||||||
|
@ -223,7 +229,7 @@ LINK32_OBJS= \
|
||||||
OUTDIR=.\ISLE\Release
|
OUTDIR=.\ISLE\Release
|
||||||
INTDIR=.\ISLE\Release
|
INTDIR=.\ISLE\Release
|
||||||
|
|
||||||
ALL : "$(OUTDIR)\ISLE.exe"
|
ALL : "LEGO1 - Win32 Release" ".\Release\ISLE.EXE"
|
||||||
|
|
||||||
CLEAN :
|
CLEAN :
|
||||||
-@erase "$(INTDIR)\define.obj"
|
-@erase "$(INTDIR)\define.obj"
|
||||||
|
@ -231,7 +237,7 @@ CLEAN :
|
||||||
-@erase "$(INTDIR)\isle.res"
|
-@erase "$(INTDIR)\isle.res"
|
||||||
-@erase "$(INTDIR)\main.obj"
|
-@erase "$(INTDIR)\main.obj"
|
||||||
-@erase "$(INTDIR)\mxomnicreateparambase.obj"
|
-@erase "$(INTDIR)\mxomnicreateparambase.obj"
|
||||||
-@erase "$(OUTDIR)\ISLE.exe"
|
-@erase ".\Release\ISLE.EXE"
|
||||||
|
|
||||||
"$(OUTDIR)" :
|
"$(OUTDIR)" :
|
||||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||||
|
@ -278,21 +284,22 @@ BSC32_SBRS= \
|
||||||
|
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib lego1.lib dsound.lib /nologo /subsystem:windows /machine:I386 /LIBPATH:"ISLE\EXT"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib lego1.lib dsound.lib /nologo /subsystem:windows /pdb:"Release/ISLE.PDB" /machine:I386 /out:"Release/ISLE.EXE" /LIBPATH:"ISLE/ext"
|
||||||
# SUBTRACT LINK32 /pdb:none
|
# SUBTRACT LINK32 /pdb:none
|
||||||
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
|
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
|
||||||
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
|
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
|
||||||
odbccp32.lib winmm.lib lego1.lib dsound.lib /nologo /subsystem:windows\
|
odbccp32.lib winmm.lib lego1.lib dsound.lib /nologo /subsystem:windows\
|
||||||
/incremental:no /pdb:"$(OUTDIR)/ISLE.pdb" /machine:I386\
|
/incremental:no /pdb:"Release/ISLE.PDB" /machine:I386 /out:"Release/ISLE.EXE"\
|
||||||
/out:"$(OUTDIR)/ISLE.exe" /LIBPATH:"ISLE\EXT"
|
/LIBPATH:"ISLE/ext"
|
||||||
LINK32_OBJS= \
|
LINK32_OBJS= \
|
||||||
"$(INTDIR)\define.obj" \
|
"$(INTDIR)\define.obj" \
|
||||||
"$(INTDIR)\isle.obj" \
|
"$(INTDIR)\isle.obj" \
|
||||||
"$(INTDIR)\isle.res" \
|
"$(INTDIR)\isle.res" \
|
||||||
"$(INTDIR)\main.obj" \
|
"$(INTDIR)\main.obj" \
|
||||||
"$(INTDIR)\mxomnicreateparambase.obj"
|
"$(INTDIR)\mxomnicreateparambase.obj" \
|
||||||
|
".\Release\LEGO1.LIB"
|
||||||
|
|
||||||
"$(OUTDIR)\ISLE.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
".\Release\ISLE.EXE" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
||||||
$(LINK32) @<<
|
$(LINK32) @<<
|
||||||
$(LINK32_FLAGS) $(LINK32_OBJS)
|
$(LINK32_FLAGS) $(LINK32_OBJS)
|
||||||
<<
|
<<
|
||||||
|
@ -312,7 +319,7 @@ LINK32_OBJS= \
|
||||||
OUTDIR=.\ISLE\Debug
|
OUTDIR=.\ISLE\Debug
|
||||||
INTDIR=.\ISLE\Debug
|
INTDIR=.\ISLE\Debug
|
||||||
|
|
||||||
ALL : "$(OUTDIR)\ISLE.exe"
|
ALL : "LEGO1 - Win32 Debug" ".\Debug\ISLE.EXE"
|
||||||
|
|
||||||
CLEAN :
|
CLEAN :
|
||||||
-@erase "$(INTDIR)\define.obj"
|
-@erase "$(INTDIR)\define.obj"
|
||||||
|
@ -322,9 +329,9 @@ CLEAN :
|
||||||
-@erase "$(INTDIR)\mxomnicreateparambase.obj"
|
-@erase "$(INTDIR)\mxomnicreateparambase.obj"
|
||||||
-@erase "$(INTDIR)\vc40.idb"
|
-@erase "$(INTDIR)\vc40.idb"
|
||||||
-@erase "$(INTDIR)\vc40.pdb"
|
-@erase "$(INTDIR)\vc40.pdb"
|
||||||
-@erase "$(OUTDIR)\ISLE.exe"
|
-@erase ".\Debug\ISLE.EXE"
|
||||||
-@erase "$(OUTDIR)\ISLE.ilk"
|
-@erase ".\Debug\ISLE.ILK"
|
||||||
-@erase "$(OUTDIR)\ISLE.pdb"
|
-@erase ".\Debug\ISLE.PDB"
|
||||||
|
|
||||||
"$(OUTDIR)" :
|
"$(OUTDIR)" :
|
||||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||||
|
@ -371,21 +378,22 @@ BSC32_SBRS= \
|
||||||
|
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib lego1.lib dsound.lib /nologo /subsystem:windows /debug /machine:I386 /LIBPATH:"ISLE\EXT"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib lego1.lib dsound.lib /nologo /subsystem:windows /pdb:"Debug/ISLE.PDB" /debug /machine:I386 /out:"Debug/ISLE.EXE" /LIBPATH:"ISLE/ext"
|
||||||
# SUBTRACT LINK32 /pdb:none
|
# SUBTRACT LINK32 /pdb:none
|
||||||
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
|
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
|
||||||
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
|
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib\
|
||||||
odbccp32.lib winmm.lib lego1.lib dsound.lib /nologo /subsystem:windows\
|
odbccp32.lib winmm.lib lego1.lib dsound.lib /nologo /subsystem:windows\
|
||||||
/incremental:yes /pdb:"$(OUTDIR)/ISLE.pdb" /debug /machine:I386\
|
/incremental:yes /pdb:"Debug/ISLE.PDB" /debug /machine:I386\
|
||||||
/out:"$(OUTDIR)/ISLE.exe" /LIBPATH:"ISLE\EXT"
|
/out:"Debug/ISLE.EXE" /LIBPATH:"ISLE/ext"
|
||||||
LINK32_OBJS= \
|
LINK32_OBJS= \
|
||||||
"$(INTDIR)\define.obj" \
|
"$(INTDIR)\define.obj" \
|
||||||
"$(INTDIR)\isle.obj" \
|
"$(INTDIR)\isle.obj" \
|
||||||
"$(INTDIR)\isle.res" \
|
"$(INTDIR)\isle.res" \
|
||||||
"$(INTDIR)\main.obj" \
|
"$(INTDIR)\main.obj" \
|
||||||
"$(INTDIR)\mxomnicreateparambase.obj"
|
"$(INTDIR)\mxomnicreateparambase.obj" \
|
||||||
|
".\LEGO1\Debug\LEGO1.lib"
|
||||||
|
|
||||||
"$(OUTDIR)\ISLE.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
".\Debug\ISLE.EXE" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
||||||
$(LINK32) @<<
|
$(LINK32) @<<
|
||||||
$(LINK32_FLAGS) $(LINK32_OBJS)
|
$(LINK32_FLAGS) $(LINK32_OBJS)
|
||||||
<<
|
<<
|
||||||
|
@ -427,6 +435,48 @@ SOURCE=.\LEGO1\dllmain.cpp
|
||||||
$(CPP) $(CPP_PROJ) $(SOURCE)
|
$(CPP) $(CPP_PROJ) $(SOURCE)
|
||||||
|
|
||||||
|
|
||||||
|
# End Source File
|
||||||
|
################################################################################
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\LEGO1\legoomni.cpp
|
||||||
|
DEP_CPP_LEGOO=\
|
||||||
|
".\LEGO1\legoanimationmanager.h"\
|
||||||
|
".\LEGO1\legobuildingmanager.h"\
|
||||||
|
".\LEGO1\legogamestate.h"\
|
||||||
|
".\LEGO1\legoinputmanager.h"\
|
||||||
|
".\LEGO1\legomodelpresenter.h"\
|
||||||
|
".\LEGO1\legoomni.h"\
|
||||||
|
".\LEGO1\legopartpresenter.h"\
|
||||||
|
".\LEGO1\legoroi.h"\
|
||||||
|
".\LEGO1\legovideomanager.h"\
|
||||||
|
".\LEGO1\legoworldpresenter.h"\
|
||||||
|
".\LEGO1\mxatomid.h"\
|
||||||
|
".\LEGO1\mxbackgroundaudiomanager.h"\
|
||||||
|
".\LEGO1\mxbool.h"\
|
||||||
|
".\LEGO1\mxcore.h"\
|
||||||
|
".\LEGO1\mxdsaction.h"\
|
||||||
|
".\LEGO1\mxomnicreateflags.h"\
|
||||||
|
".\LEGO1\mxomnicreateparam.h"\
|
||||||
|
".\LEGO1\mxomnicreateparambase.h"\
|
||||||
|
".\LEGO1\mxpalette.h"\
|
||||||
|
".\LEGO1\mxrect32.h"\
|
||||||
|
".\LEGO1\mxresult.h"\
|
||||||
|
".\LEGO1\mxstreamcontroller.h"\
|
||||||
|
".\LEGO1\mxstreamer.h"\
|
||||||
|
".\LEGO1\mxstring.h"\
|
||||||
|
".\LEGO1\mxticklemanager.h"\
|
||||||
|
".\LEGO1\mxtimer.h"\
|
||||||
|
".\LEGO1\mxtransitionmanager.h"\
|
||||||
|
".\LEGO1\mxvariabletable.h"\
|
||||||
|
".\LEGO1\mxvideoparam.h"\
|
||||||
|
".\LEGO1\mxvideoparamflags.h"\
|
||||||
|
|
||||||
|
|
||||||
|
"$(INTDIR)\legoomni.obj" : $(SOURCE) $(DEP_CPP_LEGOO) "$(INTDIR)"
|
||||||
|
$(CPP) $(CPP_PROJ) $(SOURCE)
|
||||||
|
|
||||||
|
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Target
|
# End Target
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -495,9 +545,6 @@ DEP_CPP_ISLE_=\
|
||||||
".\LEGO1\mxvideoparam.h"\
|
".\LEGO1\mxvideoparam.h"\
|
||||||
".\LEGO1\mxvideoparamflags.h"\
|
".\LEGO1\mxvideoparamflags.h"\
|
||||||
|
|
||||||
NODEP_CPP_ISLE_=\
|
|
||||||
".\LEGO1\define.h"\
|
|
||||||
|
|
||||||
|
|
||||||
"$(INTDIR)\isle.obj" : $(SOURCE) $(DEP_CPP_ISLE_) "$(INTDIR)"
|
"$(INTDIR)\isle.obj" : $(SOURCE) $(DEP_CPP_ISLE_) "$(INTDIR)"
|
||||||
$(CPP) $(CPP_PROJ) $(SOURCE)
|
$(CPP) $(CPP_PROJ) $(SOURCE)
|
||||||
|
@ -542,9 +589,6 @@ DEP_CPP_MAIN_=\
|
||||||
".\LEGO1\mxvideoparam.h"\
|
".\LEGO1\mxvideoparam.h"\
|
||||||
".\LEGO1\mxvideoparamflags.h"\
|
".\LEGO1\mxvideoparamflags.h"\
|
||||||
|
|
||||||
NODEP_CPP_MAIN_=\
|
|
||||||
".\LEGO1\define.h"\
|
|
||||||
|
|
||||||
|
|
||||||
"$(INTDIR)\main.obj" : $(SOURCE) $(DEP_CPP_MAIN_) "$(INTDIR)"
|
"$(INTDIR)\main.obj" : $(SOURCE) $(DEP_CPP_MAIN_) "$(INTDIR)"
|
||||||
$(CPP) $(CPP_PROJ) $(SOURCE)
|
$(CPP) $(CPP_PROJ) $(SOURCE)
|
||||||
|
@ -1004,6 +1048,24 @@ SOURCE=.\LEGO1\mxvideoparamflags.h
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
# End Source File
|
# End Source File
|
||||||
|
################################################################################
|
||||||
|
# Begin Project Dependency
|
||||||
|
|
||||||
|
# Project_Dep_Name "LEGO1"
|
||||||
|
|
||||||
|
!IF "$(CFG)" == "ISLE - Win32 Release"
|
||||||
|
|
||||||
|
"LEGO1 - Win32 Release" :
|
||||||
|
$(MAKE) /$(MAKEFLAGS) /F ".\isle.mak" CFG="LEGO1 - Win32 Release"
|
||||||
|
|
||||||
|
!ELSEIF "$(CFG)" == "ISLE - Win32 Debug"
|
||||||
|
|
||||||
|
"LEGO1 - Win32 Debug" :
|
||||||
|
$(MAKE) /$(MAKEFLAGS) /F ".\isle.mak" CFG="LEGO1 - Win32 Debug"
|
||||||
|
|
||||||
|
!ENDIF
|
||||||
|
|
||||||
|
# End Project Dependency
|
||||||
# End Target
|
# End Target
|
||||||
# End Project
|
# End Project
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
BIN
isle.mdp
BIN
isle.mdp
Binary file not shown.
Loading…
Reference in a new issue