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

GUI2K4.UT2K4SP_Main

Extends
UT2K4MainPage

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

Constants Summary
SPDEBUGMODE=false

Variables Summary
boolbEnableTC
GUIButtonbtnBack
GUIButtonbtnDebugExec
GUIButtonbtnDetails
GUIButtonbtnPlay
stringDetailsPage
array<string>DonationMsg
GUIEditBoxedDebugExec
stringEndGameMap
UT2K4GameProfileGP
stringHighScorePage
stringInjuryPage
StringLadderCompleteMsg
UT2K4SPTab_LadderBaseLastLadderPage
stringLoadedPageCaption
stringMessagePage
stringmsgFullTeamRequired
stringPageCaption
stringPictureMessagePage
stringProfilePrefix
GUITabPanelSetActiveTab
UT2K4SPTab_LaddertpLadder
UT2K4SPTab_ProfiletpProfile
UT2K4SPTab_QualificationtpQualification
UT2K4SPTab_TeamManagementtpTeamManagement
UT2K4SPTab_TeamQualificationtpTeamQualification
UT2K4SPTab_TutorialstpTutorials
Inherited Variables from GUI2K4.UT2K4MainPage
c_Tabs, HighScoreFile, i_Background, i_bkChar, i_bkScan, PanelCaption, PanelClass, PanelHint, TotalUnlockedCharacters, t_Footer, t_Header
Inherited Variables from XInterface.UT2K4GUIPage
BeepSound, FadeInSound, PopInSound, SlideInSound

Functions Summary
functionGUITabPanel addTab (int index, optional bool bActive)
functionbool btnBackOnClick (GUIComponent Sender)
functionbool btnDebugExecOnClick (GUIComponent Sender)
functionbool btnDetailsOnClick (GUIComponent Sender)
functionbool btnPlayOnClick (GUIComponent Sender)
functionint DoHighScore ()
function HandleGameProfile ()
event HandleParameters (string Param1, string Param2)
functionbool HandleRequirements (string reqstring)
function HandleSpecialEvent (string SpecialEvent)
function InitComponent (GUIController MyController, GUIComponent MyOwner)
functionbool InternalOnCanClose (optional Bool bCancelled)
function InternalOnChange (GUIComponent Sender)
functionbool InternalOnPreDraw (Canvas Canvas)
function ProfileUnlockChar (string Char)
function removeTab (GUITabPanel tab)
functionGUITabPanel replaceTab (int index, GUITabPanel previousPage, optional bool bActive)
function reportDonation ()
function thisOnReOpen ()
function UpdateFreeAgentTeams ()
function UpdateTabs (optional bool bPurge, optional bool bSetActive)
Inherited Functions from GUI2K4.UT2K4MainPage
GetRestoreParams, HandleParameters, InitComponent, InternalOnChange, IsUnlocked, UnlockCharacter


Constants Detail

SPDEBUGMODE Source code

const SPDEBUGMODE = false;


Variables Detail

bEnableTC Source code

var config bool bEnableTC;

btnBack Source code

var automated GUIButton btnBack;

btnDebugExec Source code

var automated GUIButton btnDebugExec;

btnDetails Source code

var automated GUIButton btnDetails;

btnPlay Source code

var automated GUIButton btnPlay;

DetailsPage Source code

var string DetailsPage;
various menu pages to open

DonationMsg Source code

var localized array<string> DonationMsg;
random donation message

edDebugExec Source code

var automated GUIEditBox edDebugExec;

EndGameMap Source code

var string EndGameMap;
the map to open when the game has been completed

GP Source code

var UT2K4GameProfile GP;

HighScorePage Source code

var string HighScorePage;
various menu pages to open

InjuryPage Source code

var string InjuryPage;
various menu pages to open

LadderCompleteMsg Source code

var localized String LadderCompleteMsg;

LastLadderPage Source code

var UT2K4SPTab_LadderBase LastLadderPage;
the ladder with the currently selected match used for the "play" button in the team management window

LoadedPageCaption Source code

var localized string LoadedPageCaption;

MessagePage Source code

var string MessagePage;
various menu pages to open

msgFullTeamRequired Source code

var localized string msgFullTeamRequired;

PageCaption Source code

var localized string PageCaption;

PictureMessagePage Source code

var string PictureMessagePage;
various menu pages to open

ProfilePrefix Source code

var string ProfilePrefix;
prefix for profile names

SetActiveTab Source code

