diff options
-rw-r--r-- | NorthstarDLL/miscserverscript.cpp | 3 | ||||
-rw-r--r-- | NorthstarDLL/sourceconsole.h | 3 | ||||
-rw-r--r-- | NorthstarDLL/sourceinterface.cpp | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/NorthstarDLL/miscserverscript.cpp b/NorthstarDLL/miscserverscript.cpp index 3b30dd23..7ae8047f 100644 --- a/NorthstarDLL/miscserverscript.cpp +++ b/NorthstarDLL/miscserverscript.cpp @@ -59,6 +59,7 @@ ON_DLL_LOAD_RELIESON("server.dll", MiscServerScriptCommands, ServerSquirrel, (CM g_pSquirrel<ScriptContext::SERVER>->AddFuncRegistration( "void", "NSEarlyWritePlayerIndexPersistenceForLeave", "int playerIndex", "", SQ_EarlyWritePlayerIndexPersistenceForLeave); g_pSquirrel<ScriptContext::SERVER>->AddFuncRegistration("bool", "NSIsWritingPlayerPersistence", "", "", SQ_IsWritingPlayerPersistence); - g_pSquirrel<ScriptContext::SERVER>->AddFuncRegistration("bool", "NSIsPlayerIndexLocalPlayer", "int playerIndex", "", SQ_IsPlayerIndexLocalPlayer); + g_pSquirrel<ScriptContext::SERVER>->AddFuncRegistration( + "bool", "NSIsPlayerIndexLocalPlayer", "int playerIndex", "", SQ_IsPlayerIndexLocalPlayer); g_pSquirrel<ScriptContext::SERVER>->AddFuncRegistration("bool", "NSIsDedicated", "", "", SQ_IsDedicated); } diff --git a/NorthstarDLL/sourceconsole.h b/NorthstarDLL/sourceconsole.h index 9f6c2bf8..e811f523 100644 --- a/NorthstarDLL/sourceconsole.h +++ b/NorthstarDLL/sourceconsole.h @@ -99,8 +99,7 @@ class SourceConsoleSink : public spdlog::sinks::base_sink<std::mutex> {spdlog::level::warn, SourceColor(255, 255, 0, 255)}, {spdlog::level::err, SourceColor(255, 0, 0, 255)}, {spdlog::level::critical, SourceColor(255, 0, 0, 255)}, - {spdlog::level::off, SourceColor(0, 0, 0, 0)} - }; + {spdlog::level::off, SourceColor(0, 0, 0, 0)}}; protected: void sink_it_(const spdlog::details::log_msg& msg) override; diff --git a/NorthstarDLL/sourceinterface.cpp b/NorthstarDLL/sourceinterface.cpp index 157ce614..d5f7b7cd 100644 --- a/NorthstarDLL/sourceinterface.cpp +++ b/NorthstarDLL/sourceinterface.cpp @@ -42,6 +42,8 @@ void*, __fastcall, (const char* pName, const int* pReturnCode)) return ret; } +// clang-format off ON_DLL_LOAD("client.dll", ClientInterface, (CModule module)) {AUTOHOOK_DISPATCH_MODULE(client.dll)} ON_DLL_LOAD("server.dll", ServerInterface, (CModule module)) {AUTOHOOK_DISPATCH_MODULE(server.dll)} ON_DLL_LOAD("engine.dll", EngineInterface, (CModule module)) {AUTOHOOK_DISPATCH_MODULE(engine.dll)} +// clang-format on |