Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

GUI2K4.UT2k4MainMenu

Extends
UT2K4GUIPage

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K4GUIPage
               |   
               +-- GUI2K4.UT2k4MainMenu

Variables Summary
boolbAllowClose
boolbNewNews
GUIButtonb_Host
GUIButtonb_InstantAction
GUIButtonb_ModsAndDemo
GUIButtonb_MultiPlayer
GUIButtonb_Quit
GUIButtonb_Settings
GUIButtonb_SinglePlayer
floatCharFade
floatCharFadeTime
array<material>CharShots
floatDesiredCharFade
boolFadeOut
floatFadeTime
stringFireWallMsg
stringFireWallTitle
BackgroundImagei_Background
BackgroundImagei_BkChar
GUIImagei_PanBig
GUIImagei_PanHuge
GUIImagei_PanSmall
GUIImagei_TV
GUIImagei_UT2Logo
GUIImagei_UT2Shader
stringNewNewsMsg
GUIButtonSelected
UT2k4MainMenu
boolbNoInitDelay
stringMenuSong
Inherited Variables from XInterface.UT2K4GUIPage
BeepSound, FadeInSound, PopInSound, SlideInSound
Inherited Variables from XInterface.GUIPage
Background, BackgroundColor, BackgroundRStyle, bAllowedAsLast, bCaptureInput, bCheckResolution, bDisconnectOnOpen, bPauseIfPossible, bPersistent, bRenderWorld, bRequire640x480, bRestorable, CloseSound, InactiveFadeColor, OpenSound, ParentPage, Timers

Functions Summary
functionbool BkCharDraw (Canvas Canvas))
functionbool ButtonClick (GUIComponent Sender))
functionbool CanClose (optional bool bCancelled))
functionbool CommunityDraw (canvas c))
function InitAnimOut (GUIComponent C, float X, float Y, float Z ))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InternalOnOpen ()))
function MainReopened ()))
function MenuIn_Done (GUIComponent Sender, EAnimationType Type))
function MenuIn_OnArrival (GUIComponent Sender, EAnimationType Type))
function MenuOut_Done (GUIComponent Sender, EAnimationType Type))
function MoveOn ()))
functionbool MyKeyEvent (out byte Key, ut byte State, loat delta))
functionbool MyOnDraw (Canvas Canvas))
eventbool NotifyLevelChange ()))
function OnClose (optional Bool bCancelled))
event Opened (GUIComponent Sender))
functionbool PanHugeDraw (Canvas Canvas))
function PlayPopSound (GUIComponent Sender, EAnimationType Type))
event Timer ()))
Inherited Functions from XInterface.GUIPage
AllowOpen, ChangeHint, CheckResolution, Closed, Free, GetDataString, GetRestoreParams, HandleObject, HandleParameters, InitComponent, IsOpen, NotifyLevelChange, PlayCloseSound, PlayOpenSound, SetDataString, SetFocus


Variables Detail

bAllowClose Source code

var bool bAllowClose;

bNewNews Source code

var bool bNewNews;

b_Host Source code

var automated GUIButton b_Host;

b_InstantAction Source code

var automated GUIButton b_InstantAction;

b_ModsAndDemo Source code

var automated GUIButton b_ModsAndDemo;

b_MultiPlayer Source code

var automated GUIButton b_MultiPlayer;

b_Quit Source code

var automated GUIButton b_Quit;

b_Settings Source code

var automated GUIButton b_Settings;

b_SinglePlayer Source code

var automated GUIButton b_SinglePlayer;

CharFade Source code

var float CharFade;

CharFadeTime Source code

var float CharFadeTime;

CharShots Source code

var array<material> CharShots;

DesiredCharFade Source code

var float DesiredCharFade;

FadeOut Source code

var bool FadeOut;

FadeTime Source code

var float FadeTime;

FireWallMsg Source code

var localized string FireWallMsg;

FireWallTitle Source code

