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

GUI2K4.UT2K4Tab_MainSP

Extends
UT2K4Tab_MainBase

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

Variables Summary
AltSectionBackgroundasb_Scroll
moButtonb_Maplist
moButtonb_Tutorial
GUIImagei_DescBack
GUIImagei_MapPreview
stringLastSelectedMap
GUIScrollTextBoxlb_MapDesc
GUITreeListBoxlb_Maps
GUILabell_MapAuthor
GUILabell_MapPlayers
GUILabell_NoPreview
GUISectionBackgroundsb_Options
GUISectionBackgroundsb_Preview
GUISectionBackgroundsb_Selection
UT2K4Tab_MainSP
stringBonusVehicles
stringBonusVehiclesMsg
GUITreeListli_Maps
stringMapCaption
Inherited Variables from GUI2K4.UT2K4Tab_MainBase
AuthorText, AutoSelectText, bOnlyShowCustom, bOnlyShowOfficial, b_Primary, b_Secondary, CacheMaps, ch_OfficialMapsOnly, ClearText, CurrentGameType, DefaultText, FilterText, LinkText, MapHandler, MaplistEditorMenu, Maps, MessageNoInfo, PlayerText, TutorialMaps
Inherited Variables from GUI2K4.UT2K4GameTabBase
p_Anchor

Functions Summary
function CheckGameTutorial ()))
functionint FindCacheRecordIndex (string MapName))
functionstring GetMapURL (GUITreeList List, int Index ))
functionbool HandleContextSelect (GUIContextMenu Sender, int Index))
function InitComponent (GUIController MyController, GUIComponent MyOwner))
function InitGameType ()))
function InitMaps (optional string MapPrefix ))
function InternalOnCreateComponent (GUIComponent NewComp, GUIComponent Sender))
function MapListChange (GUIComponent Sender))
function MaplistConfigClick (GUIComponent Sender ))
functionbool MapListDblClick (GUIComponent Sender))
functionbool OrigONSMap (string MapName))
functionstring Play ()))
function ReadMapInfo (string MapName))
function SetGameTypeCaption ()))
event SetVisibility (bool bIsVisible ))
function TutorialClicked (GUIComponent Sender ))
function UpdateScreenshot (int Index))
Inherited Functions from GUI2K4.UT2K4Tab_MainBase
ChangeMapFilter, GetGameClass, GetIsTeamGame, GetMapListClass, GetMapName, GetMapPrefix, GetMapURL, GetRulesClass, HandleContextOpen, InitComponent, InitGameType, InitMapHandler, InitMaps
Inherited Functions from GUI2K4.UT2K4GameTabBase
InitComponent, Play, SetFooterCaption


Variables Detail

asb_Scroll Source code

var automated AltSectionBackground asb_Scroll;

b_Maplist Source code

var automated moButton b_Maplist;

b_Tutorial Source code

var automated moButton b_Tutorial;

i_DescBack Source code

var automated GUIImage i_DescBack;

i_MapPreview Source code

var automated GUIImage i_MapPreview;

LastSelectedMap Source code

var config string LastSelectedMap;

lb_MapDesc Source code

var automated GUIScrollTextBox lb_MapDesc;

lb_Maps Source code

var automated GUITreeListBox lb_Maps;

l_MapAuthor Source code

var automated GUILabel l_MapAuthor;

l_MapPlayers Source code

var automated GUILabel l_MapPlayers;

l_NoPreview Source code

var automated GUILabel l_NoPreview;

sb_Options Source code

var automated GUISectionBackground sb_Options;

sb_Preview Source code

var automated GUISectionBackground sb_Preview;

sb_Selection Source code

var automated GUISectionBackground sb_Selection;

UT2K4Tab_MainSP

BonusVehicles Source code

var(UT2K4Tab_MainSP) localized string BonusVehicles;

BonusVehiclesMsg Source code

var(UT2K4Tab_MainSP) localized string BonusVehiclesMsg;

li_Maps Source code

var(UT2K4Tab_MainSP) editconst noexport GUITreeList li_Maps;

MapCaption Source code

var(UT2K4Tab_MainSP) localized string MapCaption;


Functions Detail

CheckGameTutorial Source code

function CheckGameTutorial ( ) )

FindCacheRecordIndex Source code

function int FindCacheRecordIndex ( string MapName) )

GetMapURL Source code

function string GetMapURL ( GUITreeList List, int Index ) )

HandleContextSelect Source code

function bool HandleContextSelect ( GUIContextMenu Sender, int Index) )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner) )

InitGameType Source code

function InitGameType ( ) )

InitMaps Source code

function InitMaps ( optional string MapPrefix ) )

InternalOnCreateComponent Source code

function InternalOnCreateComponent ( GUIComponent NewComp, GUIComponent Sender) )

MapListChange Source code

function MapListChange ( GUIComponent Sender) )

MaplistConfigClick Source code

function MaplistConfigClick ( GUIComponent Sender ) )

MapListDblClick Source code

function bool MapListDblClick ( GUIComponent Sender) )

OrigONSMap Source code

function bool OrigONSMap ( string MapName) )

Play Source code

function string Play ( ) )

ReadMapInfo Source code

function ReadMapInfo ( string MapName) )

SetGameTypeCaption Source code

function SetGameTypeCaption ( ) )