var GUITabPanel SetActiveTab;
the pending active tab, will be activated after all tabs are added

tpLadder Source code

var UT2K4SPTab_Ladder tpLadder;

tpProfile Source code

var UT2K4SPTab_Profile tpProfile;

tpQualification Source code

var UT2K4SPTab_Qualification tpQualification;

tpTeamManagement Source code

var UT2K4SPTab_TeamManagement tpTeamManagement;

tpTeamQualification Source code

var UT2K4SPTab_TeamQualification tpTeamQualification;

tpTutorials Source code

var UT2K4SPTab_Tutorials tpTutorials;


Functions Detail

addTab Source code

function GUITabPanel addTab ( int index, optional bool bActive )
Add a preconfigured tab

btnBackOnClick Source code

function bool btnBackOnClick ( GUIComponent Sender )
BACK button clicked, ask what to do

btnDebugExecOnClick Source code

function bool btnDebugExecOnClick ( GUIComponent Sender )

btnDetailsOnClick Source code

function bool btnDetailsOnClick ( GUIComponent Sender )

btnPlayOnClick Source code

function bool btnPlayOnClick ( GUIComponent Sender )
PLAY button clicked, ask what to do

DoHighScore Source code

function int DoHighScore ( )
Add the current profile to the highscore

HandleGameProfile Source code

function HandleGameProfile ( )

HandleParameters Source code

event HandleParameters ( string Param1, string Param2 )

HandleRequirements Source code

function bool HandleRequirements ( string reqstring )
parse match requirement string, returns false when a single requirement is not met

HandleSpecialEvent Source code

function HandleSpecialEvent ( string SpecialEvent )
handle special events, delimited by semi-colons

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner )

InternalOnCanClose Source code

function bool InternalOnCanClose ( optional Bool bCancelled )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender )
Clicked a TabButton

InternalOnPreDraw Source code

function bool InternalOnPreDraw ( Canvas Canvas )

ProfileUnlockChar Source code

function ProfileUnlockChar ( string Char )

removeTab Source code

function removeTab ( GUITabPanel tab )
Shorthand to remove a tab

replaceTab Source code

function GUITabPanel replaceTab ( int index, GUITabPanel previousPage, optional bool bActive )
Replace an existing tab

reportDonation Source code

function reportDonation ( )

thisOnReOpen Source code

function thisOnReOpen ( )

UpdateFreeAgentTeams Source code

function UpdateFreeAgentTeams ( )
calculate which bots are available to be hired

UpdateTabs Source code

function UpdateTabs ( optional bool bPurge, optional bool bSetActive )
Update tabs when a gameprofile is loaded


Defaultproperties

