diff --git a/Assets/Engine/Config/engine_core.thread_config b/Assets/Engine/Config/engine_core.thread_config
deleted file mode 100644
index f9183d9174..0000000000
--- a/Assets/Engine/Config/engine_core.thread_config
+++ /dev/null
@@ -1,402 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Assets/Engine/Config/engine_sandbox.thread_config b/Assets/Engine/Config/engine_sandbox.thread_config
deleted file mode 100644
index 7c0dc00b71..0000000000
--- a/Assets/Engine/Config/engine_sandbox.thread_config
+++ /dev/null
@@ -1,128 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Code/CryEngine/CryCommon/CMakeLists.txt b/Code/CryEngine/CryCommon/CMakeLists.txt
index 4725489358..5105ff1a5b 100644
--- a/Code/CryEngine/CryCommon/CMakeLists.txt
+++ b/Code/CryEngine/CryCommon/CMakeLists.txt
@@ -32,41 +32,6 @@ ly_add_target(
AZ::AzFramework
)
-ly_add_target(
- NAME CryCommon.EngineSettings.Static STATIC
- NAMESPACE Legacy
- FILES_CMAKE
- crycommon_enginesettings_files.cmake
- ${pal_dir}/crycommon_enginesettings_${PAL_PLATFORM_NAME_LOWERCASE}_files.cmake
- INCLUDE_DIRECTORIES
- PUBLIC
- .
- ${pal_dir}
- BUILD_DEPENDENCIES
- PUBLIC
- AZ::AzCore
- AZ::AzFramework
-)
-
-ly_add_target(
- NAME CryCommon.EngineSettings.RC.Static STATIC
- NAMESPACE Legacy
- FILES_CMAKE
- crycommon_enginesettings_files.cmake
- ${pal_dir}/crycommon_enginesettings_${PAL_PLATFORM_NAME_LOWERCASE}_files.cmake
- INCLUDE_DIRECTORIES
- PUBLIC
- .
- ${pal_dir}
- COMPILE_DEFINITIONS
- PRIVATE
- RESOURCE_COMPILER
- BUILD_DEPENDENCIES
- PUBLIC
- AZ::AzCore
- AZ::AzFramework
-)
-
if(PAL_TRAIT_BUILD_TESTS_SUPPORTED)
ly_add_target(
diff --git a/Code/CryEngine/CryCommon/CryAssert_Android.h b/Code/CryEngine/CryCommon/CryAssert_Android.h
index 68f716ec28..6e60df1bb1 100644
--- a/Code/CryEngine/CryCommon/CryAssert_Android.h
+++ b/Code/CryEngine/CryCommon/CryAssert_Android.h
@@ -31,7 +31,7 @@ void CryAssertTrace(const char* szFormat, ...)
return;
}
- if (!gEnv->bIgnoreAllAsserts || gEnv->bTesting)
+ if (!gEnv->bIgnoreAllAsserts)
{
if (szFormat == NULL)
{
diff --git a/Code/CryEngine/CryCommon/CryAssert_Linux.h b/Code/CryEngine/CryCommon/CryAssert_Linux.h
index 7c52f78366..f0acdd79db 100644
--- a/Code/CryEngine/CryCommon/CryAssert_Linux.h
+++ b/Code/CryEngine/CryCommon/CryAssert_Linux.h
@@ -34,7 +34,7 @@ void CryAssertTrace(const char* szFormat, ...)
return;
}
- if (!gEnv->bIgnoreAllAsserts || gEnv->bTesting)
+ if (!gEnv->bIgnoreAllAsserts)
{
if (szFormat == NULL)
{
diff --git a/Code/CryEngine/CryCommon/CryAssert_Mac.h b/Code/CryEngine/CryCommon/CryAssert_Mac.h
index 9502605fea..f7f74c3b58 100644
--- a/Code/CryEngine/CryCommon/CryAssert_Mac.h
+++ b/Code/CryEngine/CryCommon/CryAssert_Mac.h
@@ -30,7 +30,7 @@ void CryAssertTrace(const char* szFormat, ...)
return;
}
- if (!gEnv->bIgnoreAllAsserts || gEnv->bTesting)
+ if (!gEnv->bIgnoreAllAsserts)
{
if (szFormat == NULL)
{
diff --git a/Code/CryEngine/CryCommon/CryAssert_iOS.h b/Code/CryEngine/CryCommon/CryAssert_iOS.h
index ad668fb131..2cb08befff 100644
--- a/Code/CryEngine/CryCommon/CryAssert_iOS.h
+++ b/Code/CryEngine/CryCommon/CryAssert_iOS.h
@@ -31,7 +31,7 @@ void CryAssertTrace(const char* szFormat, ...)
return;
}
- if (!gEnv->bIgnoreAllAsserts || gEnv->bTesting)
+ if (!gEnv->bIgnoreAllAsserts)
{
if (szFormat == NULL)
{
diff --git a/Code/CryEngine/CryCommon/CryAssert_impl.h b/Code/CryEngine/CryCommon/CryAssert_impl.h
index ed55162f1a..edbbb2f0c4 100644
--- a/Code/CryEngine/CryCommon/CryAssert_impl.h
+++ b/Code/CryEngine/CryCommon/CryAssert_impl.h
@@ -305,7 +305,7 @@ void CryAssertTrace(const char* _pszFormat, ...)
{
return;
}
- if (!gEnv->bIgnoreAllAsserts || gEnv->bTesting)
+ if (!gEnv->bIgnoreAllAsserts)
{
if (NULL == _pszFormat)
{
diff --git a/Code/CryEngine/CryCommon/CrySystemBus.h b/Code/CryEngine/CryCommon/CrySystemBus.h
index f183de0fa9..def1ce4688 100644
--- a/Code/CryEngine/CryCommon/CrySystemBus.h
+++ b/Code/CryEngine/CryCommon/CrySystemBus.h
@@ -49,12 +49,6 @@ public:
//! ISystem has shut down.
virtual void OnCrySystemPostShutdown() {}
- //! Engine pre physics update.
- virtual void OnCrySystemPrePhysicsUpdate() {}
-
- //! Engine post physics update.
- virtual void OnCrySystemPostPhysicsUpdate() {}
-
//! Sent when a new level is being created.
virtual void OnCryEditorBeginCreate() {}
diff --git a/Code/CryEngine/CryCommon/CryThread.h b/Code/CryEngine/CryCommon/CryThread.h
index f1e97b2199..9aa7bce128 100644
--- a/Code/CryEngine/CryCommon/CryThread.h
+++ b/Code/CryEngine/CryCommon/CryThread.h
@@ -37,9 +37,6 @@ enum CryLockType
#define CRYLOCK_HAVE_FASTLOCK 1
-void CryThreadSetName(threadID nThreadId, const char* sThreadName);
-const char* CryThreadGetName(threadID nThreadId);
-
/////////////////////////////////////////////////////////////////////////////
//
// Primitive locks and conditions.
diff --git a/Code/CryEngine/CryCommon/CryThreadImpl.h b/Code/CryEngine/CryCommon/CryThreadImpl.h
index b151b3da8a..da9be86dd5 100644
--- a/Code/CryEngine/CryCommon/CryThreadImpl.h
+++ b/Code/CryEngine/CryCommon/CryThreadImpl.h
@@ -31,22 +31,3 @@
#else
// Put other platform specific includes here!
#endif
-
-#include
-
-void CryThreadSetName(threadID dwThreadId, const char* sThreadName)
-{
- if (gEnv && gEnv->pSystem && gEnv->pSystem->GetIThreadTaskManager())
- {
- gEnv->pSystem->GetIThreadTaskManager()->SetThreadName(dwThreadId, sThreadName);
- }
-}
-
-const char* CryThreadGetName(threadID dwThreadId)
-{
- if (gEnv && gEnv->pSystem && gEnv->pSystem->GetIThreadTaskManager())
- {
- return gEnv->pSystem->GetIThreadTaskManager()->GetThreadName(dwThreadId);
- }
- return "";
-}
diff --git a/Code/CryEngine/CryCommon/CryThreadImpl_windows.h b/Code/CryEngine/CryCommon/CryThreadImpl_windows.h
index 6f37edeea1..3ff28a81be 100644
--- a/Code/CryEngine/CryCommon/CryThreadImpl_windows.h
+++ b/Code/CryEngine/CryCommon/CryThreadImpl_windows.h
@@ -13,8 +13,6 @@
#pragma once
-//#include
-
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
diff --git a/Code/CryEngine/CryCommon/CryThread_windows.h b/Code/CryEngine/CryCommon/CryThread_windows.h
index 1d9ea6dc31..b70260c7ac 100644
--- a/Code/CryEngine/CryCommon/CryThread_windows.h
+++ b/Code/CryEngine/CryCommon/CryThread_windows.h
@@ -249,10 +249,6 @@ public:
void SetName(const char* Name)
{
m_name = Name;
- if (m_threadId)
- {
- CryThreadSetName(m_threadId, m_name);
- }
}
const char* GetName() { return m_name; }
@@ -289,11 +285,6 @@ private:
self->m_bIsStarted = true;
self->m_bIsRunning = true;
- if (!self->m_name.empty())
- {
- CryThreadSetName(-1, self->m_name);
- }
-
self->m_Runnable->Run();
self->m_bIsRunning = false;
self->m_bCreatedThread = false;
@@ -311,11 +302,6 @@ private:
self->m_bIsStarted = true;
self->m_bIsRunning = true;
- if (!self->m_name.empty())
- {
- CryThreadSetName(-1, self->m_name);
- }
-
self->Run();
self->m_bIsRunning = false;
self->m_bCreatedThread = false;
diff --git a/Code/CryEngine/CryCommon/EngineSettingsBackend.cpp b/Code/CryEngine/CryCommon/EngineSettingsBackend.cpp
deleted file mode 100644
index caf7e03f31..0000000000
--- a/Code/CryEngine/CryCommon/EngineSettingsBackend.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
- * its licensors.
- *
- * For complete copyright and license terms please see the LICENSE at the root of this
- * distribution (the "License"). All use of this software is governed by the License,
- * or, if provided, by the license below or the license accompanying this file. Do not
- * remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *
- */
-
-
-#include "EngineSettingsBackend.h"
-
-#ifdef CRY_ENABLE_RC_HELPER
-
-CEngineSettingsBackend::CEngineSettingsBackend(CEngineSettingsManager* parent, const wchar_t* moduleName)
- : m_parent(parent)
- , m_moduleName()
-{
- if (moduleName != nullptr)
- {
- m_moduleName = moduleName;
- }
-}
-
-CEngineSettingsBackend::~CEngineSettingsBackend()
-{
-
-}
-
-#endif // CRY_ENABLE_RC_HELPER
-
diff --git a/Code/CryEngine/CryCommon/EngineSettingsBackend.h b/Code/CryEngine/CryCommon/EngineSettingsBackend.h
deleted file mode 100644
index fce16517ec..0000000000
--- a/Code/CryEngine/CryCommon/EngineSettingsBackend.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
- * its licensors.
- *
- * For complete copyright and license terms please see the LICENSE at the root of this
- * distribution (the "License"). All use of this software is governed by the License,
- * or, if provided, by the license below or the license accompanying this file. Do not
- * remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *
- */
-#ifndef CRYINCLUDE_CRYCOMMON_ENGINESETTINGSBACKEND_H
-#define CRYINCLUDE_CRYCOMMON_ENGINESETTINGSBACKEND_H
-#pragma once
-
-#include "ProjectDefines.h"
-
-#ifdef CRY_ENABLE_RC_HELPER
-
-#include "SettingsManagerHelpers.h"
-
-#include
-
-class CEngineSettingsManager;
-
-class CEngineSettingsBackend
-{
-public:
- CEngineSettingsBackend(CEngineSettingsManager* parent, const wchar_t* moduleName = NULL);
- virtual ~CEngineSettingsBackend();
-
- virtual std::wstring GetModuleFilePath() const = 0;
-
- virtual bool GetModuleSpecificStringEntryUtf16(const char* key, SettingsManagerHelpers::CWCharBuffer wbuffer) = 0;
- virtual bool GetModuleSpecificIntEntry(const char* key, int& value) = 0;
- virtual bool GetModuleSpecificBoolEntry(const char* key, bool& value) = 0;
-
- virtual bool SetModuleSpecificStringEntryUtf16(const char* key, const wchar_t* str) = 0;
- virtual bool SetModuleSpecificIntEntry(const char* key, const int& value) = 0;
- virtual bool SetModuleSpecificBoolEntry(const char* key, const bool& value) = 0;
-
- virtual bool GetInstalledBuildRootPathUtf16(const int index, SettingsManagerHelpers::CWCharBuffer name, SettingsManagerHelpers::CWCharBuffer path) = 0;
-
- virtual void LoadEngineSettingsFromRegistry() = 0;
- virtual bool StoreEngineSettingsToRegistry() = 0;
-
-protected:
- CEngineSettingsManager* parent() const
- {
- return m_parent;
- }
-
- const std::wstring& moduleName() const
- {
- return m_moduleName;
- }
-
-private:
- std::wstring m_moduleName;
- CEngineSettingsManager* m_parent;
-};
-
-#endif // CRY_ENABLE_RC_HELPER
-
-#endif // CRYINCLUDE_CRYCOMMON_ENGINESETTINGSBACKEND_H
diff --git a/Code/CryEngine/CryCommon/EngineSettingsBackendApple.cpp b/Code/CryEngine/CryCommon/EngineSettingsBackendApple.cpp
deleted file mode 100644
index 06f8d532d3..0000000000
--- a/Code/CryEngine/CryCommon/EngineSettingsBackendApple.cpp
+++ /dev/null
@@ -1,486 +0,0 @@
-/*
- * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
- * its licensors.
- *
- * For complete copyright and license terms please see the LICENSE at the root of this
- * distribution (the "License"). All use of this software is governed by the License,
- * or, if provided, by the license below or the license accompanying this file. Do not
- * remove or modify any license notices. This file is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *
- */
-
-#include "EngineSettingsBackendApple.h"
-
-#ifdef CRY_ENABLE_RC_HELPER
-
-#include "AzCore/PlatformDef.h"
-
-#if AZ_TRAIT_OS_PLATFORM_APPLE
-
-#include "EngineSettingsManager.h"
-#include "SettingsManagerHelpers.h"
-
-#include "platform.h"
-
-#include
-#include
-#include
-
-#include
-#include
-#include
-#include
-#include