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
{
	bDebugging=True
	OnOpen=InternalOnOpen
	OnCanClose=CanClose
	OnKeyEvent=MyKeyEvent
    OnReopen=MainReopened


	Begin Object Class=BackgroundImage Name=PageBackground
		Image=material'2K4Menus.Controls.mmbgnd'
		ImageStyle=ISTY_Scaled
		ImageRenderStyle=MSTY_Alpha
        X1=0
        Y1=0
        X2=1024
        Y2=768
	End Object


	Begin Object Class=GUIImage Name=iPanHuge
		Image=material'2K4Menus.MainMenu.PanHuge'
		ImageStyle=ISTY_Scaled
		ImageRenderStyle=MSTY_Alpha
		ImageColor=(R=255,G=255,B=255,A=40)
		WinWidth=1
		WinHeight=0.367969
		WinLeft=0
		WinTop=0.001719
        RenderWeight=0.02
        OnDraw=PanHugeDraw
	End Object


	Begin Object Class=GUIImage Name=iPanBig
		Image=material'2K4Menus.MainMenu.PanBig'
		ImageStyle=ISTY_Scaled
		ImageRenderStyle=MSTY_Alpha
		ImageColor=(R=255,G=255,B=255,A=75)
		WinWidth=1
		WinHeight=0.152422
		WinLeft=0
		WinTop=0.081771
        RenderWeight=0.023
	End Object


	Begin Object Class=GUIImage Name=iPanSmall
		Image=material'2K4Menus.MainMenu.PanSmall'
		ImageStyle=ISTY_Scaled
		ImageRenderStyle=MSTY_Alpha
		ImageColor=(R=255,G=255,B=255,A=255)
		WinWidth=1
		WinHeight=0.04
		WinLeft=0
		WinTop=0.226042
        RenderWeight=0.026
	End Object


	Begin Object Class=BackgroundImage Name=ImgBkChar
		ImageRenderStyle=MSTY_Alpha
		ImageColor=(R=255,G=255,B=255,A=160)
        OnDraw=BkCharDraw
        RenderWeight=0.04
        X1=0
        Y1=0
        X2=1024
        Y2=768
        Tag=0
	End Object


	Begin Object Class=GUIImage Name=ImgUT2Logo
		Image=material'2K4Menus.MainMenu.2K4Logo'
		ImageStyle=ISTY_Scaled
		ImageRenderStyle=MSTY_Alpha
		ImageColor=(R=255,G=255,B=255,A=255)
		WinWidth=0.638868
		WinHeight=0.392579
		WinLeft=0.007226
		WinTop=0.016926
        RenderWeight=0.05
	End Object


	Begin Object Class=GUIImage Name=ImgUT2Shader
		Image=material'InterfaceContent.Logos.fbSymbolShader'
		ImageStyle=ISTY_Scaled
		WinWidth=0.155273
		WinHeight=0.105470
		WinLeft=0.249023
		WinTop=0.180988
        RenderWeight=0.06

	End Object


	Begin Object Class=GUIImage Name=ImgTV

		Image=material'ULogo.MainMenu.CornerMenuFinal'
		ImageStyle=ISTY_Scaled
		WinWidth=0.500000
		WinHeight=0.668619
		WinLeft=-0.000977
		WinTop=0.332292
        RenderWeight=5.07
        X1=0
        Y1=1
        X2=512
        Y2=511
	End Object



	Begin Object Class=GUIButton Name=SinglePlayerButton
	    FontScale=FNS_Small
		StyleName="TextButton"
		Caption="Single Player"
        CaptionEffectStylename="TextButtonEffect"
        CaptionAlign=TXTA_Left
		Hint="Play through the Tournament"
		OnClick=ButtonClick
		WinWidth=0.715022
		WinHeight=0.075000
		WinLeft=0.315359
		WinTop=0.368813
		TabOrder=0
		bFocusOnWatch=true
		bUseCaptionHeight=true
	End Object


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


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


	Begin Object Class=GUIButton Name=InstantActionButton
	    FontScale=FNS_Small
		StyleName="TextButton"
		Caption="Instant Action"
        CaptionEffectStylename="TextButtonEffect"
        CaptionAlign=TXTA_Left
		Hint="Play a practice match"
		OnClick=ButtonClick
		WinWidth=0.593666
		WinHeight=0.075000
		WinLeft=0.423640
		WinTop=0.618619
		bFocusOnWatch=true
        TabOrder=3
		bUseCaptionHeight=true
	End Object


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


	Begin Object Class=GUIButton Name=SettingsButton
	    FontScale=FNS_Small
		StyleName="TextButton"
		Caption="Settings"
        CaptionEffectStylename="TextButtonEffect"
        CaptionAlign=TXTA_Left
		Hint="Change your controls and settings"
		OnClick=ButtonClick
		WinWidth=0.580478
		WinHeight=0.075000
		WinLeft=0.434477
		WinTop=0.800327
		bFocusOnWatch=true
        TabOrder=5
		bUseCaptionHeight=true
	End Object


	Begin Object Class=GUIButton Name=QuitButton
	    FontScale=FNS_Small
		StyleName="TextButton"
		Caption="Exit UT2004"
        CaptionEffectStylename="TextButtonEffect"
        CaptionAlign=TXTA_Left
		Hint="Exit the game"
		OnClick=ButtonClick
		WinWidth=0.526767
		WinHeight=0.075000
		WinLeft=0.424711
		WinTop=0.887567
		bFocusOnWatch=true
        TabOrder=6
		bUseCaptionHeight=true
	End Object


	i_Background=PageBackground
    i_PanHuge=iPanHuge
    i_PanBig=iPanBig
    i_PanSmall=iPanSmall
	i_UT2Logo=ImgUT2Logo
	i_UT2Shader=ImgUT2Shader
	i_BkChar=ImgBkChar
    i_TV=ImgTV
	b_SinglePlayer=SinglePlayerButton
	b_MultiPlayer=MultiplayerButton
	b_Host=HostButton
	b_InstantAction=InstantActionButton
    b_ModsAndDemo=ModsAndDemosButton
	b_Settings=SettingsButton
	b_Quit=QuitButton


	WinWidth=1.0
	WinHeight=1.0
	WinTop=0.0
	WinLeft=0.0


	bRenderWorld=False
	bAllowClose=False
	bAllowedAsLast=true
	bDisconnectOnOpen=true
 	CharFade=0
    CharShots(0)=material'2K4Menus.MainMenu.Char01'
    CharShots(1)=material'2K4Menus.MainMenu.Char02'
    CharShots(2)=material'2K4Menus.MainMenu.Char03'
    NewNewsMsg="  (New Update Available)"
    MenuSong="KR-UT2004-Menu"
    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."
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:27.009 - Created with UnCodeX