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=SPbtnDetails
		Caption="DETAILS"
		Hint="Show profile details"
		StyleName="FooterButton"
		WinWidth=0.12
		WinHeight=0.040703
		WinTop=0.959479
		WinLeft=0.76
		OnClick=btnDetailsOnClick
		TabOrder=0
		RenderWeight=1.0
		bVisible=false
		bBoundToParent=True
	End Object
	btnDetails=SPbtnDetails


	Begin Object Class=GUIButton Name=SPbtnPlay
		Caption="PLAY"
		Hint="Continue this tournament"
		StyleName="FooterButton"
		WinWidth=0.12
		WinHeight=0.040703
		WinTop=0.959479
		WinLeft=0.88
		OnClick=btnPlayOnClick
		TabOrder=1
		RenderWeight=1.0
		bBoundToParent=True
	End Object
	btnPlay=SPbtnPlay


	Begin Object Class=GUIButton Name=SPbtnBack
		Caption="BACK"
		Hint="Return to Previous Menu"
		StyleName="FooterButton"
		WinWidth=0.12
		WinHeight=0.040703
		WinTop=0.959479
		WinLeft=0
		OnClick=btnBackOnClick
		TabOrder=2
		RenderWeight=1.0
		bBoundToParent=True
	End Object
	btnBack=SPbtnBack


	
	Begin Object Class=GUIButton Name=SPbtnDebugExec
		Caption="EXEC"
		Hint="Execute special event"
		StyleName="SquareButton"
		WinWidth=0.12
		WinHeight=0.033203
		WinTop=0.959479
		WinLeft=0.3
		OnClick=btnDebugExecOnClick
		TabOrder=4
		RenderWeight=1.0
		bVisible=false
	End Object
	btnDebugExec=SPbtnDebugExec


	Begin Object Class=GUIEditBox Name=SPedDebugExec
		WinWidth=0.3
		WinHeight=0.033203
		WinTop=0.966146
		WinLeft=0
		TabOrder=3
		RenderWeight=1.0
		bVisible=false
	End Object
	edDebugExec=SPedDebugExec
	

	bPersistent=False


	OnPreDraw=InternalOnPreDraw
	OnCanClose=InternalOnCanClose
	OnReOpen=thisOnReOpen


	Begin Object class=GUIHeader name=SPhdrHeader
		RenderWeight=0.1
	End Object
	t_Header=SPhdrHeader


	Begin Object class=ButtonFooter name=SPftrFooter
		RenderWeight=0.1
	End Object
	t_Footer=SPftrFooter


	bDrawFocusedLast=false


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


	PanelClass(0)="GUI2K4.UT2K4SPTab_Profile"
	PanelCaption(0)="Profile"
	PanelHint(0)="Manage your profiles"
	PanelClass(1)="GUI2K4.UT2K4SPTab_ProfileNew"
	PanelCaption(1)="New profile"
	PanelHint(1)="Create a new profile"
	PanelClass(2)="GUI2K4.UT2K4SPTab_Tutorials"
	PanelCaption(2)="Tutorials"
	PanelHint(2)="Gametype tutorials"
	PanelClass(3)="GUI2K4.UT2K4SPTab_Qualification"
	PanelCaption(3)="Qualification"
	PanelHint(3)="Qualify to enter the tournament"
	PanelClass(4)="GUI2K4.UT2K4SPTab_TeamQualification"
	PanelCaption(4)="Team Qualification"
	PanelHint(4)="Qualify your team to enter the tournament"
	PanelClass(5)="GUI2K4.UT2K4SPTab_Ladder"
	PanelCaption(5)="Ladder"
	PanelHint(5)="The tournament ladder"
	PanelClass(6)="GUI2K4.UT2K4SPTab_TeamManagement"
	PanelCaption(6)="Team Management"
	PanelHint(6)="Manage your team"


	PanelClass(7)="GUI2K4.UT2K4SPTab_ExtraLadder"
	PanelCaption(7)="Additional"
	PanelHint(7)="Additional ladders"


	ProfilePrefix="SP_"
	PageCaption="Tournament"
	LoadedPageCaption="'s Tournament"
	LadderCompleteMsg="completed"
	msgFullTeamRequired="A full team is required to play this match."
	

	DetailsPage="GUI2K4.UT2K4SP_Details"
	InjuryPage="GUI2K4.UT2K4SP_Injury"
	MessagePage="GUI2K4.UT2K4SP_Message"
	PictureMessagePage="GUI2K4.UT2K4SP_PictureMessage"
	HighScorePage="GUI2K4.UT2K4SP_HighScores"
	EndGameMap="endgame"


	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.";
}

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