defaultproperties
{
     Begin Object Class=GUIButton Name=SPbtnBack
         Caption="BACK"
         StyleName="FooterButton"
         Hint="Return to Previous Menu"
         WinTop=0.959479
         WinWidth=0.120000
         WinHeight=0.040703
         RenderWeight=1.000000
         TabOrder=2
         bBoundToParent=True
         OnClick=UT2K4SP_Main.btnBackOnClick
         OnKeyEvent=SPbtnBack.InternalOnKeyEvent
     End Object
     btnBack=GUIButton'GUI2K4.UT2K4SP_Main.SPbtnBack'

     Begin Object Class=GUIButton Name=SPbtnPlay
         Caption="PLAY"
         StyleName="FooterButton"
         Hint="Continue this tournament"
         WinTop=0.959479
         WinLeft=0.880000
         WinWidth=0.120000
         WinHeight=0.040703
         RenderWeight=1.000000
         TabOrder=1
         bBoundToParent=True
         OnClick=UT2K4SP_Main.btnPlayOnClick
         OnKeyEvent=SPbtnPlay.InternalOnKeyEvent
     End Object
     btnPlay=GUIButton'GUI2K4.UT2K4SP_Main.SPbtnPlay'

     Begin Object Class=GUIButton Name=SPbtnDetails
         Caption="DETAILS"
         StyleName="FooterButton"
         Hint="Show profile details"
         WinTop=0.959479
         WinLeft=0.760000
         WinWidth=0.120000
         WinHeight=0.040703
         RenderWeight=1.000000
         TabOrder=0
         bBoundToParent=True
         bVisible=False
         OnClick=UT2K4SP_Main.btnDetailsOnClick
         OnKeyEvent=SPbtnDetails.InternalOnKeyEvent
     End Object
     btnDetails=GUIButton'GUI2K4.UT2K4SP_Main.SPbtnDetails'

     Begin Object Class=GUIButton Name=SPbtnDebugExec
         Caption="EXEC"
         Hint="Execute special event"
         WinTop=0.959479
         WinLeft=0.300000
         WinWidth=0.120000
         WinHeight=0.033203
         RenderWeight=1.000000
         TabOrder=4
         bVisible=False
         OnClick=UT2K4SP_Main.btnDebugExecOnClick
         OnKeyEvent=SPbtnDebugExec.InternalOnKeyEvent
     End Object
     btnDebugExec=GUIButton'GUI2K4.UT2K4SP_Main.SPbtnDebugExec'

     Begin Object Class=GUIEditBox Name=SPedDebugExec
         WinTop=0.966146
         WinWidth=0.300000
         WinHeight=0.033203
         RenderWeight=1.000000
         TabOrder=3
         bVisible=False
         OnActivate=SPedDebugExec.InternalActivate
         OnDeActivate=SPedDebugExec.InternalDeactivate
         OnKeyType=SPedDebugExec.InternalOnKeyType
         OnKeyEvent=SPedDebugExec.InternalOnKeyEvent
     End Object
     edDebugExec=GUIEditBox'GUI2K4.UT2K4SP_Main.SPedDebugExec'

     PageCaption="Tournament"
     LoadedPageCaption="'s Tournament"
     LadderCompleteMsg="completed"
     msgFullTeamRequired="A full team is required to play this match."
     DonationMsg(0)="You were almost broke, but an anonymous benefactor donated some credits so you can continue your tournament."
     DonationMsg(1)="A fan saved you from going bankrupt, you can now continue with the tournament."
     ProfilePrefix="SP_"
     DetailsPage="GUI2K4.UT2K4SP_Details"
     InjuryPage="GUI2K4.UT2K4SP_Injury"
     MessagePage="GUI2K4.UT2K4SP_Message"
     PictureMessagePage="GUI2K4.UT2K4SP_PictureMessage"
     HighScorePage="GUI2K4.UT2K4SP_HighScores"
     EndGameMap="endgame"
     Begin Object Class=GUIHeader Name=SPhdrHeader
         RenderWeight=0.100000
     End Object
     t_Header=GUIHeader'GUI2K4.UT2K4SP_Main.SPhdrHeader'

     Begin Object Class=ButtonFooter Name=SPftrFooter
         RenderWeight=0.100000
         OnPreDraw=SPftrFooter.InternalOnPreDraw
     End Object
     t_Footer=ButtonFooter'GUI2K4.UT2K4SP_Main.SPftrFooter'

     PanelClass(0)="GUI2K4.UT2K4SPTab_Profile"
     PanelClass(1)="GUI2K4.UT2K4SPTab_ProfileNew"
     PanelClass(2)="GUI2K4.UT2K4SPTab_Tutorials"
     PanelClass(3)="GUI2K4.UT2K4SPTab_Qualification"
     PanelClass(4)="GUI2K4.UT2K4SPTab_TeamQualification"
     PanelClass(5)="GUI2K4.UT2K4SPTab_Ladder"
     PanelClass(6)="GUI2K4.UT2K4SPTab_TeamManagement"
     PanelClass(7)="GUI2K4.UT2K4SPTab_ExtraLadder"
     PanelCaption(0)="Profile"
     PanelCaption(1)="New profile"
     PanelCaption(2)="Tutorials"
     PanelCaption(3)="Qualification"
     PanelCaption(4)="Team Qualification"
     PanelCaption(5)="Ladder"
     PanelCaption(6)="Team Management"
     PanelCaption(7)="Additional"
     PanelHint(0)="Manage your profiles"
     PanelHint(1)="Create a new profile"
     PanelHint(2)="Gametype tutorials"
     PanelHint(3)="Qualify to enter the tournament"
     PanelHint(4)="Qualify your team to enter the tournament"
     PanelHint(5)="The tournament ladder"
     PanelHint(6)="Manage your team"
     PanelHint(7)="Additional ladders"
     bPersistent=False
     OnReOpen=UT2K4SP_Main.thisOnReOpen
     OnCanClose=UT2K4SP_Main.InternalOnCanClose
     bDrawFocusedLast=False
     OnPreDraw=UT2K4SP_Main.InternalOnPreDraw
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Wed 7/2/2007 19:16:23.578 - Created with UnCodeX