From ca7556280a814b684b3c02847c56d99822168ce7 Mon Sep 17 00:00:00 2001 From: RD42 Date: Sat, 28 Jun 2025 13:59:28 -0700 Subject: [PATCH] Update launch3 --- launch3/Resource.h | 14 +++--- launch3/StdAfx.h | 7 ++- launch3/launch3.clw | 9 ++-- launch3/launch3.dsp | 2 +- launch3/launch3.h | 6 +-- launch3/launch3.rc | 105 +++++++++++++++++++++---------------------- launch3/launch3Dlg.h | 6 +-- 7 files changed, 72 insertions(+), 77 deletions(-) diff --git a/launch3/Resource.h b/launch3/Resource.h index 99de131..8bd2d12 100644 --- a/launch3/Resource.h +++ b/launch3/Resource.h @@ -2,20 +2,20 @@ // Microsoft Visual C++ generated include file. // Used by LAUNCH3.RC // -#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 IDD_LAUNCH3_DIALOG 102 +#define IDC_NICK 1000 +#define IDC_LAUNCH 1003 +#define IDC_BUTTON2 1004 +#define IDC_BUTTON1 1007 // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 130 -#define _APS_NEXT_CONTROL_VALUE 1015 +#define _APS_NEXT_RESOURCE_VALUE 129 +#define _APS_NEXT_CONTROL_VALUE 1000 #define _APS_NEXT_SYMED_VALUE 101 #define _APS_NEXT_COMMAND_VALUE 32771 #endif diff --git a/launch3/StdAfx.h b/launch3/StdAfx.h index 2b2db87..861b479 100644 --- a/launch3/StdAfx.h +++ b/launch3/StdAfx.h @@ -3,8 +3,8 @@ // are changed infrequently // -#if !defined(AFX_STDAFX_H__06B2A8BE_A596_4086_991F_64BF5CF8DB2B__INCLUDED_) -#define AFX_STDAFX_H__06B2A8BE_A596_4086_991F_64BF5CF8DB2B__INCLUDED_ +#if !defined(AFX_STDAFX_H__BE9692D5_BBBC_4272_81EF_CCC41515DB85__INCLUDED_) +#define AFX_STDAFX_H__BE9692D5_BBBC_4272_81EF_CCC41515DB85__INCLUDED_ #if _MSC_VER > 1000 #pragma once @@ -14,7 +14,6 @@ #include // MFC core and standard components #include // MFC extensions -#include // MFC Automation classes #include // MFC support for Internet Explorer 4 Common Controls #ifndef _AFX_NO_AFXCMN_SUPPORT #include // MFC support for Windows Common Controls @@ -24,4 +23,4 @@ //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. -#endif // !defined(AFX_STDAFX_H__06B2A8BE_A596_4086_991F_64BF5CF8DB2B__INCLUDED_) +#endif // !defined(AFX_STDAFX_H__BE9692D5_BBBC_4272_81EF_CCC41515DB85__INCLUDED_) diff --git a/launch3/launch3.clw b/launch3/launch3.clw index 6662f76..17c8306 100644 --- a/launch3/launch3.clw +++ b/launch3/launch3.clw @@ -32,9 +32,8 @@ Filter=D [DLG:IDD_LAUNCH3_DIALOG] Type=1 Class=CLaunch3Dlg -ControlCount=4 -Control1=IDC_STATIC,button,1342177287 -Control2=IDC_LAUNCH,button,1342242816 -Control3=IDC_BUTTON2,button,1342242816 -Control4=IDC_BUTTON1,button,1342242816 +ControlCount=3 +Control1=IDOK,button,1342242817 +Control2=IDCANCEL,button,1342242816 +Control3=IDC_STATIC,static,1342308352 diff --git a/launch3/launch3.dsp b/launch3/launch3.dsp index 6b16db6..c71fe1b 100644 --- a/launch3/launch3.dsp +++ b/launch3/launch3.dsp @@ -125,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.h b/launch3/launch3.h index 2bc2577..553670e 100644 --- a/launch3/launch3.h +++ b/launch3/launch3.h @@ -1,8 +1,8 @@ // launch3.h : main header file for the LAUNCH3 application // -#if !defined(AFX_LAUNCH3_H__90EF6E61_FDEB_40F9_B00C_D9024237237E__INCLUDED_) -#define AFX_LAUNCH3_H__90EF6E61_FDEB_40F9_B00C_D9024237237E__INCLUDED_ +#if !defined(AFX_LAUNCH3_H__E487BB2C_CCC3_4F9C_BE82_80956F3F1580__INCLUDED_) +#define AFX_LAUNCH3_H__E487BB2C_CCC3_4F9C_BE82_80956F3F1580__INCLUDED_ #if _MSC_VER > 1000 #pragma once @@ -46,4 +46,4 @@ public: //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. -#endif // !defined(AFX_LAUNCH3_H__90EF6E61_FDEB_40F9_B00C_D9024237237E__INCLUDED_) +#endif // !defined(AFX_LAUNCH3_H__E487BB2C_CCC3_4F9C_BE82_80956F3F1580__INCLUDED_) diff --git a/launch3/launch3.rc b/launch3/launch3.rc index 671ce37..75c48d7 100644 --- a/launch3/launch3.rc +++ b/launch3/launch3.rc @@ -1,4 +1,4 @@ -//Microsoft Developer Studio generated resource script. +// Microsoft Visual C++ generated resource script. // #include "resource.h" @@ -12,15 +12,6 @@ ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - #ifdef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // @@ -44,18 +35,19 @@ BEGIN "#define _AFX_NO_OLE_RESOURCES\r\n" "#define _AFX_NO_TRACKER_RESOURCES\r\n" "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif //_WIN32\r\n" - "#include ""res\\launch3.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#endif\r\n" + "\r\n" + "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" + "#ifdef _WIN32\r\n" + "LANGUAGE 9, 1\r\n" + "#pragma code_page(1252)\r\n" + "#endif //_WIN32\r\n" + "#include ""res\\launch3.rc2"" // non-Microsoft Visual C++ edited resources\r\n" + "#include ""afxres.rc"" // Standard components\r\n" + "#endif\r\n" "\0" END +///////////////////////////////////////////////////////////////////////////// #endif // APSTUDIO_INVOKED @@ -68,16 +60,22 @@ END // remains consistent on all systems. IDR_MAINFRAME ICON DISCARDABLE "res\\launch3.ico" + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE 9, 1 +#pragma code_page(1252) +#endif //_WIN32 ///////////////////////////////////////////////////////////////////////////// // // Dialog // -IDD_LAUNCH3_DIALOG DIALOGEX 0, 0, 135, 90 +IDD_LAUNCH3_DIALOG DIALOGEX 0, 0, 135, 90 STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_APPWINDOW CAPTION "SA:MP Debug Launcher" -FONT 8, "MS Sans Serif", 0, 0, 0x1 +FONT 8, "MS Sans Serif" BEGIN GROUPBOX "Debug SA:MP",IDC_STATIC,7,7,121,73 PUSHBUTTON "Launch Debug",IDC_LAUNCH,27,20,84,15 @@ -85,16 +83,14 @@ BEGIN PUSHBUTTON "Connect localhost",IDC_BUTTON1,27,39,84,16 END - -#ifndef _MAC ///////////////////////////////////////////////////////////////////////////// // // Version // -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -105,33 +101,30 @@ VS_VERSION_INFO VERSIONINFO FILETYPE 0x1L FILESUBTYPE 0x0L BEGIN - BLOCK "StringFileInfo" - BEGIN + BLOCK "StringFileInfo" + BEGIN BLOCK "040904b0" - BEGIN - VALUE "Comments", "\0" - VALUE "CompanyName", "\0" - VALUE "FileDescription", "SA-MP launcher\0" - VALUE "FileVersion", "1, 0, 0, 1\0" - VALUE "InternalName", "launch3\0" - VALUE "LegalCopyright", "Copyright (C) 2005\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "sa_mp.exe\0" - VALUE "PrivateBuild", "\0" - VALUE "ProductName", "launch3 Application\0" - VALUE "ProductVersion", "1, 0, 0, 1\0" - VALUE "SpecialBuild", "\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 + BEGIN + VALUE "Comments", "\0" + VALUE "CompanyName", "\0" + VALUE "FileDescription", "SA-MP launcher\0" + VALUE "FileVersion", "1, 0, 0, 1\0" + VALUE "InternalName", "launch3\0" + VALUE "LegalCopyright", "Copyright (C) 2005\0" + VALUE "LegalTrademarks", "\0" + VALUE "OriginalFilename","sa_mp.exe\0" + VALUE "PrivateBuild", "\0" + VALUE "ProductName", "launch3 Application\0" + VALUE "ProductVersion", "1, 0, 0, 1\0" + VALUE "SpecialBuild", "\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 END END -#endif // !_MAC - - ///////////////////////////////////////////////////////////////////////////// // // DESIGNINFO @@ -145,15 +138,19 @@ BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 128 TOPMARGIN, 7 - BOTTOMMARGIN, 83 + BOTTOMMARGIN,83 END END #endif // APSTUDIO_INVOKED -#endif // English (U.S.) resources + + ///////////////////////////////////////////////////////////////////////////// +// +// String Table +// - +#endif #ifndef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// @@ -170,8 +167,8 @@ END LANGUAGE 9, 1 #pragma code_page(1252) #endif //_WIN32 -#include "res\launch3.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components +#include "res\\launch3.rc2" // non-Microsoft Visual C++ edited resources +#include "afxres.rc" // Standard components #endif ///////////////////////////////////////////////////////////////////////////// diff --git a/launch3/launch3Dlg.h b/launch3/launch3Dlg.h index 96e5f84..becd094 100644 --- a/launch3/launch3Dlg.h +++ b/launch3/launch3Dlg.h @@ -1,8 +1,8 @@ // launch3Dlg.h : header file // -#if !defined(AFX_LAUNCH3DLG_H__5B800F15_86B7_4CC5_AB8C_DEAA46380504__INCLUDED_) -#define AFX_LAUNCH3DLG_H__5B800F15_86B7_4CC5_AB8C_DEAA46380504__INCLUDED_ +#if !defined(AFX_LAUNCH3DLG_H__002BEC0B_9459_44D8_B74F_0D4EB1FF0525__INCLUDED_) +#define AFX_LAUNCH3DLG_H__002BEC0B_9459_44D8_B74F_0D4EB1FF0525__INCLUDED_ #if _MSC_VER > 1000 #pragma once @@ -49,4 +49,4 @@ protected: //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. -#endif // !defined(AFX_LAUNCH3DLG_H__5B800F15_86B7_4CC5_AB8C_DEAA46380504__INCLUDED_) +#endif // !defined(AFX_LAUNCH3DLG_H__002BEC0B_9459_44D8_B74F_0D4EB1FF0525__INCLUDED_)