diff --git a/Source/Archive/PakCipher.cpp b/Source/Archive/PakCipher.cpp index 71f5beb..a78bf41 100644 --- a/Source/Archive/PakCipher.cpp +++ b/Source/Archive/PakCipher.cpp @@ -51,6 +51,7 @@ namespace myGPack { 2, 11, 1, 4, 14, 1, 7, 9, 4, 12, 10, 14, 8, 2, 13, 0, 15, 6, 12, 10, 9, 13, 0, 15, 3, 3, 5, 5, 6, 8, 11, }; + // INLINED void Permute(std::uint8_t* block, const std::uint8_t* table, unsigned count) { std::uint8_t result[8] = {}; diff --git a/Source/Client/Application/UnhandledExceptionHandler.cpp b/Source/Client/Application/UnhandledExceptionHandler.cpp index af45557..e75209b 100644 --- a/Source/Client/Application/UnhandledExceptionHandler.cpp +++ b/Source/Client/Application/UnhandledExceptionHandler.cpp @@ -33,10 +33,12 @@ char g_moduleBaseName[260] = {}; char g_crashString[8096] = {}; namespace { + // INLINED int ReadPlayerJob() { return g_session.m_job; } + // INLINED const char* ReadPlayerJobName(int jobId) { const char* const* namesBegin = g_session.m_jobNamesBegin; const char* const* namesEnd = g_session.m_jobNamesEnd; diff --git a/Source/Contents/Configuration/GraphicsConfiguration.h b/Source/Contents/Configuration/GraphicsConfiguration.h index 5161536..1c20e88 100644 --- a/Source/Contents/Configuration/GraphicsConfiguration.h +++ b/Source/Contents/Configuration/GraphicsConfiguration.h @@ -69,6 +69,7 @@ inline void GraphicsConfiguration::Load(LuaScript& script, ScriptOptions& option } } +// INLINED inline AdapterConfiguration GraphicsConfiguration::Adapter() const { return {this->backend, this->drawGuid, this->renderGuid, this->deviceGuid, this->deviceName}; } diff --git a/Source/File/File.h b/Source/File/File.h index 5882ada..f98fd33 100644 --- a/Source/File/File.h +++ b/Source/File/File.h @@ -14,6 +14,7 @@ public: bool OpenWrite(const char* path, CRenderSystemBase* renderSystem); bool Open(const char* path, int mode, bool resourcePath, bool option); + // INLINED bool Open(const char* path) { this->m_path = path; this->m_handle = CreateFileA(path, GENERIC_READ, FILE_SHARE_READ, nullptr, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, nullptr);