var localized string FireWallTitle;

i_Background Source code

var automated BackgroundImage i_Background;

i_BkChar Source code

var automated BackgroundImage i_BkChar;

i_PanBig Source code

var automated GUIImage i_PanBig;

i_PanHuge Source code

var automated GUIImage i_PanHuge;

i_PanSmall Source code

var automated GUIImage i_PanSmall;

i_TV Source code

var automated GUIImage i_TV;

i_UT2Logo Source code

var automated GUIImage i_UT2Logo;

i_UT2Shader Source code

var automated GUIImage i_UT2Shader;

NewNewsMsg Source code

var localized string NewNewsMsg;

Selected Source code

var GUIButton Selected;

UT2k4MainMenu

bNoInitDelay Source code

var(UT2k4MainMenu) bool bNoInitDelay;

MenuSong Source code

var(UT2k4MainMenu) config string MenuSong;


Functions Detail

BkCharDraw Source code

function bool BkCharDraw ( Canvas Canvas) )

ButtonClick Source code

function bool ButtonClick ( GUIComponent Sender) )

CanClose Source code

function bool CanClose ( optional bool bCancelled) )

CommunityDraw Source code

function bool CommunityDraw ( canvas c) )

InitAnimOut Source code

function InitAnimOut ( GUIComponent C, float X, float Y, float Z ) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InternalOnOpen Source code

function InternalOnOpen ( ) )

MainReopened Source code

function MainReopened ( ) )

MenuIn_Done Source code

function MenuIn_Done ( GUIComponent Sender, EAnimationType Type) )

MenuIn_OnArrival Source code

function MenuIn_OnArrival ( GUIComponent Sender, EAnimationType Type) )

MenuOut_Done Source code

function MenuOut_Done ( GUIComponent Sender, EAnimationType Type) )

MoveOn Source code

function MoveOn ( ) )

MyKeyEvent Source code

function bool MyKeyEvent ( out byte Key,out byte State,float delta) )

MyOnDraw Source code

function bool MyOnDraw ( Canvas Canvas) )

NotifyLevelChange Source code

event bool NotifyLevelChange ( ) )

OnClose Source code

function OnClose ( optional Bool bCancelled) )

Opened Source code

event Opened ( GUIComponent Sender) )

PanHugeDraw Source code

function bool PanHugeDraw ( Canvas Canvas) )

PlayPopSound Source code

function PlayPopSound ( GUIComponent Sender, EAnimationType Type) )

Timer Source code

event Timer ( ) )


Defaultproperties

