rott/kf_sources/HideMut/Classes.backup/NewMenu.uc
2026-07-14 20:27:09 +07:00

40 lines
1.3 KiB
Ucode

class NewMenu extends UT2K4PlayerLoginMenu;
var bool bNoSteam;
function InitComponent(GUIController MyController, GUIComponent MyComponent)
{
// just to remove that "help" tab
Panels.remove(4, 1);
super.InitComponent(MyController, MyComponent);
// c_Main.ActivateTabByName(Panels[1].Caption, true);
}
// Overridden to stop the unnecessary removal of Panels
function RemoveMultiplayerTabs(GameInfo Game){}
defaultproperties
{
Panels(0)=(ClassName="HideMut.HideMutMenu",Caption="HideMenu",Hint="Some tweaks, cheats and etc.")
Panels(1)=(ClassName="HideMut.OptimizerMenu",Caption="OptimizerMenu",Hint="Module aimed for game optimization and clientside zed modifications")
Panels(2)=(ClassName="HideMut.LightMenu",Caption="LightMenu",Hint="Module aimed for analysis of light sources and their optimization")
Panels(3)=(ClassName="HideMut.ZonerMenu",Caption="ZonerMenu")
Begin Object Class=GUITabControl Name=NewLoginMenu
bDockPanels=True
BackgroundStyleName="TabBackground"
WinTop=0.026336
WinLeft=0.012500
WinWidth=0.974999
WinHeight=0.050000
bScaleToParent=True
bAcceptsInput=True
OnActivate=NewLoginMenu.InternalOnActivate
End Object
c_Main=GUITabControl'hidemut.NewMenu.NewLoginMenu'
WinTop=0.000000
WinLeft=0.000000
WinWidth=1.000000
WinHeight=1.000000
}