From 6cbf6f05a171d297b18d929978604e1f65d42b77 Mon Sep 17 00:00:00 2001 From: Koncord Date: Sun, 23 Dec 2018 23:44:22 +0800 Subject: [PATCH] [Server] Add --debug option to launch options. Add Soft-Mode Debugger for Mono. --- apps/openmw-mp/Script/LangLua/LangLua.cpp | 10 ++++++ apps/openmw-mp/Script/LangLua/LangLua.hpp | 3 ++ apps/openmw-mp/Script/LangMono/LangMono.cpp | 35 +++++++++++++++---- apps/openmw-mp/Script/LangMono/LangMono.hpp | 6 ++-- .../Script/LangNative/LangNative.cpp | 10 ++++++ .../Script/LangNative/LangNative.hpp | 2 ++ apps/openmw-mp/Script/Script.cpp | 33 +++++++++++++++++ apps/openmw-mp/Script/Script.hpp | 5 +++ apps/openmw-mp/main.cpp | 5 +++ 9 files changed, 100 insertions(+), 9 deletions(-) diff --git a/apps/openmw-mp/Script/LangLua/LangLua.cpp b/apps/openmw-mp/Script/LangLua/LangLua.cpp index e853e7aaa..2b264a06f 100644 --- a/apps/openmw-mp/Script/LangLua/LangLua.cpp +++ b/apps/openmw-mp/Script/LangLua/LangLua.cpp @@ -292,3 +292,13 @@ void LangLua::AddPackageCPath(const std::string& path) { packageCPath.emplace(path); } + +void LangLua::Init() +{ + +} + +void LangLua::Free() +{ + +} diff --git a/apps/openmw-mp/Script/LangLua/LangLua.hpp b/apps/openmw-mp/Script/LangLua/LangLua.hpp index adf0cc2b6..2de5ae2f5 100644 --- a/apps/openmw-mp/Script/LangLua/LangLua.hpp +++ b/apps/openmw-mp/Script/LangLua/LangLua.hpp @@ -48,6 +48,9 @@ public: private: static std::set packageCPath; static std::set packagePath; + + static void Init(); + static void Free(); }; diff --git a/apps/openmw-mp/Script/LangMono/LangMono.cpp b/apps/openmw-mp/Script/LangMono/LangMono.cpp index 65c37f514..8f1c9cede 100644 --- a/apps/openmw-mp/Script/LangMono/LangMono.cpp +++ b/apps/openmw-mp/Script/LangMono/LangMono.cpp @@ -8,8 +8,9 @@ #include #include #include -#include -#include +#include +#include