diff --git a/launch3/Resource.h b/launch3/Resource.h index 17a9a4e..99de131 100644 --- a/launch3/Resource.h +++ b/launch3/Resource.h @@ -4,10 +4,10 @@ // #define IDD_LAUNCH3_DIALOG 102 #define IDR_MAINFRAME 128 -#define IDC_NICK 1000 -#define IDC_LAUNCH 1003 -#define IDC_BUTTON2 1004 -#define IDC_BUTTON1 1007 +#define IDC_NICK 1000 +#define IDC_LAUNCH 1003 +#define IDC_BUTTON2 1004 +#define IDC_BUTTON1 1007 // Next default values for new objects // diff --git a/launch3/launch3.dsp b/launch3/launch3.dsp index 5d6ee0e..6b16db6 100644 --- a/launch3/launch3.dsp +++ b/launch3/launch3.dsp @@ -42,8 +42,8 @@ RSC=rc.exe # PROP Intermediate_Dir "Release" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c -# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /FR /YX /FD /c +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /Yu"stdafx.h" /FD /c +# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /FD /c # ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 # ADD BASE RSC /l 0x409 /d "NDEBUG" @@ -53,7 +53,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 /nologo /subsystem:windows /machine:I386 -# ADD LINK32 /nologo /subsystem:windows /machine:I386 /out:"Release/samp_debug.exe" +# ADD LINK32 detours.lib /nologo /subsystem:windows /machine:I386 /out:"Release/samp_debug.exe" !ELSEIF "$(CFG)" == "launch3 - Win32 Debug" @@ -68,8 +68,8 @@ LINK32=link.exe # PROP Intermediate_Dir "Debug" # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /GZ /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /Yu"stdafx.h" /FD /GZ /c +# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c # ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 # ADD BASE RSC /l 0x409 /d "_DEBUG" @@ -79,7 +79,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /out:"Debug/samp_debug.exe" /pdbtype:sept +# ADD LINK32 detours.lib /nologo /subsystem:windows /debug /machine:I386 /out:"Debug/samp_debug.exe" /pdbtype:sept !ENDIF @@ -105,6 +105,7 @@ SOURCE=.\launch3Dlg.cpp # Begin Source File SOURCE=.\StdAfx.cpp +# ADD CPP /Yc"stdafx.h" # End Source File # End Group # Begin Group "Header Files" @@ -124,7 +125,7 @@ SOURCE=.\launch3Dlg.h # End Source File # Begin Source File -SOURCE=.\Resource.h +SOURCE=.\resource.h # End Source File # Begin Source File diff --git a/launch3/launch3.rc b/launch3/launch3.rc index 468ea13..671ce37 100644 --- a/launch3/launch3.rc +++ b/launch3/launch3.rc @@ -150,7 +150,6 @@ BEGIN END #endif // APSTUDIO_INVOKED - #endif // English (U.S.) resources ///////////////////////////////////////////////////////////////////////////// diff --git a/launch3/launch3Dlg.cpp b/launch3/launch3Dlg.cpp index 384b77c..926deb1 100644 --- a/launch3/launch3Dlg.cpp +++ b/launch3/launch3Dlg.cpp @@ -15,10 +15,10 @@ static char THIS_FILE[] = __FILE__; ///////////////////////////////////////////////////////////////////////////// -PROCESS_INFORMATION ProcessInformation; STARTUPINFO StartupInfo; +PROCESS_INFORMATION ProcessInformation; -void LaunchMod(LPCSTR lpPath, LPSTR lpParams) +void LaunchMod(LPCSTR lpPath, LPSTR lpParams, int unk=0) { char szGtaExe[256]; char szSampDll[256];