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
{
	
	Begin Object Class=GUISectionBackground Name=GameTypeLeftGroup
		WinWidth=0.482500
        WinHeight=0.941490
		WinLeft=0.023750
        WinTop=0.043125
        TabOrder=0
    	TopPadding=0.025
    	BottomPadding=0.025
        Caption="Available Game Types"
    End Object
    sb_Games=GameTypeLeftGroup


    Begin Object Class=GUIListBox Name=UT2004Games
		WinWidth=0.438457
		WinHeight=0.796982
		WinLeft=0.045599
		WinTop=0.144225
		bSorted=True
        bBoundToParent=True
        bScaleToParent=True
        bVisibleWhenEmpty=True
        OnChange=InternalOnChange
        StyleName="NoBackground"
        SelectedStyleName="ListSelection"
        FontScale=FNS_Large
        TabOrder=0
    End Object
    lb_Games=UT2004Games


	
	Begin Object Class=GUISectionBackground Name=GameTypeRightGroup
        WinWidth=0.464649
        WinHeight=0.941490
        WinLeft=0.513243
        WinTop=0.043125
        Caption="Preview"
	End Object
	sb_Preview=GameTypeRightGroup


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


    Begin Object Class=GUIImage Name=GameTypePreview
		WinWidth=0.411862
		WinHeight=0.316545
		WinLeft=0.539224
		WinTop=0.142826
        ImageColor=(R=255,G=255,B=255,A=255)
        ImageStyle=ISTY_Scaled
        ImageRenderStyle=MSTY_Normal
        RenderWeight=0.2
    End Object
    i_GamePreview=GameTypePreview


    Begin Object Class=GUIScrollTextBox Name=GameTypeDescription
		WinWidth=0.362056
		WinHeight=0.325716
		WinLeft=0.565270
		WinTop=0.556774
        CharDelay=0.0025
        EOLDelay=0.5
        bNeverFocus=true
        StyleName="NoBackground"
        bNoTeletype=True
        bTabStop=False
    End Object
    lb_GameDesc=GameTypeDescription


	Begin Object class=AltSectionBackground name=Bk1
		WinWidth=0.419030
		WinHeight=0.474455
		WinLeft=0.535622
		WinTop=0.478553
		RenderWeight=0.3
	End Object
	i_BK=BK1



    GamePos(0)=(GameClass="UT2K4Assault.ASGameInfo",Weight=0)
    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)


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


}



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