2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:07:43 +00:00

Add editor portion of rendering flow

This commit is contained in:
Jack Andersen
2016-01-04 14:01:02 -10:00
parent 5de9028a51
commit 769a20d9dc
11 changed files with 318 additions and 57 deletions

View File

@@ -24,6 +24,7 @@ class ViewManager : public Specter::IViewManager
std::unique_ptr<Specter::RootView> m_rootView;
std::unique_ptr<SplashScreen> m_splash;
std::unique_ptr<Space> m_rootSpace;
Specter::View* m_rootSpaceView = nullptr;
std::vector<HECL::SystemString> m_recentProjects;
std::vector<HECL::SystemString> m_recentFiles;
@@ -32,12 +33,17 @@ class ViewManager : public Specter::IViewManager
float m_reqPf;
Specter::View* BuildSpaceViews(RUDE::Space* space);
void SetupRootView();
void SetupSplashView();
Specter::RootView* SetupRootView();
SplashScreen* SetupSplashView();
void SetupEditorView();
void SetupEditorView(Athena::io::YAMLDocReader& r);
void SetupEditorView(ConfigReader& r);
void SaveEditorView(ConfigWriter& w);
bool m_showSplash = false;
void DismissSplash();
unsigned m_editorFrames = 120;
void FadeInEditors() {m_editorFrames = 0;}
public:
ViewManager(HECL::Runtime::FileStoreManager& fileMgr, HECL::CVarManager& cvarMgr);