Remove legacy renderer dependencies in LyShine and move LyShine headers to gem (#6049)
* Remove CryRenderer dependencies Signed-off-by: abrmich <abrmich@amazon.com> * Fix non-unity compile error Signed-off-by: abrmich <abrmich@amazon.com> * Remove ITexture.h reference Signed-off-by: abrmich <abrmich@amazon.com> * Simple file moves from CryCommon to LyShine Gem Signed-off-by: abrmich <abrmich@amazon.com> * More simple file moves from CryCommon to LyShine Gem Signed-off-by: abrmich <abrmich@amazon.com> * Move more headers from CryCommon to LyShine Gem Signed-off-by: abrmich <abrmich@amazon.com> * Add LyShine gem module as a build dependency to fix compile error in some gems Signed-off-by: abrmich <abrmich@amazon.com>
This commit is contained in:
@@ -35,7 +35,6 @@
|
||||
|
||||
// CryCommon
|
||||
#include <CryCommon/INavigationSystem.h>
|
||||
#include <CryCommon/LyShine/ILyShine.h>
|
||||
#include <CryCommon/MainThreadRenderRequestBus.h>
|
||||
|
||||
// Editor
|
||||
@@ -595,13 +594,6 @@ void CGameEngine::SwitchToInEditor()
|
||||
// Enable accelerators.
|
||||
GetIEditor()->EnableAcceleratos(true);
|
||||
|
||||
|
||||
// reset UI system
|
||||
if (gEnv->pLyShine)
|
||||
{
|
||||
gEnv->pLyShine->Reset();
|
||||
}
|
||||
|
||||
// [Anton] - order changed, see comments for CGameEngine::SetSimulationMode
|
||||
//! Send event to switch out of game.
|
||||
GetIEditor()->GetObjectManager()->SendEvent(EVENT_OUTOFGAME);
|
||||
|
||||
Reference in New Issue
Block a user