[development] removed CryLibrary (#5474)

* [redcode_crylibrary] replaced CrySystem loading in launcher and editor with new custom wrapper that uses AZ::DynamicModuleHandle

Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>

* [redcode_crylibrary] removed all remaining references to CryLibrary

Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>

* [redcode_crylibrary] migrate CrySystem loading to use AZ::DynamicModuleHandle directly instead

Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>

* [redcode_crylibrary] clean up of CrySystemModuleHandle and old CrySystem module [un]init functions

Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>

* [redcode_crylibrary] added trailing newline to DllMain.cpp in CrySystem

Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>
This commit is contained in:
Scott Romero
2021-11-10 08:43:13 -08:00
committed by GitHub
parent 8b5fe4a015
commit ab37eb138c
17 changed files with 24 additions and 527 deletions
+1 -9
View File
@@ -1104,23 +1104,15 @@ inline ISystem* GetISystem()
// This function must be called once by each module at the beginning, to setup global pointers.
void ModuleInitISystem(ISystem* pSystem, const char* moduleName);
void ModuleShutdownISystem(ISystem* pSystem);
extern "C" AZ_DLL_EXPORT void InjectEnvironment(void* env);
extern "C" AZ_DLL_EXPORT void DetachEnvironment();
void* GetModuleInitISystemSymbol();
void* GetModuleShutdownISystemSymbol();
void* GetInjectEnvironmentSymbol();
void* GetDetachEnvironmentSymbol();
#define PREVENT_MODULE_AND_ENVIRONMENT_SYMBOL_STRIPPING \
AZ_UNUSED(GetModuleInitISystemSymbol()); \
AZ_UNUSED(GetModuleShutdownISystemSymbol()); \
AZ_UNUSED(GetInjectEnvironmentSymbol()); \
AZ_UNUSED(GetDetachEnvironmentSymbol());
AZ_UNUSED(GetModuleShutdownISystemSymbol());
extern bool g_bProfilerEnabled;
// Summary:
// Interface of the DLL.
extern "C"