lots of changes

removed stdafx from server namespace
logger is now header only
added class stubs
added accessor classes and minor code in them
added nlohmann_json to includes
protocol switch back to 560 while we wait for next neolegacy release
This commit is contained in:
DrPerkyLegit
2026-05-17 17:28:22 -04:00
parent afdf1d188c
commit 96ac80730a
19 changed files with 52399 additions and 54 deletions

View File

@@ -1,7 +1,9 @@
#include "stdafx.h"
#include <Utils/Logger.h>
#include <Windows.h>
#include <memory>
#include "Utils/Logger.h"
#include "../Minecraft.Client/Windows64/Windows64_Minecraft.h"
int main() {
//make things resolve correctly, taken from source and moved
{
@@ -11,7 +13,7 @@ int main() {
if (pSlash) { *(pSlash + 1) = '\0'; SetCurrentDirectoryA(szExeDir); }
}
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
//HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
//SetConsoleMode(hConsole, ENABLE_VIRTUAL_TERMINAL_PROCESSING); //todo: find out why this breaks \n in printf calls
Windows64Minecraft::StartDedicatedServer();