defaultproperties
{
     Begin Object Class=BackgroundImage Name=ImgBkChar
         ImageColor=(A=160)
         ImageRenderStyle=MSTY_Alpha
         X1=0
         Y1=0
         X2=1024
         Y2=768
         RenderWeight=0.040000
         Tag=0
         OnDraw=UT2k4MainMenu.BkCharDraw
     End Object
     i_bkChar=BackgroundImage'GUI2K4.UT2k4MainMenu.ImgBkChar'


     Begin Object Class=BackgroundImage Name=PageBackground
         Image=Texture'2K4Menus.MainMenu.mmbgnd'
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Alpha
         X1=0
         Y1=0
         X2=1024
         Y2=768
     End Object
     i_Background=BackgroundImage'GUI2K4.UT2k4MainMenu.PageBackground'


     Begin Object Class=GUIImage Name=ImgUT2Logo
         Image=Texture'2K4Menus.MainMenu.2K4Logo'
         ImageStyle=ISTY_Scaled
         WinTop=0.016926
         WinLeft=0.007226
         WinWidth=0.638868
         WinHeight=0.392579
         RenderWeight=0.050000
     End Object
     i_UT2Logo=GUIImage'GUI2K4.UT2k4MainMenu.ImgUT2Logo'


     Begin Object Class=GUIImage Name=iPanHuge
         Image=TexPanner'2K4Menus.MainMenu.PanHuge'
         ImageColor=(A=40)
         ImageStyle=ISTY_Scaled
         WinTop=0.001719
         WinHeight=0.367969
         RenderWeight=0.020000
         OnDraw=UT2k4MainMenu.PanHugeDraw
     End Object
     i_PanHuge=GUIImage'GUI2K4.UT2k4MainMenu.iPanHuge'


     Begin Object Class=GUIImage Name=iPanBig
         Image=TexPanner'2K4Menus.MainMenu.PanBig'
         ImageColor=(A=75)
         ImageStyle=ISTY_Scaled
         WinTop=0.081771
         WinHeight=0.152422
         RenderWeight=0.023000
     End Object
     i_PanBig=GUIImage'GUI2K4.UT2k4MainMenu.iPanBig'


     Begin Object Class=GUIImage Name=iPanSmall
         Image=TexPanner'2K4Menus.MainMenu.PanSmall'
         ImageStyle=ISTY_Scaled
         WinTop=0.226042
         WinHeight=0.040000
         RenderWeight=0.026000
     End Object
     i_PanSmall=GUIImage'GUI2K4.UT2k4MainMenu.iPanSmall'


     Begin Object Class=GUIImage Name=ImgUT2Shader
         Image=FinalBlend'InterfaceContent.Logos.fbSymbolShader'
         ImageStyle=ISTY_Scaled
         WinTop=0.180988
         WinLeft=0.249023
         WinWidth=0.155273
         WinHeight=0.105470
         RenderWeight=0.060000
     End Object
     i_UT2Shader=GUIImage'GUI2K4.UT2k4MainMenu.ImgUT2Shader'


     Begin Object Class=GUIImage Name=ImgTV
         Image=FinalBlend'ULogo.MainMenu.CornerMenuFinal'
         ImageStyle=ISTY_Scaled
         X1=0
         Y1=1
         X2=512
         Y2=511
         WinTop=0.332292
         WinLeft=-0.000977
         WinWidth=0.500000
         WinHeight=0.668619
         RenderWeight=5.070000
     End Object
     i_TV=GUIImage'GUI2K4.UT2k4MainMenu.ImgTV'


     Begin Object Class=GUIButton Name=SinglePlayerButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Single Player"
         bUseCaptionHeight=True
         FontScale=FNS_Small
         StyleName="TextButton"
         Hint="Play through the Tournament"
         WinTop=0.368813
         WinLeft=0.315359
         WinWidth=0.715022
         WinHeight=0.075000
         TabOrder=0
         bFocusOnWatch=True
         OnClick=UT2k4MainMenu.ButtonClick
         OnKeyEvent=SinglePlayerButton.InternalOnKeyEvent
     End Object
     b_SinglePlayer=GUIButton'GUI2K4.UT2k4MainMenu.SinglePlayerButton'


     Begin Object Class=GUIButton Name=MultiplayerButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Join Game"
         bUseCaptionHeight=True
         FontScale=FNS_Small
         StyleName="TextButton"
         Hint="Play with human opponents over a LAN or the internet"
         WinTop=0.449282
         WinLeft=0.363246
         WinWidth=0.659899
         WinHeight=0.075000
         TabOrder=1
         bFocusOnWatch=True
         OnClick=UT2k4MainMenu.ButtonClick
         OnKeyEvent=MultiplayerButton.InternalOnKeyEvent
     End Object
     b_MultiPlayer=GUIButton'GUI2K4.UT2k4MainMenu.MultiplayerButton'


     Begin Object Class=GUIButton Name=HostButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Host Game"
         bUseCaptionHeight=True
         FontScale=FNS_Small
         StyleName="TextButton"
         Hint="Start a server and invite others to join your game"
         WinTop=0.534027
         WinLeft=0.395097
         WinWidth=0.627131
         WinHeight=0.075000
         TabOrder=2
         bFocusOnWatch=True
         OnClick=UT2k4MainMenu.ButtonClick
         OnKeyEvent=HostButton.InternalOnKeyEvent
     End Object
     b_Host=GUIButton'GUI2K4.UT2k4MainMenu.HostButton'


     Begin Object Class=GUIButton Name=InstantActionButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Instant Action"
         bUseCaptionHeight=True
         FontScale=FNS_Small
         StyleName="TextButton"
         Hint="Play a practice match"
         WinTop=0.618619
         WinLeft=0.423640
         WinWidth=0.593666
         WinHeight=0.075000
         TabOrder=3
         bFocusOnWatch=True
         OnClick=UT2k4MainMenu.ButtonClick
         OnKeyEvent=InstantActionButton.InternalOnKeyEvent
     End Object
     b_InstantAction=GUIButton'GUI2K4.UT2k4MainMenu.InstantActionButton'


     Begin Object Class=GUIButton Name=ModsAndDemosButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Community"
         bUseCaptionHeight=True
         FontScale=FNS_Small
         StyleName="TextButton"
         Hint="Get the latest news, demos and mods from the UT2004 community"
         WinTop=0.705859
         WinLeft=0.433406
         WinWidth=0.574135
         WinHeight=0.075000
         TabOrder=4
         bFocusOnWatch=True
         OnDraw=UT2k4MainMenu.CommunityDraw
         OnClick=UT2k4MainMenu.ButtonClick
         OnKeyEvent=ModsAndDemosButton.InternalOnKeyEvent
     End Object
     b_ModsAndDemo=GUIButton'GUI2K4.UT2k4MainMenu.ModsAndDemosButton'


     Begin Object Class=GUIButton Name=SettingsButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Settings"
         bUseCaptionHeight=True
         FontScale=FNS_Small
         StyleName="TextButton"
         Hint="Change your controls and settings"
         WinTop=0.800327
         WinLeft=0.434477
         WinWidth=0.580478
         WinHeight=0.075000
         TabOrder=5
         bFocusOnWatch=True
         OnClick=UT2k4MainMenu.ButtonClick
         OnKeyEvent=SettingsButton.InternalOnKeyEvent
     End Object
     b_Settings=GUIButton'GUI2K4.UT2k4MainMenu.SettingsButton'


     Begin Object Class=GUIButton Name=QuitButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Exit UT2004"
         bUseCaptionHeight=True
         FontScale=FNS_Small
         StyleName="TextButton"
         Hint="Exit the game"
         WinTop=0.887567
         WinLeft=0.424711
         WinWidth=0.526767
         WinHeight=0.075000
         TabOrder=6
         bFocusOnWatch=True
         OnClick=UT2k4MainMenu.ButtonClick
         OnKeyEvent=QuitButton.InternalOnKeyEvent
     End Object
     b_Quit=GUIButton'GUI2K4.UT2k4MainMenu.QuitButton'


     CharShots(0)=Texture'2K4Menus.MainMenu.Char01'
     CharShots(1)=Texture'2K4Menus.MainMenu.char02'
     CharShots(2)=Texture'2K4Menus.MainMenu.char03'
     MenuSong="KR-UT2004-Menu"
     NewNewsMsg="  (New Update Available)"
     FireWallTitle="Important"
     FireWallMsg="It has been determined that the Window's Firewall is enabled and that UT2004 is not yet authorized to connect to the internet.  Authorization is required in order to use the online components of the game.  Please refer to the README.TXT for more information."
     bDisconnectOnOpen=True
     bAllowedAsLast=True
     OnOpen=UT2k4MainMenu.InternalOnOpen
     OnReOpen=UT2k4MainMenu.MainReopened
     OnCanClose=UT2k4MainMenu.CanClose
     WinTop=0.000000
     WinHeight=1.000000
     bDebugging=True
     OnKeyEvent=UT2k4MainMenu.MyKeyEvent
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 09:49:56.771 - Created with UnCodeX