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

Engine.Client


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
/*-----------------------------------------------------------------------------
	UClient.
-----------------------------------------------------------------------------*/

//
// Client, responsible for tracking viewports.
//
class Client extends Object
	abstract
	config
	native
	noexport;

	enum Details
	{
		High,
		Medium,
		Low,
		UltraLow,
	};

	// Variables.
	var Engine				Engine;
	var array<Viewport>		Viewports;

	// Configurable.
	var config bool			CaptureMouse;
	var config bool			ScreenFlashes;
	var config bool			NoLighting;
	var config bool			Decals;
	var config bool			NoDynamicLights;
	var config bool			NoFractalAnim;
	var config bool			NoFilter;			//NEW
	var config bool			BlobShadows;		//NEW
	var config bool			BlurShadows;		//NEW
	var config bool			LightSourceShadows;	//NEW
	var config bool			bEliminateHighMIP;	//NEW
	var config bool			bLowDetailGeometry;	//NEW
	var config int			WindowedViewportX;
	var config int			WindowedViewportY;
	var config int			WindowedOffsetX;	//NEW -1 means center it in X (default)
	var config int			WindowedOffsetY;	//NEW -1 means center it in Y (default)
	var config int			FullscreenViewportX;
	var config int			FullscreenViewportY;
	var config float		Brightness;
	var config float		Contrast;
	var config float		Gamma;
	var config float		MipFactor;
	var config Details		NoneDetail;
	var config Details		TextureDetail;
	var config Details		SkinDetail;
	var        Details		UnusedDetails[5];
	var config float		MinDesiredFrameRate;
	var        Viewport		LastCurrent;		// The viewport that was last current
	var config int			ParticleDensity;
	var config int			ParticleSafeMode;
	var config byte			GoreDetailLevel;	//NEW 0: None, 1: Low, 2: Medium, 3: High
	var config byte			MasterDetailLevel;	//NEW 0:Gimp, 1:Limp, 2:Pimp
	var config int			MaxNumDecals;		//NEW maximum number of decals per EARI
	var config byte			MaxDetailLevel;		//NEW 0 - 2
	var config byte			FluidSurfaceDetail;	//NEW 0: Low, 1: High
	var config int			MaxClientTickRate;	//NEW
	var config float		IrisRadius;			//NEW
	var config int			StatsOffsetX;		//NEW
	var config int			StatsOffsetY;		//NEW
	var config byte			MasterShadowDetail;	//NEW
	var config byte			MaxShadowsStatic;	//NEW: Maximum number of dynamic shadows cast by static lights.
	var config byte			MaxShadowsDynamic;	//NEW: Maximum number of dynamic shadows cast by dynamic lights.
	var config int			ShadowResolution;	//NEW
	var config int			ShadowTraceDistance;//NEW
	var config float		ShadowCullDistance;	//NEW
	var config float		MouseSpeed;			//NEW: GUI Mouse Speed.


function SetMaxDetailLevel( Actor ContextActor, byte NewVal )
{
	local Actor A;
	
	MaxDetailLevel = NewVal;
	
	foreach ContextActor.AllActors( class'Actor', A )
	{
		if( A.ShouldDestroy() )
		{
			A.AutoDestroy();
		}
	}
}

defaultproperties
{
	MouseSpeed=1.500000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: sk 3-1-2016 10:38:40.000 - Creation time: sk 3-1-2016 10:48:37.683 - Created with UnCodeX