mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-17 14:13:50 +00:00
finish rewrite; port to cmake, loads of other changes
Theres documentation at https://sylvessa.zip/fourkit/ now. And a bunch of other changes. Check the discord server for a more comprehensive list
This commit is contained in:
parent
ecb3f00bd6
commit
f5f9aa1cf5
107 changed files with 14289 additions and 40 deletions
|
|
@ -12,6 +12,7 @@
|
|||
#include "..\ServerProperties.h"
|
||||
#include "..\ServerShutdown.h"
|
||||
#include "..\WorldManager.h"
|
||||
#include "..\FourKitBridge.h"
|
||||
#include "..\Console\ServerCli.h"
|
||||
#include "Tesselator.h"
|
||||
#include "Windows64/4JLibs/inc/4J_Render.h"
|
||||
|
|
@ -617,6 +618,8 @@ int main(int argc, char **argv)
|
|||
|
||||
LogStartupStep("server startup complete");
|
||||
LogInfof("startup", "Dedicated server listening on %s:%d", g_Win64MultiplayerIP, g_Win64MultiplayerPort);
|
||||
|
||||
FourKitBridge::Initialize();
|
||||
if (worldBootstrap.status == eWorldBootstrap_CreatedNew && !IsShutdownRequested() && !app.m_bShutdown)
|
||||
{
|
||||
// Windows64 suppresses saveToDisc right after new world creation
|
||||
|
|
@ -705,6 +708,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
|
||||
LogInfof("shutdown", "Cleaning up and exiting.");
|
||||
FourKitBridge::Shutdown();
|
||||
WinsockNetLayer::Shutdown();
|
||||
LogDebugf("shutdown", "Network layer shutdown complete.");
|
||||
g_NetworkManager.Terminate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue