MCPcopy Create free account
hub / github.com/crossuo/crossuo / Init

Method Init

src/ScreenStages/GameScreen.cpp:79–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void CGameScreen::Init()
80{
81 CBaseScreen::Init();
82
83 g_GameWindow.SetWindowResizable(true);
84 if (m_Maximized)
85 {
86 g_GameWindow.MaximizeWindow();
87 }
88
89 g_ScreenEffectManager.UseSunrise();
90 SmoothScreenAction = 0;
91 //g_GumpManager.Add(new CGumpToolbar(300, 600)); // FIXME: this is not the place
92}
93
94void CGameScreen::SetMaximized(bool maximized)
95{

Callers 4

RenderMethod · 0.45
SelectObjectMethod · 0.45
OnLeftMouseButtonUpMethod · 0.45

Calls 4

InitFunction · 0.85
SetWindowResizableMethod · 0.80
MaximizeWindowMethod · 0.80
UseSunriseMethod · 0.80

Tested by

no test coverage detected