mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Match LegoPointOfViewController::Create
This commit is contained in:
parent
48d0097494
commit
a37f206038
@ -102,7 +102,6 @@ class LegoOmni : public MxOmni {
|
||||
|
||||
LegoVideoManager* GetVideoManager() { return (LegoVideoManager*) m_videoManager; }
|
||||
LegoSoundManager* GetSoundManager() { return (LegoSoundManager*) m_soundManager; }
|
||||
|
||||
LegoInputManager* GetInputManager() { return m_inputMgr; }
|
||||
GifManager* GetGifManager() { return m_gifManager; }
|
||||
LegoWorld* GetCurrentOmniWorld() { return m_currentWorld; }
|
||||
@ -116,6 +115,8 @@ class LegoOmni : public MxOmni {
|
||||
MxTransitionManager* GetTransitionManager() { return m_transitionManager; }
|
||||
MxDSAction& GetCurrentAction() { return m_action; }
|
||||
|
||||
inline void SetNavController(LegoNavController* p_navController) { m_navController = p_navController; }
|
||||
|
||||
inline void SetExit(MxBool p_exit) { m_exit = p_exit; };
|
||||
|
||||
private:
|
||||
|
||||
@ -94,8 +94,9 @@ MxResult LegoPointOfViewController::Create(Lego3DView* p_lego3DView)
|
||||
{
|
||||
m_lego3DView = p_lego3DView;
|
||||
m_nav = new LegoNavController();
|
||||
LegoOmni::GetInstance()->SetNavController(m_nav);
|
||||
m_nav->SetTrackDefaultParams(TRUE);
|
||||
LegoOmni::GetInstance()->GetTickleManager()->RegisterClient(this, 10);
|
||||
TickleManager()->RegisterClient(this, 10);
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user