C# Class SharpQuake.View

V_functions
Mostra file Open project: Memorix101/SharpQuake

Public Properties

Property Type Description
Blend Color4

Public Methods

Method Description
CalcBlend ( ) : void

V_CalcBlend

CalcRoll ( Vector3 &angles, Vector3 &velocity ) : float

V_CalcRoll Used by view and sv_user

Init ( ) : void
ParseDamage ( ) : void
RenderView ( ) : void

V_RenderView The player's clipping box goes from (-16 -16 -24) to (16 16 32) from the entity origin, so any view position inside that will be valid

SetContentsColor ( int contents ) : void

V_SetContentsColor Underwater, lava, etc each has a color shift

StartPitchDrift ( ) : void
StopPitchDrift ( ) : void
UpdatePalette ( ) : void

Private Methods

Method Description
AddIdle ( float idleScale ) : void
AngleDelta ( float a ) : float
BonusFlash_f ( ) : void
BoundOffsets ( ) : void
BuildGammaTable ( float g ) : void
CShift_f ( ) : void
CalcBob ( ) : float
CalcGunAngle ( ) : void

CalcGunAngle

CalcIntermissionRefDef ( ) : void
CalcPowerupCshift ( ) : void
CalcRefDef ( ) : void
CalcViewRoll ( ) : void
CheckGamma ( ) : bool
DriftPitch ( ) : void
ShiftPalette ( byte palette ) : void
View ( ) : System

Method Details

CalcBlend() public static method

V_CalcBlend
public static CalcBlend ( ) : void
return void

CalcRoll() public static method

V_CalcRoll Used by view and sv_user
public static CalcRoll ( Vector3 &angles, Vector3 &velocity ) : float
angles Vector3
velocity Vector3
return float

Init() public static method

public static Init ( ) : void
return void

ParseDamage() public static method

public static ParseDamage ( ) : void
return void

RenderView() public static method

V_RenderView The player's clipping box goes from (-16 -16 -24) to (16 16 32) from the entity origin, so any view position inside that will be valid
public static RenderView ( ) : void
return void

SetContentsColor() public static method

V_SetContentsColor Underwater, lava, etc each has a color shift
public static SetContentsColor ( int contents ) : void
contents int
return void

StartPitchDrift() public static method

public static StartPitchDrift ( ) : void
return void

StopPitchDrift() public static method

public static StopPitchDrift ( ) : void
return void

UpdatePalette() public static method

public static UpdatePalette ( ) : void
return void

Property Details

Blend public_oe static_oe property

public static Color4 Blend
return Color4