SetVisibility Source code

event SetVisibility ( bool bIsVisible ) )

TutorialClicked Source code

function TutorialClicked ( GUIComponent Sender ) )

UpdateScreenshot Source code

function UpdateScreenshot ( int Index) )


Defaultproperties

defaultproperties
{
    Begin Object class=GUISectionBackground Name=SelectionGroup
		WinWidth=0.482149
		WinHeight=0.603330
		WinLeft=0.016993
		WinTop=0.018125
		Caption="Map Selection"
		bFillClient=true
    End Object
    sb_Selection=SelectionGroup


    Begin Object Class=GUITreeListBox Name=AvailableMaps
		WinWidth=0.422481
		WinHeight=0.449870
		WinLeft=0.045671
		WinTop=0.169272
        bVisibleWhenEmpty=true
        Hint="Click a mapname to see a preview and description.  Double-click to play a match on the map."
        StyleName="NoBackground"
        TabOrder=0
        OnChange=MapListChange
        bBoundToParent=false
        bScaleToParent=false
    End Object
    lb_Maps=AvailableMaps


    Begin Object class=GUISectionBackground Name=PreviewGroup
		WinWidth=0.470899
		WinHeight=0.974305
		WinLeft=0.515743
		WinTop=0.018125
		Caption="Preview"
		bFillClient=true
    End Object
    sb_Preview=PreviewGroup


    Begin Object Class=GUILabel Name=NoPreview
		WinWidth=0.372002
		WinHeight=0.357480
		WinLeft=0.562668
		WinTop=0.107691
        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=MapPreviewImage
		WinWidth=0.372002
		WinHeight=0.357480
		WinLeft=0.562668
		WinTop=0.107691
        ImageColor=(R=255,G=255,B=255,A=255)
        ImageStyle=ISTY_Scaled
        ImageRenderStyle=MSTY_Normal
        RenderWeight=0.2
    End Object
    i_MapPreview=MapPreviewImage


    Begin Object class=GUILabel Name=MapAuthorLabel
        Caption="Testing"
        TextAlign=TXTA_Center
        StyleName="TextLabel"
		WinWidth=0.453285
		WinHeight=0.032552
		WinLeft=0.522265
		WinTop=0.405278
        RenderWeight=0.3
    End Object
    l_MapAuthor=MapAuthorLabel


    Begin Object class=GUILabel Name=RecommendedPlayers
        Caption="Best for 4 to 8 players"
        TextAlign=TXTA_Center
        StyleName="TextLabel"
		WinWidth=0.445313
		WinHeight=0.032552
		WinLeft=0.521288
		WinTop=0.474166
       RenderWeight=0.3
    End Object
    l_MapPlayers=RecommendedPlayers


	Begin Object class=AltSectionBackground name=ScrollSection
		WinWidth=0.409888
		WinHeight=0.437814
		WinLeft=0.546118
		WinTop=0.525219
		Caption="Map Desc"
		bFillClient=true
	End Object
	asb_Scroll=ScrollSection


    Begin Object Class=GUIScrollTextBox Name=MapDescription
		WinWidth=0.379993
		WinHeight=0.268410
		WinLeft=0.561065
		WinTop=0.628421
        CharDelay=0.0025
        EOLDelay=0.5
        bNeverFocus=true
        StyleName="NoBackground"
        bTabStop=False
    End Object
    lb_MapDesc=MapDescription


	Begin Object Class=GUISectionBackground Name=OptionsGroup
		WinWidth=0.482149
		WinHeight=0.351772
		WinLeft=0.018008
		WinTop=0.642580
		Caption="Options"
		BottomPadding=0.07
	End Object
	sb_Options=OptionsGroup


    Begin Object Class=moCheckbox Name=FilterCheck
    	OnChange=ChangeMapFilter
		WinWidth=0.341797
		WinHeight=0.030035
		WinLeft=0.051758
		WinTop=0.772865
    	Caption="Only Official Maps"
    	Hint="Hides all maps not created by Epic or Digital Extremes."
    	TabOrder=1
    	bAutoSizeCaption=True
    	ComponentWidth=0.9
    	CaptionWidth=0.1
    	bSquare=True
    End Object
	ch_OfficialMapsOnly=FilterCheck


    Begin Object Class=moButton Name=MaplistButton
		WinWidth=0.341797
		WinHeight=0.05
		WinLeft=0.039258
		WinTop=0.888587
    	ButtonCaption="Maplist Configuration"
    	Hint="Modify the maps that should be used in gameplay"
    	OnChange=MaplistConfigClick
    	TabOrder=2
    	ComponentWidth=1.0
    End Object
    b_Maplist=MaplistButton


    Begin Object Class=moButton Name=TutorialButton
    	OnChange=TutorialClicked
		WinWidth=0.348633
		WinHeight=0.05
		WinLeft=0.556953
		WinTop=0.913326

    	ButtonCaption="Watch Game Tutorial"
    	ButtonStyleName="SquareButton"
    	Hint="Watch the tutorial for this gametype."
    	ComponentWidth=1.0
    	TabOrder=3
    End Object
    b_Tutorial=TutorialButton


	MapCaption="Maps"
	BonusVehicles=" (Bonus Vehicles)"
	BonusVehiclesMsg="(Includes Bonus Vehicles)|"
}

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