feat(Core/Scripts): split the huge scriptloader into smaller pieces (#5346)

* feat(Core/Scripts): split the huge scriptloader into smaller pieces

* AddSC_swamp_of_sorrows del

* 1

* add mod info

* 1

* 039f0e0faa

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
Kargatum
2021-06-23 04:19:02 +07:00
committed by GitHub
parent 20a67cbfcf
commit 5991b2769a
49 changed files with 1978 additions and 2264 deletions

View File

@@ -54,11 +54,10 @@ target_include_directories(worldserver
target_link_libraries(worldserver
PRIVATE
game-interface
acore-core-interface
PUBLIC
game
shared
scripts
game
gsoap
readline
gperftools)

View File

@@ -24,6 +24,7 @@
#include "Realm.h"
#include "ScriptMgr.h"
#include "SignalHandler.h"
#include "ScriptLoader.h"
#include "Timer.h"
#include "Util.h"
#include "World.h"
@@ -146,6 +147,7 @@ int Master::Run()
///- Initialize the World
sSecretMgr->Initialize();
sScriptMgr->SetScriptLoader(AddScripts);
sWorld->SetInitialWorldSettings();
sScriptMgr->OnStartup();