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

ROInterface.ROMainMenu

Extends
UT2K4GUIPage

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPage
            |   
            +-- XInterface.UT2K4GUIPage
               |   
               +-- ROInterface.ROMainMenu

Variables Summary
boolAcceptedEULA
boolAllowClose
GUIButtonb_Back
GUIButtonb_Credits
GUIButtonb_Demos
GUIButtonb_Help
GUIButtonb_Host
GUIButtonb_Manual
GUIButtonb_MultiPlayer
GUIButtonb_Practice
GUIButtonb_Quit
GUIButtonb_Settings
GUIButtonb_Website
FloatingImagei_background
stringManualURL
GUISectionBackgroundsb_HelpMenu
GUISectionBackgroundsb_MainMenu
stringSinglePlayerDisabledText
stringSteamMustBeRunningText
stringWebsiteURL
ROMainMenu
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 ButtonClick (GUIComponent Sender))
functionbool CanClose (optional Bool bCanceled))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InternalOnOpen ()))
function LoadMenuLevel ()))
functionbool MyKeyEvent (out byte Key, ut byte State, loat delta))
eventbool NotifyLevelChange ()))
function OnClose (optional Bool bCanceled))
event Opened (GUIComponent Sender))
function ShowSubMenu (int menu_id))
Inherited Functions from XInterface.GUIPage
AllowOpen, ChangeHint, CheckResolution, Closed, Free, GetDataString, GetRestoreParams, HandleObject, HandleParameters, InitComponent, IsOpen, NotifyLevelChange, PlayCloseSound, PlayOpenSound, SetDataString, SetFocus


Variables Detail

AcceptedEULA Source code

var globalconfig bool AcceptedEULA;

AllowClose Source code

var bool AllowClose;

b_Back Source code

var automated GUIButton b_Back;

b_Credits Source code

var automated GUIButton b_Credits;

b_Demos Source code

var automated GUIButton b_Demos;

b_Help Source code

var automated GUIButton b_Help;

b_Host Source code

var automated GUIButton b_Host;

b_Manual Source code

var automated GUIButton b_Manual;

b_MultiPlayer Source code

var automated GUIButton b_MultiPlayer;

b_Practice Source code

var automated GUIButton b_Practice;

b_Quit Source code

var automated GUIButton b_Quit;

b_Settings Source code

var automated GUIButton b_Settings;

b_Website Source code

var automated GUIButton b_Website;

i_background Source code

var automated FloatingImage i_background;

ManualURL Source code

var localized string ManualURL;

sb_HelpMenu Source code

var automated GUISectionBackground sb_HelpMenu;

sb_MainMenu Source code

var automated GUISectionBackground sb_MainMenu;

SinglePlayerDisabledText Source code

var localized string SinglePlayerDisabledText;

SteamMustBeRunningText Source code

var localized string SteamMustBeRunningText;

WebsiteURL Source code

var string WebsiteURL;

ROMainMenu

MenuSong Source code

var(ROMainMenu) config string MenuSong;


Functions Detail

ButtonClick Source code

function bool ButtonClick ( GUIComponent Sender) )

CanClose Source code

function bool CanClose ( optional Bool bCanceled) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InternalOnOpen Source code

function InternalOnOpen ( ) )

LoadMenuLevel Source code

function LoadMenuLevel ( ) )

MyKeyEvent Source code

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

NotifyLevelChange Source code

event bool NotifyLevelChange ( ) )

OnClose Source code

function OnClose ( optional Bool bCanceled) )

Opened Source code

event Opened ( GUIComponent Sender) )

ShowSubMenu Source code

function ShowSubMenu ( int menu_id) )


Defaultproperties

