Red code legacy renderer (#383)

- Remove some references to gEnv->pRenderer/GetIEditor()->GetRenderer() that is now always null.
- Restore the debug console to existence.
- Stop building the following in preparation for their removal:

Code/CryEngine/Cry3DEngine/*
Code/CryEngine/RenderDll/*
Code/Tools/CryFXC/*
Code/Tools/HLSLCrossCompiler/*
Code/Tools/HLSLCrossCompilerMETAL/*
Code/Tools/RC/*
Code/Tools/ShaderCacheGen/*
Tools/CrySCompileServer/*
This commit is contained in:
bosnichd
2021-04-30 07:31:42 -06:00
committed by GitHub
parent aa5ddbf532
commit 1d4c483e73
39 changed files with 1826 additions and 267 deletions
@@ -8,11 +8,3 @@
# 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.
#
if(LY_MONOLITHIC_GAME) # only Atom is supported in monolithic
list(APPEND LY_BUILD_DEPENDENCIES Legacy::CryRenderOther)
else()
set(LY_RUNTIME_DEPENDENCIES
Legacy::CryRenderGL
)
endif()
@@ -8,15 +8,3 @@
# 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.
#
if (LY_MONOLITHIC_GAME) # only Atom is supported in monolithic
set(LY_BUILD_DEPENDENCIES
PUBLIC
Legacy::CryRenderOther
)
else()
set(LY_BUILD_DEPENDENCIES
PRIVATE
Legacy::CryRenderGL
)
endif()
@@ -13,12 +13,6 @@ set(LY_TARGET_PROPERTIES
BUILD_RPATH @executable_path/
)
if(LY_MONOLITHIC_GAME) # only Atom is supported in monolithic builds
list(APPEND LY_BUILD_DEPENDENCIES Legacy::CryRenderOther)
else()
set(LY_RUNTIME_DEPENDENCIES Legacy::CryRenderMetal)
endif()
# Add resources and app icons to launchers
list(APPEND candidate_paths ${project_real_path}/Resources/Platform/Mac)
list(APPEND candidate_paths ${project_real_path}/Gem/Resources/Platform/Mac) # Legacy projects
@@ -9,11 +9,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#
set(LY_BUILD_DEPENDENCIES
PRIVATE
Legacy::CryRenderD3D11
)
set(ICON_FILE ${project_real_path}/Gem/Resources/GameSDK.ico)
if(NOT EXISTS ${ICON_FILE})
# Try the common LauncherUnified icon instead
@@ -14,13 +14,6 @@ set(LY_LINK_OPTIONS
-ObjC
)
if(LY_MONOLITHIC_GAME) # only Atom is supported in monolithic
list(APPEND LY_BUILD_DEPENDENCIES Legacy::CryRenderOther)
else()
list(APPEND LY_BUILD_DEPENDENCIES CrySystem.Static)
set(LY_RUNTIME_DEPENDENCIES Legacy::CryRenderMetal)
endif()
# Add resources and app icons to launchers
list(APPEND candidate_paths ${project_real_path}/Resources/Platform/iOS)
list(APPEND candidate_paths ${project_real_path}/Gem/Resources/Platform/iOS) # Legacy projects
@@ -67,7 +67,6 @@ foreach(project_name project_path IN ZIP_LISTS LY_PROJECTS_TARGET_NAME LY_PROJEC
${game_gem_dependencies}
Legacy::CrySystem
Legacy::CryFont
Legacy::Cry3DEngine
)
if(PAL_TRAIT_BUILD_SERVER_SUPPORTED)
@@ -97,7 +96,6 @@ foreach(project_name project_path IN ZIP_LISTS LY_PROJECTS_TARGET_NAME LY_PROJEC
${game_gem_dependencies}
Legacy::CrySystem
Legacy::CryFont
Legacy::Cry3DEngine
)
endif()
@@ -106,13 +104,7 @@ foreach(project_name project_path IN ZIP_LISTS LY_PROJECTS_TARGET_NAME LY_PROJEC
set(game_runtime_dependencies
Legacy::CrySystem
Legacy::CryFont
Legacy::Cry3DEngine
)
if(PAL_TRAIT_BUILD_SERVER_SUPPORTED AND NOT LY_MONOLITHIC_GAME) # Only Atom is supported in monolithic builds
set(server_runtime_dependencies
Legacy::CryRenderNULL
)
endif()
endif()