GUI2K4.UT2K4Tab_DetailSettings
- Extends
- Settings_Tabs
Core.Object
|
+-- XInterface.GUI
|
+-- XInterface.GUIComponent
|
+-- XInterface.GUIMultiComponent
|
+-- XInterface.GUIPanel
|
+-- XInterface.GUITabPanel
|
+-- XInterface.UT2K4TabPanel
|
+-- GUI2K4.Settings_Tabs
|
+-- GUI2K4.UT2K4Tab_DetailSettings
Inherited Functions from GUI2K4.Settings_Tabs |
AcceptClicked, Closed, DrawPerfWarn, GetNativeClassName, InitComponent, InternalOnChange, Opened, ResetClicked, SaveSettings, ShowPanel, ShowPerformanceWarning, Timer |
const RENDERMODECOUNT = 2;
UT2K4Tab_DetailSettings
RenderModeText[RENDERMODECOUNT] Source code
RenderMode[RENDERMODECOUNT] Source code
function int AddNewResolution ( string NewDisplayMode) )
function CheckSliders ( ) )
CheckSupportedResolutions Source code
function CheckSupportedResolutions ( ) )
final function string GetConfigString ( string DetailString) )
function int GetDetailIndex ( string DetailString) )
final function string GetGUIString ( string ConfigString) )
function InitializeCombos ( ) )
function InternalOnLoadINI (
GUIComponent Sender,
string s) )
function
bool InternalOnPreDraw (
Canvas C) )
function Refresh ( ) )
function bool RenderDeviceClick ( byte Btn ) )
function ResetClicked ( ) )
function ResetRenderDevice ( ) )
function ResetViewport ( ) )
function ResolutionChanged ( int NewX, int NewY) )
function SaveSettings ( ) )
function SetupPositions ( ) )
function ShowPanel ( bool bShow) )
function UpdateDecalStay ( ) )
function VideoChangeClose ( optional bool bCancelled) )
defaultproperties
{
DisplayModes(0)=(Width=320,Height=240)
DisplayModes(1)=(Width=512,Height=384)
DisplayModes(2)=(Width=640,Height=480)
DisplayModes(3)=(Width=800,Height=500)
DisplayModes(4)=(Width=800,Height=600)
DisplayModes(5)=(Width=1024,Height=640)
DisplayModes(6)=(Width=1024,Height=768)
DisplayModes(7)=(Width=1152,Height=768)
DisplayModes(8)=(Width=1152,Height=864)
DisplayModes(9)=(Width=1280,Height=800)
DisplayModes(10)=(Width=1280,Height=854)
DisplayModes(11)=(Width=1280,Height=960)
DisplayModes(12)=(Width=1280,Height=1024)
DisplayModes(13)=(Width=1600,Height=1024)
DisplayModes(14)=(Width=1600,Height=1200)
DisplayModes(15)=(Width=1680,Height=1050)
DisplayModes(16)=(Width=1920,Height=1200)
BitDepthText(0)="16-bit"
BitDepthText(1)="32-bit"
DetailLevels(0)="Lowest"
DetailLevels(1)="Very Low"
DetailLevels(2)="Lower"
DetailLevels(3)="Low"
DetailLevels(4)="Normal"
DetailLevels(5)="High"
DetailLevels(6)="Higher"
DetailLevels(7)="Very High"
DetailLevels(8)="Highest"
ShadowOptions(0)="None"
ShadowOptions(1)="Blob"
ShadowOptions(2)="Full"
RenderModeText(0)="Direct 3D"
RenderModeText(1)="Software"
RenderMode(0)="D3DDrv.D3DRenderDevice"
RenderMode(1)="PixoDrv.PixoRenderDevice"
DisplayPromptMenu="GUI2K4.UT2K4VideoChangeOK"
Begin Object Class=GUISectionBackground Name=sbSection1
Caption="Resolution"
WinTop=0.012761
WinLeft=0.000948
WinWidth=0.491849
WinHeight=0.440729
RenderWeight=0.010000
OnPreDraw=sbSection1.InternalPreDraw
End Object
sb_Section1=GUISectionBackground'GUI2K4.UT2K4Tab_DetailSettings.sbSection1'
Begin Object Class=GUISectionBackground Name=sbSection2
Caption="Options"
WinTop=0.012761
WinLeft=0.495826
WinWidth=0.502751
WinHeight=0.975228
RenderWeight=0.010000
OnPreDraw=sbSection2.InternalPreDraw
End Object
sb_Section2=GUISectionBackground'GUI2K4.UT2K4Tab_DetailSettings.sbSection2'
Begin Object Class=GUISectionBackground Name=sbSection3
bFillClient=True
Caption="Gamma Test"
WinTop=0.476061
WinLeft=0.011132
WinWidth=0.462891
WinHeight=0.511261
RenderWeight=0.010000
OnPreDraw=sbSection3.InternalPreDraw
End Object
sb_Section3=GUISectionBackground'GUI2K4.UT2K4Tab_DetailSettings.sbSection3'
Begin Object Class=GUIImage Name=GammaBar
Image=Texture'2K4Menus.Controls.Gamma'
ImageStyle=ISTY_Scaled
ImageRenderStyle=MSTY_Normal
WinTop=0.450001
WinLeft=0.013477
WinWidth=0.456250
WinHeight=0.532117
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
End Object
i_GammaBar=GUIImage'GUI2K4.UT2K4Tab_DetailSettings.GammaBar'
Begin Object Class=moComboBox Name=DetailTextureDetail
ComponentJustification=TXTA_Left
CaptionWidth=0.650000
Caption="Texture Detail"
OnCreateComponent=DetailTextureDetail.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="High"
Hint="Changes how much world detail will be rendered."
WinTop=0.063021
WinLeft=0.550000
WinWidth=0.400000
TabOrder=7
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
co_Texture=moComboBox'GUI2K4.UT2K4Tab_DetailSettings.DetailTextureDetail'
Begin Object Class=moComboBox Name=DetailCharacterDetail
ComponentJustification=TXTA_Left
CaptionWidth=0.650000
Caption="Character Detail"
OnCreateComponent=DetailCharacterDetail.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="High"
Hint="Changes how much character detail will be rendered."
WinTop=0.116667
WinLeft=0.550000
WinWidth=0.400000
TabOrder=8
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
co_Char=moComboBox'GUI2K4.UT2K4Tab_DetailSettings.DetailCharacterDetail'
Begin Object Class=moComboBox Name=DetailWorldDetail
ComponentJustification=TXTA_Left
CaptionWidth=0.650000
Caption="World Detail"
OnCreateComponent=DetailWorldDetail.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="High"
Hint="Changes the level of detail used for optional geometry and effects."
WinTop=0.170312
WinLeft=0.550000
WinWidth=0.400000
TabOrder=9
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
co_World=moComboBox'GUI2K4.UT2K4Tab_DetailSettings.DetailWorldDetail'
Begin Object Class=moComboBox Name=DetailPhysics
ComponentJustification=TXTA_Left
CaptionWidth=0.650000
Caption="Physics Detail"
OnCreateComponent=DetailPhysics.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="High"
Hint="Changes the physics simulation level of detail."
WinTop=0.223958
WinLeft=0.550000
WinWidth=0.400000
TabOrder=10
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
co_Physics=moComboBox'GUI2K4.UT2K4Tab_DetailSettings.DetailPhysics'
Begin Object Class=moComboBox Name=DetailDecalStay
ComponentJustification=TXTA_Left
CaptionWidth=0.650000
Caption="Decal Stay"
OnCreateComponent=DetailDecalStay.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="Normal"
Hint="Changes how long weapon scarring effects stay around."
WinTop=0.282032
WinLeft=0.550000
WinWidth=0.400000
TabOrder=12
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
co_Decal=moComboBox'GUI2K4.UT2K4Tab_DetailSettings.DetailDecalStay'
Begin Object Class=moComboBox Name=MeshLOD
ComponentJustification=TXTA_Left
CaptionWidth=0.650000
Caption="Dynamic Mesh LOD"
OnCreateComponent=MeshLOD.InternalOnCreateComponent
IniOption="@Internal"
Hint="Adjusts how aggressively character and vehicle details are reduced at a distance. Higher settings increase the distance at which details are reduced, possibly improving visual detail at a cost in performance"
WinTop=0.223958
WinLeft=0.550000
WinWidth=0.400000
TabOrder=11
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
co_MeshLOD=moComboBox'GUI2K4.UT2K4Tab_DetailSettings.MeshLOD'
Begin Object Class=moComboBox Name=VideoResolution
bReadOnly=True
CaptionWidth=0.550000
Caption="Resolution"
OnCreateComponent=VideoResolution.InternalOnCreateComponent
IniOption="@INTERNAL"
IniDefault="640x480"
Hint="Select the video resolution at which you wish to play."
WinTop=0.060417
WinLeft=0.030508
WinWidth=0.390000
TabOrder=1
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
co_Resolution=moComboBox'GUI2K4.UT2K4Tab_DetailSettings.VideoResolution'
Begin Object Class=moComboBox Name=VideoColorDepth
CaptionWidth=0.550000
Caption="Color Depth"
OnCreateComponent=VideoColorDepth.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="false"
Hint="Select the maximum number of colors to display at one time."
WinTop=0.117188
WinLeft=0.030234
WinWidth=0.390000
TabOrder=2
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
co_ColorDepth=moComboBox'GUI2K4.UT2K4Tab_DetailSettings.VideoColorDepth'
Begin Object Class=moComboBox Name=RenderDeviceCombo
ComponentJustification=TXTA_Left
CaptionWidth=0.550000
Caption="Render Device"
OnCreateComponent=RenderDeviceCombo.InternalOnCreateComponent
IniOption="@Internal"
Hint="Alternate rendering devices may offer better performance on your machine."
WinTop=0.335021
WinLeft=0.547773
WinWidth=0.401953
TabOrder=0
bBoundToParent=True
bScaleToParent=True
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
co_RenderDevice=moComboBox'GUI2K4.UT2K4Tab_DetailSettings.RenderDeviceCombo'
Begin Object Class=moComboBox Name=DetailCharacterShadows
ComponentJustification=TXTA_Left
CaptionWidth=0.650000
Caption="Character Shadows"
OnCreateComponent=DetailCharacterShadows.InternalOnCreateComponent
IniOption="@Internal"
Hint="Adjust the detail of character shadows. 'Blob' or 'None' recommended for low-performance PC's"
WinTop=0.431378
WinLeft=0.600000
WinWidth=0.300000
TabOrder=13
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
co_Shadows=moComboBox'GUI2K4.UT2K4Tab_DetailSettings.DetailCharacterShadows'
Begin Object Class=moCheckBox Name=DetailDecals
ComponentJustification=TXTA_Left
CaptionWidth=0.940000
Caption="Decals"
OnCreateComponent=DetailDecals.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="True"
Hint="Enables weapon scarring effects."
WinTop=0.479308
WinLeft=0.600000
WinWidth=0.300000
WinHeight=0.040000
TabOrder=14
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
ch_Decals=moCheckBox'GUI2K4.UT2K4Tab_DetailSettings.DetailDecals'
Begin Object Class=moCheckBox Name=DetailDynamicLighting
ComponentJustification=TXTA_Left
CaptionWidth=0.940000
Caption="Dynamic Lighting"
OnCreateComponent=DetailDynamicLighting.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="True"
Hint="Enables dynamic lights."
WinTop=0.526716
WinLeft=0.600000
WinWidth=0.300000
WinHeight=0.040000
TabOrder=15
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
ch_DynLight=moCheckBox'GUI2K4.UT2K4Tab_DetailSettings.DetailDynamicLighting'
Begin Object Class=moCheckBox Name=DetailCoronas
ComponentJustification=TXTA_Left
CaptionWidth=0.940000
Caption="Coronas"
OnCreateComponent=DetailCoronas.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="True"
Hint="Enables coronas."
WinTop=0.624136
WinLeft=0.600000
WinWidth=0.300000
WinHeight=0.040000
TabOrder=17
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
ch_Coronas=moCheckBox'GUI2K4.UT2K4Tab_DetailSettings.DetailCoronas'
Begin Object Class=moCheckBox Name=DetailDetailTextures
ComponentJustification=TXTA_Left
CaptionWidth=0.940000
Caption="Detail Textures"
OnCreateComponent=DetailDetailTextures.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="True"
Hint="Enables detail textures."
WinTop=0.575425
WinLeft=0.600000
WinWidth=0.300000
WinHeight=0.040000
TabOrder=16
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
ch_Textures=moCheckBox'GUI2K4.UT2K4Tab_DetailSettings.DetailDetailTextures'
Begin Object Class=moCheckBox Name=DetailProjectors
ComponentJustification=TXTA_Left
CaptionWidth=0.940000
Caption="Projectors"
OnCreateComponent=DetailProjectors.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="True"
Hint="Enables projectors."
WinTop=0.721195
WinLeft=0.600000
WinWidth=0.300000
WinHeight=0.040000
TabOrder=19
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
ch_Projectors=moCheckBox'GUI2K4.UT2K4Tab_DetailSettings.DetailProjectors'
Begin Object Class=moCheckBox Name=DetailDecoLayers
ComponentJustification=TXTA_Left
CaptionWidth=0.940000
Caption="Foliage"
OnCreateComponent=DetailDecoLayers.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="True"
Hint="Enables grass and other decorative foliage."
WinTop=0.769906
WinLeft=0.599727
WinWidth=0.300000
WinHeight=0.040000
TabOrder=20
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
ch_DecoLayers=moCheckBox'GUI2K4.UT2K4Tab_DetailSettings.DetailDecoLayers'
Begin Object Class=moCheckBox Name=DetailTrilinear
ComponentJustification=TXTA_Left
CaptionWidth=0.940000
Caption="Trilinear Filtering"
OnCreateComponent=DetailTrilinear.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="False"
Hint="Enables trilinear filtering, recommended for high-performance PCs."
WinTop=0.673263
WinLeft=0.600000
WinWidth=0.300000
WinHeight=0.040000
TabOrder=18
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
ch_Trilinear=moCheckBox'GUI2K4.UT2K4Tab_DetailSettings.DetailTrilinear'
Begin Object Class=moCheckBox Name=VideoFullScreen
ComponentJustification=TXTA_Left
CaptionWidth=0.940000
Caption="Full Screen"
OnCreateComponent=VideoFullScreen.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="True"
Hint="Check this box to run the game full screen."
WinTop=0.169531
WinLeft=0.030976
WinWidth=0.387500
TabOrder=3
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
ch_FullScreen=moCheckBox'GUI2K4.UT2K4Tab_DetailSettings.VideoFullScreen'
Begin Object Class=moCheckBox Name=WeatherEffects
ComponentJustification=TXTA_Left
CaptionWidth=0.940000
Caption="Weather Effects"
OnCreateComponent=WeatherEffects.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="False"
Hint="Enable weather effects like rain-drops and lightning."
WinTop=0.864910
WinLeft=0.599727
WinWidth=0.300000
WinHeight=0.040000
TabOrder=21
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
ch_Weather=moCheckBox'GUI2K4.UT2K4Tab_DetailSettings.WeatherEffects'
Begin Object Class=moSlider Name=GammaSlider
MaxValue=2.500000
MinValue=0.500000
SliderCaptionStyleName=
CaptionWidth=0.550000
Caption="Gamma"
OnCreateComponent=GammaSlider.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="0.8"
Hint="Use the slider to adjust the Gamma to suit your monitor."
WinTop=0.272918
WinLeft=0.012501
WinWidth=0.461133
TabOrder=5
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
sl_Gamma=moSlider'GUI2K4.UT2K4Tab_DetailSettings.GammaSlider'
Begin Object Class=moSlider Name=BrightnessSlider
MaxValue=1.000000
SliderCaptionStyleName=
CaptionWidth=0.550000
Caption="Brightness"
OnCreateComponent=BrightnessSlider.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="0.8"
Hint="Use the slider to adjust the Brightness to suit your monitor."
WinTop=0.229951
WinLeft=0.012188
WinWidth=0.461445
TabOrder=4
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
sl_Brightness=moSlider'GUI2K4.UT2K4Tab_DetailSettings.BrightnessSlider'
Begin Object Class=moSlider Name=ContrastSlider
MaxValue=1.000000
SliderCaptionStyleName=
CaptionWidth=0.550000
Caption="Contrast"
OnCreateComponent=ContrastSlider.InternalOnCreateComponent
IniOption="@Internal"
IniDefault="0.8"
Hint="Use the slider to adjust the Contrast to suit your monitor."
WinTop=0.313285
WinLeft=0.012188
WinWidth=0.461133
TabOrder=6
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
sl_Contrast=moSlider'GUI2K4.UT2K4Tab_DetailSettings.ContrastSlider'
Begin Object Class=moSlider Name=DistanceLODSlider
MaxValue=1.000000
Value=0.500000
SliderCaptionStyleName=
CaptionWidth=0.650000
Caption="Fog Distance"
OnCreateComponent=DistanceLODSlider.InternalOnCreateComponent
IniOption="@Internal"
Hint="Reduce the fog distance to improve performance."
WinTop=0.910000
WinLeft=0.560000
WinWidth=0.400000
TabOrder=22
OnChange=UT2K4Tab_DetailSettings.InternalOnChange
OnLoadINI=UT2K4Tab_DetailSettings.InternalOnLoadINI
End Object
sl_DistanceLOD=moSlider'GUI2K4.UT2K4Tab_DetailSettings.DistanceLODSlider'
RelaunchQuestion="The graphics mode has been successfully changed. However, it will not take effect until the next time the game is started. Would you like to restart UT2004 right now?"
InvalidSelectionText="The selected custom resolution is reported to be incompatible with your machine. In order to ensure maximum stability, it is recommended that you choose a compatible resolution from the 'Resolution' drop-down menu"
PanelCaption="Display"
WinTop=0.150000
WinHeight=0.740000
OnPreDraw=UT2K4Tab_DetailSettings.InternalOnPreDraw
}
|
Creation time: sk 18-3-2018 09:49:57.431 - Created with
UnCodeX