Nuclide
Software Development Kit for id Tech
view.qc File Reference

Functions

void View_Init (void)
 
void View_SetMuzzleflash (int index)
 
void View_AddEvent (void(void) pCallback, float flTime)
 
void View_ClearEvents (void)
 
void View_CalcViewport (int s, float fWinWidth, float fWinHeight)
 
void View_DrawViewmodel_Single (int weapon, float weapontime)
 
void View_ForceChange (NSClientPlayer pl, int targetWeapon)
 
void View_DrawViewModel (void)
 
void View_PreDraw (void)
 
void View_PostDraw (void)
 
void View_PlayAnimation (int iSequence)
 
void View_PlayAnimationLeft (int iSequence)
 
void View_PlayAnimationRight (int iSequence)
 
int View_GetAnimation (void)
 
void View_EnableViewmodel (void)
 
void View_DisableViewmodel (void)
 
void View_SetViewmodelSkin (float skinValue)
 

Variables

var bool autocvar_cg_viewmodelLag = 0
 
var float autocvar_cg_gunX = 0.0f
 
var float autocvar_cg_gunY = 0.0f
 
var float autocvar_cg_gunZ = 0.0f
 

Function Documentation

◆ View_AddEvent()

void View_AddEvent ( void(void pCallback,
float  flTime 
)

◆ View_CalcViewport()

void View_CalcViewport ( int  s,
float  fWinWidth,
float  fWinHeight 
)

◆ View_ClearEvents()

void View_ClearEvents ( void  )

◆ View_DisableViewmodel()

void View_DisableViewmodel ( void  )

◆ View_DrawViewModel()

void View_DrawViewModel ( void  )

◆ View_DrawViewmodel_Single()

void View_DrawViewmodel_Single ( int  weapon,
float  weapontime 
)

◆ View_EnableViewmodel()

void View_EnableViewmodel ( void  )

◆ View_ForceChange()

void View_ForceChange ( NSClientPlayer  pl,
int  targetWeapon 
)

◆ View_GetAnimation()

int View_GetAnimation ( void  )

◆ View_Init()

void View_Init ( void  )

◆ View_PlayAnimation()

void View_PlayAnimation ( int  iSequence)

◆ View_PlayAnimationLeft()

void View_PlayAnimationLeft ( int  iSequence)

◆ View_PlayAnimationRight()

void View_PlayAnimationRight ( int  iSequence)

◆ View_PostDraw()

void View_PostDraw ( void  )

◆ View_PreDraw()

void View_PreDraw ( void  )

◆ View_SetMuzzleflash()

void View_SetMuzzleflash ( int  index)

◆ View_SetViewmodelSkin()

void View_SetViewmodelSkin ( float  skinValue)

Variable Documentation

◆ autocvar_cg_gunX

var float autocvar_cg_gunX = 0.0f

◆ autocvar_cg_gunY

var float autocvar_cg_gunY = 0.0f

◆ autocvar_cg_gunZ

var float autocvar_cg_gunZ = 0.0f

◆ autocvar_cg_viewmodelLag

var bool autocvar_cg_viewmodelLag = 0