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

GUI2K4.UT2K4Tab_GameTypeBase

Extends
UT2K4GameTabBase

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIMultiComponent
         |   
         +-- XInterface.GUIPanel
            |   
            +-- XInterface.GUITabPanel
               |   
               +-- XInterface.UT2K4TabPanel
                  |   
                  +-- GUI2K4.UT2K4GameTabBase
                     |   
                     +-- GUI2K4.UT2K4Tab_GameTypeBase

Direct Known Subclasses:

UT2K4Tab_GameTypeMP, UT2K4Tab_GameTypeSP

Variables Summary
stringCustomGameCaption
stringEpicGameCaption
array<SortHack>GamePos
array<CacheManager.GameRecord>GameTypes
AltSectionBackgroundi_Bk
GUIImagei_GamePreview
GUIScrollTextBoxlb_GameDesc
GUIListBoxlb_Games
GUIListli_Games
GUILabell_NoPreview
GUISectionBackgroundsb_Games
GUISectionBackgroundsb_Preview
UT2K4Tab_MainBasetp_Main
Inherited Variables from GUI2K4.UT2K4GameTabBase
p_Anchor

Structures Summary
SortHack
GameClass, Weight

Delegates Summary
delegate OnChangeGameType (bool bIsCustom)

Functions Summary
function AddEpicGameType (string GameName, string MapList))
functionstring FindGameClass (string GameName))
functionint FindRecordIndex (string GameName))
functionint GametypeSort (GUIListElem ElemA, GUIListElem ElemB))
functionbyte GetWeight (string GameClass, bool bSection ))
functionbool HasMaps (CacheManager.GameRecord TestRec ))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InitPreview ()))
function InternalOnChange (GUIComponent Sender))
function InternalOnTrack (GUIComponent Sender, int OldIndex))
function PopulateGameTypes ()))
event SetVisibility (bool bIsVisible ))
Inherited Functions from GUI2K4.UT2K4GameTabBase
InitComponent, Play, SetFooterCaption


Variables Detail

CustomGameCaption Source code

var localized string CustomGameCaption;

EpicGameCaption Source code

var localized string EpicGameCaption;

GamePos Source code

var array<SortHack> GamePos;

GameTypes Source code

var array<CacheManager.GameRecord> GameTypes;

i_Bk Source code

var automated AltSectionBackground i_Bk;

i_GamePreview Source code

var automated GUIImage i_GamePreview;

lb_GameDesc Source code

var automated GUIScrollTextBox lb_GameDesc;

lb_Games Source code

var automated GUIListBox lb_Games;

li_Games Source code

var GUIList li_Games;

l_NoPreview Source code

var automated GUILabel l_NoPreview;

sb_Games Source code

var automated GUISectionBackground sb_Games;

sb_Preview Source code

var automated GUISectionBackground sb_Preview;

tp_Main Source code

var UT2K4Tab_MainBase tp_Main;


Structures Detail

SortHack Source code

struct SortHack
{
var string GameClass;
var byte Weight;
};



Delegates Detail

OnChangeGameType Source code

delegate OnChangeGameType ( bool bIsCustom )


Functions Detail

AddEpicGameType Source code

function AddEpicGameType ( string GameName, string MapList) )

FindGameClass Source code

function string FindGameClass ( string GameName) )

FindRecordIndex Source code

function int FindRecordIndex ( string GameName) )

GametypeSort Source code

function int GametypeSort ( GUIListElem ElemA, GUIListElem ElemB) )

GetWeight Source code

function byte GetWeight ( string GameClass, bool bSection ) )

HasMaps Source code

function bool HasMaps ( CacheManager.GameRecord TestRec ) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InitPreview Source code

function InitPreview ( ) )

InternalOnChange Source code

function InternalOnChange ( GUIComponent Sender) )

InternalOnTrack Source code

function InternalOnTrack ( GUIComponent Sender, int OldIndex) )

PopulateGameTypes Source code

function PopulateGameTypes ( ) )

SetVisibility Source code

event SetVisibility ( bool bIsVisible ) )


Defaultproperties

