mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[launch3] Refactor and match
This commit is contained in:
parent
7c4cb763b2
commit
a9fc395182
@ -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
|
||||
//
|
||||
|
@ -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
|
||||
|
||||
|
@ -150,7 +150,6 @@ BEGIN
|
||||
END
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
|
||||
#endif // English (U.S.) resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user