defaultproperties
{
     Begin Object Class=FloatingImage Name=FloatingBackground
         Image=Texture'menuBackground.MainBackGround'
         DropShadow=None
         ImageStyle=ISTY_Scaled
         WinTop=0.000000
         WinLeft=0.000000
         WinWidth=1.000000
         WinHeight=1.000000
         RenderWeight=0.000003
     End Object
     i_Background=FloatingImage'ROInterface.ROMainMenu.FloatingBackground'


     Begin Object Class=ROGUIContainerNoSkinAlt Name=sbSection1
         WinTop=0.694000
         WinLeft=0.021875
         WinWidth=0.485000
         WinHeight=0.281354
         OnPreDraw=sbSection1.InternalPreDraw
     End Object
     sb_MainMenu=ROGUIContainerNoSkinAlt'ROInterface.ROMainMenu.sbSection1'


     Begin Object Class=GUIButton Name=ServerButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Multiplayer"
         bAutoShrink=False
         bUseCaptionHeight=True
         FontScale=FNS_Large
         StyleName="TextButton"
         Hint="Play a multiplayer match"
         TabOrder=1
         bFocusOnWatch=True
         OnClick=ROMainMenu.ButtonClick
         OnKeyEvent=ServerButton.InternalOnKeyEvent
     End Object
     b_MultiPlayer=GUIButton'ROInterface.ROMainMenu.ServerButton'


     Begin Object Class=GUIButton Name=InstantActionButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Practice"
         bAutoShrink=False
         bUseCaptionHeight=True
         FontScale=FNS_Large
         StyleName="TextButton"
         Hint="Play a practice match"
         TabOrder=2
         bFocusOnWatch=True
         OnClick=ROMainMenu.ButtonClick
     End Object
     b_Practice=GUIButton'ROInterface.ROMainMenu.InstantActionButton'


     Begin Object Class=GUIButton Name=SettingsButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Configuration"
         bAutoShrink=False
         bUseCaptionHeight=True
         FontScale=FNS_Large
         StyleName="TextButton"
         Hint="Configuration settings"
         TabOrder=3
         bFocusOnWatch=True
         OnClick=ROMainMenu.ButtonClick
         OnKeyEvent=SettingsButton.InternalOnKeyEvent
     End Object
     b_Settings=GUIButton'ROInterface.ROMainMenu.SettingsButton'


     Begin Object Class=GUIButton Name=HelpButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Help & Game Management"
         bAutoShrink=False
         bUseCaptionHeight=True
         FontScale=FNS_Large
         StyleName="TextButton"
         Hint="Help and Game Management utilities"
         TabOrder=4
         bFocusOnWatch=True
         OnClick=ROMainMenu.ButtonClick
         OnKeyEvent=HelpButton.InternalOnKeyEvent
     End Object
     b_Help=GUIButton'ROInterface.ROMainMenu.HelpButton'


     Begin Object Class=GUIButton Name=HostButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Host Game"
         bAutoShrink=False
         bUseCaptionHeight=True
         FontScale=FNS_Large
         StyleName="TextButton"
         Hint="Host Your Own Server"
         TabOrder=5
         bFocusOnWatch=True
         OnClick=ROMainMenu.ButtonClick
         OnKeyEvent=HostButton.InternalOnKeyEvent
     End Object
     b_Host=GUIButton'ROInterface.ROMainMenu.HostButton'


     Begin Object Class=GUIButton Name=QuitButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Exit"
         bAutoShrink=False
         bUseCaptionHeight=True
         FontScale=FNS_Large
         StyleName="TextButton"
         Hint="Exit the game"
         TabOrder=6
         bFocusOnWatch=True
         OnClick=ROMainMenu.ButtonClick
         OnKeyEvent=QuitButton.InternalOnKeyEvent
     End Object
     b_Quit=GUIButton'ROInterface.ROMainMenu.QuitButton'


     Begin Object Class=ROGUIContainerNoSkinAlt Name=sbSection2
         WinTop=0.694000
         WinLeft=0.021875
         WinWidth=0.485000
         WinHeight=0.240728
         OnPreDraw=sbSection2.InternalPreDraw
     End Object
     sb_HelpMenu=ROGUIContainerNoSkinAlt'ROInterface.ROMainMenu.sbSection2'


     Begin Object Class=GUIButton Name=CreditsButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Credits"
         bAutoShrink=False
         bUseCaptionHeight=True
         FontScale=FNS_Large
         StyleName="TextButton"
         Hint="View the Credits"
         TabOrder=11
         bFocusOnWatch=True
         OnClick=ROMainMenu.ButtonClick
         OnKeyEvent=CreditsButton.InternalOnKeyEvent
     End Object
     b_Credits=GUIButton'ROInterface.ROMainMenu.CreditsButton'


     Begin Object Class=GUIButton Name=ManualButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Manual"
         bAutoShrink=False
         bUseCaptionHeight=True
         FontScale=FNS_Large
         StyleName="TextButton"
         Hint="Read the Manual"
         TabOrder=12
         bFocusOnWatch=True
         OnClick=ROMainMenu.ButtonClick
         OnKeyEvent=ManualButton.InternalOnKeyEvent
     End Object
     b_Manual=GUIButton'ROInterface.ROMainMenu.ManualButton'


     Begin Object Class=GUIButton Name=DemosButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Demo Management"
         bAutoShrink=False
         bUseCaptionHeight=True
         FontScale=FNS_Large
         StyleName="TextButton"
         Hint="Manage recorded demos"
         TabOrder=12
         bFocusOnWatch=True
         OnClick=ROMainMenu.ButtonClick
         OnKeyEvent=DemosButton.InternalOnKeyEvent
     End Object
     b_Demos=GUIButton'ROInterface.ROMainMenu.DemosButton'


     Begin Object Class=GUIButton Name=WebsiteButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Visit Website"
         bAutoShrink=False
         bUseCaptionHeight=True
         FontScale=FNS_Large
         StyleName="TextButton"
         Hint="Visit the official Red Orchestra website"
         TabOrder=12
         bFocusOnWatch=True
         OnClick=ROMainMenu.ButtonClick
         OnKeyEvent=WebsiteButton.InternalOnKeyEvent
     End Object
     b_Website=GUIButton'ROInterface.ROMainMenu.WebsiteButton'


     Begin Object Class=GUIButton Name=BackButton
         CaptionAlign=TXTA_Left
         CaptionEffectStyleName="TextButtonEffect"
         Caption="Back"
         bAutoShrink=False
         bUseCaptionHeight=True
         FontScale=FNS_Large
         StyleName="TextButton"
         Hint="Return to Main Menu"
         TabOrder=12
         bFocusOnWatch=True
         OnClick=ROMainMenu.ButtonClick
         OnKeyEvent=BackButton.InternalOnKeyEvent
     End Object
     b_Back=GUIButton'ROInterface.ROMainMenu.BackButton'


     ManualURL="http://www.redorchestragame.com/downloads/manuals/Game_Manual.pdf"
     WebsiteURL="http://www.redorchestragame.com/"
     SteamMustBeRunningText="Steam must be running and you must have an active internet connection to play multiplayer"
     SinglePlayerDisabledText="Practice mode is only available in the full version."
     MenuSong="RO_Eastern_Front"
     BackgroundColor=(B=0,R=0)
     InactiveFadeColor=(B=0,G=0,R=255)
     OnOpen=ROMainMenu.InternalOnOpen
     WinTop=0.000000
     WinHeight=1.000000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Fri 13-10-2023 03:18:51.842 - Created with UnCodeX