defaultproperties
{
     GamePos(0)=(GameClass="UT2K4Assault.ASGameInfo")
     GamePos(1)=(GameClass="Onslaught.ONSOnslaughtGame",Weight=1)
     GamePos(2)=(GameClass="xGame.xDeathMatch",Weight=2)
     GamePos(3)=(GameClass="xGame.xCTFGame",Weight=3)
     GamePos(4)=(GameClass="xGame.xTeamGame",Weight=4)
     GamePos(5)=(GameClass="xGame.xDoubleDom",Weight=5)
     GamePos(6)=(GameClass="xGame.xBombingRun",Weight=6)
     GamePos(7)=(GameClass="BonusPack.xMutantGame",Weight=7)
     GamePos(8)=(GameClass="SkaarjPack.Invasion",Weight=8)
     GamePos(9)=(GameClass="BonusPack.xLastManStandingGame",Weight=9)
     GamePos(10)=(GameClass="xGame.xVehicleCTFGame",Weight=10)
     GamePos(11)=(GameClass="xGame.InstagibCTF",Weight=11)
     Begin Object Class=GUISectionBackground Name=GameTypeLeftGroup
         Caption="Available Game Types"
         TopPadding=0.025000
         BottomPadding=0.025000
         WinTop=0.043125
         WinLeft=0.023750
         WinWidth=0.482500
         WinHeight=0.941490
         TabOrder=0
         OnPreDraw=GameTypeLeftGroup.InternalPreDraw
     End Object
     sb_Games=GUISectionBackground'GUI2K4.UT2K4Tab_GameTypeBase.GameTypeLeftGroup'


     Begin Object Class=GUIListBox Name=UT2004Games
         SelectedStyleName="ListSelection"
         bVisibleWhenEmpty=True
         bSorted=True
         OnCreateComponent=UT2004Games.InternalOnCreateComponent
         FontScale=FNS_Large
         WinTop=0.144225
         WinLeft=0.045599
         WinWidth=0.438457
         WinHeight=0.796982
         TabOrder=0
         bBoundToParent=True
         bScaleToParent=True
         OnChange=UT2K4Tab_GameTypeBase.InternalOnChange
     End Object
     lb_Games=GUIListBox'GUI2K4.UT2K4Tab_GameTypeBase.UT2004Games'


     Begin Object Class=GUISectionBackground Name=GameTypeRightGroup
         Caption="Preview"
         WinTop=0.043125
         WinLeft=0.513243
         WinWidth=0.464649
         WinHeight=0.941490
         OnPreDraw=GameTypeRightGroup.InternalPreDraw
     End Object
     sb_Preview=GUISectionBackground'GUI2K4.UT2K4Tab_GameTypeBase.GameTypeRightGroup'


     Begin Object Class=GUILabel Name=NoPreview
         Caption="No Preview Available"
         TextAlign=TXTA_Center
         TextColor=(B=0,G=255,R=247)
         TextFont="UT2HeaderFont"
         bTransparent=False
         bMultiLine=True
         VertAlign=TXTA_Center
         WinTop=0.142826
         WinLeft=0.539224
         WinWidth=0.411862
         WinHeight=0.316545
     End Object
     l_NoPreview=GUILabel'GUI2K4.UT2K4Tab_GameTypeBase.NoPreview'


     Begin Object Class=GUIImage Name=GameTypePreview
         ImageStyle=ISTY_Scaled
         ImageRenderStyle=MSTY_Normal
         WinTop=0.142826
         WinLeft=0.539224
         WinWidth=0.411862
         WinHeight=0.316545
         RenderWeight=0.200000
     End Object
     i_GamePreview=GUIImage'GUI2K4.UT2K4Tab_GameTypeBase.GameTypePreview'


     Begin Object Class=AltSectionBackground Name=Bk1
         WinTop=0.478553
         WinLeft=0.535622
         WinWidth=0.419030
         WinHeight=0.474455
         RenderWeight=0.300000
         OnPreDraw=Bk1.InternalPreDraw
     End Object
     i_bk=AltSectionBackground'GUI2K4.UT2K4Tab_GameTypeBase.Bk1'


     Begin Object Class=GUIScrollTextBox Name=GameTypeDescription
         bNoTeletype=True
         CharDelay=0.002500
         EOLDelay=0.500000
         OnCreateComponent=GameTypeDescription.InternalOnCreateComponent
         WinTop=0.556774
         WinLeft=0.565270
         WinWidth=0.362056
         WinHeight=0.325716
         bTabStop=False
         bNeverFocus=True
     End Object
     lb_GameDesc=GUIScrollTextBox'GUI2K4.UT2K4Tab_GameTypeBase.GameTypeDescription'


     EpicGameCaption="Default Game Types"
     CustomGameCaption="Custom Game Type"
}

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