diff --git a/.vs/minecraft-launcher/FileContentIndex/26621d27-0ebd-42f4-82fe-db8a4cd387aa.vsidx b/.vs/minecraft-launcher/FileContentIndex/26621d27-0ebd-42f4-82fe-db8a4cd387aa.vsidx deleted file mode 100644 index 42d87cb..0000000 Binary files a/.vs/minecraft-launcher/FileContentIndex/26621d27-0ebd-42f4-82fe-db8a4cd387aa.vsidx and /dev/null differ diff --git a/.vs/minecraft-launcher/v17/.suo b/.vs/minecraft-launcher/v17/.suo deleted file mode 100644 index 8d3ed0b..0000000 Binary files a/.vs/minecraft-launcher/v17/.suo and /dev/null differ diff --git a/.vs/minecraft-launcher/v17/Browse.VC.db b/.vs/minecraft-launcher/v17/Browse.VC.db deleted file mode 100644 index f3e4b44..0000000 Binary files a/.vs/minecraft-launcher/v17/Browse.VC.db and /dev/null differ diff --git a/.vs/minecraft-launcher/v17/DocumentLayout.json b/.vs/minecraft-launcher/v17/DocumentLayout.json deleted file mode 100644 index 67eb4fc..0000000 --- a/.vs/minecraft-launcher/v17/DocumentLayout.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "Version": 1, - "WorkspaceRootPath": "G:\\Documents\\The Grand Archives\\Projects VS\\minecraft-launcher\\", - "Documents": [ - { - "AbsoluteMoniker": "D:0:0:{0E29BAEF-96E1-4395-89C1-81BB639C431F}|minecraft-launcher.vcxproj|G:\\Documents\\The Grand Archives\\Projects VS\\minecraft-launcher\\minecraft-launcher.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}", - "RelativeMoniker": "D:0:0:{0E29BAEF-96E1-4395-89C1-81BB639C431F}|minecraft-launcher.vcxproj|solutionrelative:minecraft-launcher.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}" - } - ], - "DocumentGroupContainers": [ - { - "Orientation": 0, - "VerticalTabListWidth": 256, - "DocumentGroups": [ - { - "DockedWidth": 200, - "SelectedChildIndex": 1, - "Children": [ - { - "$type": "Bookmark", - "Name": "ST:128:0:{1fc202d4-d401-403c-9834-5b218574bb67}" - }, - { - "$type": "Document", - "DocumentIndex": 0, - "Title": "minecraft-launcher.cpp", - "DocumentMoniker": "G:\\Documents\\The Grand Archives\\Projects VS\\minecraft-launcher\\minecraft-launcher.cpp", - "RelativeDocumentMoniker": "minecraft-launcher.cpp", - "ToolTip": "G:\\Documents\\The Grand Archives\\Projects VS\\minecraft-launcher\\minecraft-launcher.cpp", - "RelativeToolTip": "minecraft-launcher.cpp", - "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|", - "WhenOpened": "2025-09-02T19:13:50.154Z", - "EditorCaption": "" - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/.vs/minecraft-launcher/v17/ipch/AutoPCH/5d07ff6b432363eb/MINECRAFT-LAUNCHER.ipch b/.vs/minecraft-launcher/v17/ipch/AutoPCH/5d07ff6b432363eb/MINECRAFT-LAUNCHER.ipch deleted file mode 100644 index 5f3af61..0000000 Binary files a/.vs/minecraft-launcher/v17/ipch/AutoPCH/5d07ff6b432363eb/MINECRAFT-LAUNCHER.ipch and /dev/null differ diff --git a/README.md b/README.md deleted file mode 100644 index 5368561..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# minecraft-launcher - -Первая итерация самописного лаунчера для запуска сборок Minecraft \ No newline at end of file diff --git a/Resource.h b/Resource.h deleted file mode 100644 index 1c3bece..0000000 --- a/Resource.h +++ /dev/null @@ -1,30 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Включаемый файл, созданный в Microsoft Visual C++. -// Используется minecraft-launcher.rc - -#define IDS_APP_TITLE 103 - -#define IDR_MAINFRAME 128 -#define IDD_MINECRAFTLAUNCHER_DIALOG 102 -#define IDD_ABOUTBOX 103 -#define IDM_ABOUT 104 -#define IDM_EXIT 105 -#define IDI_MINECRAFTLAUNCHER 107 -#define IDI_SMALL 108 -#define IDC_MINECRAFTLAUNCHER 109 -#define IDC_MYICON 2 -#ifndef IDC_STATIC -#define IDC_STATIC -1 -#endif -// Следующие стандартные значения для новых объектов -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS - -#define _APS_NO_MFC 130 -#define _APS_NEXT_RESOURCE_VALUE 129 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1000 -#define _APS_NEXT_SYMED_VALUE 110 -#endif -#endif diff --git a/framework.h b/framework.h deleted file mode 100644 index a8f6dc8..0000000 --- a/framework.h +++ /dev/null @@ -1,15 +0,0 @@ -// header.h: включаемый файл для стандартных системных включаемых файлов -// или включаемые файлы для конкретного проекта -// - -#pragma once - -#include "targetver.h" -#define WIN32_LEAN_AND_MEAN // Исключите редко используемые компоненты из заголовков Windows -// Файлы заголовков Windows -#include -// Файлы заголовков среды выполнения C -#include -#include -#include -#include diff --git a/minecraft-launcher.cpp b/minecraft-launcher.cpp deleted file mode 100644 index 47a71f9..0000000 --- a/minecraft-launcher.cpp +++ /dev/null @@ -1,180 +0,0 @@ -// minecraft-launcher.cpp : Определяет точку входа для приложения. -// - -#include "framework.h" -#include "minecraft-launcher.h" - -#define MAX_LOADSTRING 100 - -// Глобальные переменные: -HINSTANCE hInst; // текущий экземпляр -WCHAR szTitle[MAX_LOADSTRING]; // Текст строки заголовка -WCHAR szWindowClass[MAX_LOADSTRING]; // имя класса главного окна - -// Отправить объявления функций, включенных в этот модуль кода: -ATOM MyRegisterClass(HINSTANCE hInstance); -BOOL InitInstance(HINSTANCE, int); -LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); -INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM); - -int APIENTRY wWinMain(_In_ HINSTANCE hInstance, - _In_opt_ HINSTANCE hPrevInstance, - _In_ LPWSTR lpCmdLine, - _In_ int nCmdShow) -{ - UNREFERENCED_PARAMETER(hPrevInstance); - UNREFERENCED_PARAMETER(lpCmdLine); - - // TODO: Разместите код здесь. - - // Инициализация глобальных строк - LoadStringW(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); - LoadStringW(hInstance, IDC_MINECRAFTLAUNCHER, szWindowClass, MAX_LOADSTRING); - MyRegisterClass(hInstance); - - // Выполнить инициализацию приложения: - if (!InitInstance (hInstance, nCmdShow)) - { - return FALSE; - } - - HACCEL hAccelTable = LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_MINECRAFTLAUNCHER)); - - MSG msg; - - // Цикл основного сообщения: - while (GetMessage(&msg, nullptr, 0, 0)) - { - if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - } - - return (int) msg.wParam; -} - - - -// -// ФУНКЦИЯ: MyRegisterClass() -// -// ЦЕЛЬ: Регистрирует класс окна. -// -ATOM MyRegisterClass(HINSTANCE hInstance) -{ - WNDCLASSEXW wcex; - - wcex.cbSize = sizeof(WNDCLASSEX); - - wcex.style = CS_HREDRAW | CS_VREDRAW; - wcex.lpfnWndProc = WndProc; - wcex.cbClsExtra = 0; - wcex.cbWndExtra = 0; - wcex.hInstance = hInstance; - wcex.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_MINECRAFTLAUNCHER)); - wcex.hCursor = LoadCursor(nullptr, IDC_ARROW); - wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); - wcex.lpszMenuName = MAKEINTRESOURCEW(IDC_MINECRAFTLAUNCHER); - wcex.lpszClassName = szWindowClass; - wcex.hIconSm = LoadIcon(wcex.hInstance, MAKEINTRESOURCE(IDI_SMALL)); - - return RegisterClassExW(&wcex); -} - -// -// ФУНКЦИЯ: InitInstance(HINSTANCE, int) -// -// ЦЕЛЬ: Сохраняет маркер экземпляра и создает главное окно -// -// КОММЕНТАРИИ: -// -// В этой функции маркер экземпляра сохраняется в глобальной переменной, а также -// создается и выводится главное окно программы. -// -BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) -{ - hInst = hInstance; // Сохранить маркер экземпляра в глобальной переменной - - HWND hWnd = CreateWindowW(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, - CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, nullptr, nullptr, hInstance, nullptr); - - if (!hWnd) - { - return FALSE; - } - - ShowWindow(hWnd, nCmdShow); - UpdateWindow(hWnd); - - return TRUE; -} - -// -// ФУНКЦИЯ: WndProc(HWND, UINT, WPARAM, LPARAM) -// -// ЦЕЛЬ: Обрабатывает сообщения в главном окне. -// -// WM_COMMAND - обработать меню приложения -// WM_PAINT - Отрисовка главного окна -// WM_DESTROY - отправить сообщение о выходе и вернуться -// -// -LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) -{ - switch (message) - { - case WM_COMMAND: - { - int wmId = LOWORD(wParam); - // Разобрать выбор в меню: - switch (wmId) - { - case IDM_ABOUT: - DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About); - break; - case IDM_EXIT: - DestroyWindow(hWnd); - break; - default: - return DefWindowProc(hWnd, message, wParam, lParam); - } - } - break; - case WM_PAINT: - { - PAINTSTRUCT ps; - HDC hdc = BeginPaint(hWnd, &ps); - // TODO: Добавьте сюда любой код прорисовки, использующий HDC... - EndPaint(hWnd, &ps); - } - break; - case WM_DESTROY: - PostQuitMessage(0); - break; - default: - return DefWindowProc(hWnd, message, wParam, lParam); - } - return 0; -} - -// Обработчик сообщений для окна "О программе". -INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) -{ - UNREFERENCED_PARAMETER(lParam); - switch (message) - { - case WM_INITDIALOG: - return (INT_PTR)TRUE; - - case WM_COMMAND: - if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) - { - EndDialog(hDlg, LOWORD(wParam)); - return (INT_PTR)TRUE; - } - break; - } - return (INT_PTR)FALSE; -} diff --git a/minecraft-launcher.h b/minecraft-launcher.h deleted file mode 100644 index d00d47e..0000000 --- a/minecraft-launcher.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -#include "resource.h" diff --git a/minecraft-launcher.ico b/minecraft-launcher.ico deleted file mode 100644 index b3ec03b..0000000 Binary files a/minecraft-launcher.ico and /dev/null differ diff --git a/minecraft-launcher.rc b/minecraft-launcher.rc deleted file mode 100644 index 81bb5c1..0000000 Binary files a/minecraft-launcher.rc and /dev/null differ diff --git a/minecraft-launcher.sln b/minecraft-launcher.sln deleted file mode 100644 index 10243a2..0000000 --- a/minecraft-launcher.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.14.36414.22 d17.14 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "minecraft-launcher", "minecraft-launcher.vcxproj", "{0E29BAEF-96E1-4395-89C1-81BB639C431F}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0E29BAEF-96E1-4395-89C1-81BB639C431F}.Debug|x64.ActiveCfg = Debug|x64 - {0E29BAEF-96E1-4395-89C1-81BB639C431F}.Debug|x64.Build.0 = Debug|x64 - {0E29BAEF-96E1-4395-89C1-81BB639C431F}.Debug|x86.ActiveCfg = Debug|Win32 - {0E29BAEF-96E1-4395-89C1-81BB639C431F}.Debug|x86.Build.0 = Debug|Win32 - {0E29BAEF-96E1-4395-89C1-81BB639C431F}.Release|x64.ActiveCfg = Release|x64 - {0E29BAEF-96E1-4395-89C1-81BB639C431F}.Release|x64.Build.0 = Release|x64 - {0E29BAEF-96E1-4395-89C1-81BB639C431F}.Release|x86.ActiveCfg = Release|Win32 - {0E29BAEF-96E1-4395-89C1-81BB639C431F}.Release|x86.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {469A934A-1B3E-4697-8277-75EB382B41E8} - EndGlobalSection -EndGlobal diff --git a/minecraft-launcher.vcxproj b/minecraft-launcher.vcxproj deleted file mode 100644 index 8d8b236..0000000 --- a/minecraft-launcher.vcxproj +++ /dev/null @@ -1,144 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - - 17.0 - Win32Proj - {0e29baef-96e1-4395-89c1-81bb639c431f} - minecraftlauncher - 10.0 - - - - Application - true - v143 - Unicode - - - Application - false - v143 - true - Unicode - - - Application - true - v143 - Unicode - - - Application - false - v143 - true - Unicode - - - - - - - - - - - - - - - - - - - - - - Level3 - true - WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) - true - - - Windows - true - - - - - Level3 - true - true - true - WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) - true - - - Windows - true - - - - - Level3 - true - _DEBUG;_WINDOWS;%(PreprocessorDefinitions) - true - - - Windows - true - - - - - Level3 - true - true - true - NDEBUG;_WINDOWS;%(PreprocessorDefinitions) - true - - - Windows - true - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/minecraft-launcher.vcxproj.filters b/minecraft-launcher.vcxproj.filters deleted file mode 100644 index a799605..0000000 --- a/minecraft-launcher.vcxproj.filters +++ /dev/null @@ -1,49 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - - - - - Файлы заголовков - - - Файлы заголовков - - - Файлы заголовков - - - Файлы заголовков - - - - - Исходные файлы - - - - - Файлы ресурсов - - - - - Файлы ресурсов - - - Файлы ресурсов - - - \ No newline at end of file diff --git a/minecraft-launcher.vcxproj.user b/minecraft-launcher.vcxproj.user deleted file mode 100644 index 88a5509..0000000 --- a/minecraft-launcher.vcxproj.user +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/small.ico b/small.ico deleted file mode 100644 index b3ec03b..0000000 Binary files a/small.ico and /dev/null differ diff --git a/targetver.h b/targetver.h deleted file mode 100644 index d90003d..0000000 --- a/targetver.h +++ /dev/null @@ -1,6 +0,0 @@ -#pragma once - -// // При включении SDKDDKVer.h будет задана самая новая из доступных платформ Windows. -// Если вы планируете сборку приложения для предыдущей версии платформы Windows, включите WinSDKVer.h и -// задайте желаемую платформу в макросе _WIN32_WINNT, прежде чем включать SDKDDKVer.h. -#include