diff --git a/src/client/component/gsc/script_loading.cpp b/src/client/component/gsc/script_loading.cpp index 8eb0abcf..7761b337 100644 --- a/src/client/component/gsc/script_loading.cpp +++ b/src/client/component/gsc/script_loading.cpp @@ -6,6 +6,7 @@ #include "component/filesystem.hpp" #include "component/logfile.hpp" #include "component/scripting.hpp" +#include "component/gsc/script_loading.hpp" #include "game/dvars.hpp" diff --git a/src/client/component/gsc/script_loading.hpp b/src/client/component/gsc/script_loading.hpp new file mode 100644 index 00000000..e42a7e45 --- /dev/null +++ b/src/client/component/gsc/script_loading.hpp @@ -0,0 +1,8 @@ +#pragma once + +namespace gsc +{ + void load_main_handles(); + void load_init_handles(); + game::ScriptFile* find_script(game::XAssetType type, const char* name, int allow_create_default); +} diff --git a/src/client/component/scripting.cpp b/src/client/component/scripting.cpp index 2f640ece..195ec4da 100644 --- a/src/client/component/scripting.cpp +++ b/src/client/component/scripting.cpp @@ -1,9 +1,10 @@ #include #include "loader/component_loader.hpp" -#include "gsc.hpp" -#include "scheduler.hpp" -#include "scripting.hpp" +#include "component/gsc/script_extension.hpp" +#include "component/gsc/script_loading.hpp" +#include "component/scheduler.hpp" +#include "component/scripting.hpp" #include "game/game.hpp"