![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
Functions | |
| void | V_CalcRefdef (void) |
| void | V_CalcRefdefUsing (const matrix4x4_t *entrendermatrix, const vec3_t clviewangles, qbool teleported, qbool clonground, qbool clcmdjump, float clstatsviewheight, qbool cldead, const vec3_t clvelocity) |
| void | V_CalcViewBlend (void) |
| void | V_DriftPitch (void) |
| void | V_FadeViewFlashs (void) |
| void | V_Init (void) |
| void | V_MakeViewIsometric (void) |
| void | V_ParseDamage (void) |
| void | V_StartPitchDrift (void) |
| void | V_StartPitchDrift_f (struct cmd_state_s *cmd) |
| void | V_StopPitchDrift (void) |
| void | V_UpdateBlends (void) |
Definition at line 944 of file view.c.
References ca_connected, cl, cls, identitymatrix, entity_render_t::matrix, entity_t::persistent, r_refdef, entity_t::render, SIGNONS, STAT_HEALTH, STAT_VIEWHEIGHT, entity_persistent_t::trail_allowed, V_CalcRefdefUsing(), VectorClear, VectorCopy, viewmodelmatrix_nobob, and viewmodelmatrix_withbob.
Referenced by CL_UpdateWorld().
| void V_CalcRefdefUsing | ( | const matrix4x4_t * | entrendermatrix, |
| const vec3_t | clviewangles, | ||
| qbool | teleported, | ||
| qbool | clonground, | ||
| qbool | clcmdjump, | ||
| float | clstatsviewheight, | ||
| qbool | cldead, | ||
| const vec3_t | clvelocity ) |
Definition at line 512 of file view.c.
References AngleVectors(), bound, chase_active, chase_back, chase_overhead, chase_pitchangle, chase_stevie, chase_up, cl, cl_bob, cl_bob2, cl_bob2cycle, cl_bob2smooth, cl_bob_limit, cl_bob_limit_heightcheck, cl_bob_limit_heightcheck_dontcrosswatersurface, cl_bob_velocity_limit, cl_bobcycle, cl_bobfall, cl_bobfallcycle, cl_bobfallminspeed, cl_bobmodel, cl_bobmodel_classic, cl_bobmodel_side, cl_bobmodel_speed, cl_bobmodel_up, cl_bobup, cl_followmodel, cl_followmodel_side_highpass, cl_followmodel_side_highpass1, cl_followmodel_side_limit, cl_followmodel_side_lowpass, cl_followmodel_side_speed, cl_followmodel_up_highpass, cl_followmodel_up_highpass1, cl_followmodel_up_limit, cl_followmodel_up_lowpass, cl_followmodel_up_speed, cl_leanmodel, cl_leanmodel_side_highpass, cl_leanmodel_side_highpass1, cl_leanmodel_side_limit, cl_leanmodel_side_lowpass, cl_leanmodel_side_speed, cl_leanmodel_up_highpass, cl_leanmodel_up_highpass1, cl_leanmodel_up_limit, cl_leanmodel_up_lowpass, cl_leanmodel_up_speed, cl_punchangle_applied, cl_rollangle, cl_rollspeed, cl_smoothviewheight, cl_stairsmoothspeed, CL_TraceLine(), cl_viewmodel_scale, collision_extendmovelength, Com_CalcRoll(), cos(), DotProduct, trace_t::endpos, floor(), forward, trace_t::fraction, frametime, GAME_GOODVSBAD2, gamemode, highpass3(), highpass3_limited(), identitymatrix, int(), lowpass3(), M_PI, MATERIALFLAGMASK_TRANSLUCENT, Matrix4x4_Concat(), Matrix4x4_ConcatScale(), Matrix4x4_Copy(), Matrix4x4_CreateFromQuakeEntity(), Matrix4x4_Invert_Simple(), Matrix4x4_OriginFromMatrix(), Matrix4x4_QuakeToDuke3D(), max, min, MOVE_NOMONSTERS, plane_t::normal, NULL, offset, PITCH, trace_t::plane, r_refdef, r_viewmodel_quake, right, ROLL, scr_viewsize, sin(), sqrt(), SUPERCONTENTS_LIQUIDSMASK, SUPERCONTENTS_SKY, SUPERCONTENTS_SOLID, up, V_CalcIntermissionRefdef(), v_deathtilt, v_deathtiltangle, v_dmg_pitch, v_dmg_roll, v_dmg_time, v_idlescale, v_ipitch_cycle, v_ipitch_level, v_iroll_cycle, v_iroll_level, v_iyaw_cycle, v_iyaw_level, v_kicktime, v_yshearing, VectorAdd, VectorClear, VectorCopy, VectorMA, VectorMAMAM, VectorScale, VectorSet, VectorSubtract, viewmodelmatrix_nobob, viewmodelmatrix_withbob, and YAW.
Referenced by V_CalcRefdef(), and VM_CL_V_CalcRefdef().
Definition at line 1043 of file view.c.
References a, bound, ca_connected, cl, cl_deathfade, CL_PointSuperContents, cls, CSHIFT_CONTENTS, CSHIFT_POWERUP, CSHIFT_VCSHIFT, GAME_TRANSFUSION, gamemode, gl_polyblend, Image_LinearFloatFromsRGB, IT_INVISIBILITY, IT_INVULNERABILITY, IT_QUAD, IT_SUIT, Matrix4x4_OriginFromMatrix(), max, NUM_CSHIFTS, r_refdef, r_waterwarp, SIGNONS, sin(), STAT_HEALTH, STAT_ITEMS, SUPERCONTENTS_LAVA, SUPERCONTENTS_LIQUIDSMASK, SUPERCONTENTS_SLIME, v_cshift, VectorLerp, VectorMAM, VectorScale, and vid.
Referenced by CSQC_RelinkAllEntities().
Definition at line 189 of file view.c.
References cl, cl_forwardspeed, cls, fabs(), noclip_anglehack, PITCH, v_centermove, v_centerspeed, and V_StartPitchDrift().
Referenced by CL_UpdateWorld().
Definition at line 1028 of file view.c.
References cl, CSHIFT_BONUS, and CSHIFT_DAMAGE.
Referenced by CL_UpdateWorld().
Definition at line 1196 of file view.c.
References CF_CLIENT, CF_CLIENT_FROM_SERVER, chase_active, chase_back, chase_overhead, chase_pitchangle, chase_stevie, chase_up, cl_bob, cl_bob2, cl_bob2cycle, cl_bob2smooth, cl_bob_limit, cl_bob_limit_heightcheck, cl_bob_limit_heightcheck_dontcrosswatersurface, cl_bob_velocity_limit, cl_bobcycle, cl_bobfall, cl_bobfallcycle, cl_bobfallminspeed, cl_bobmodel, cl_bobmodel_classic, cl_bobmodel_forward, cl_bobmodel_side, cl_bobmodel_speed, cl_bobmodel_up, cl_bobup, cl_followmodel, cl_followmodel_side_highpass, cl_followmodel_side_highpass1, cl_followmodel_side_limit, cl_followmodel_side_lowpass, cl_followmodel_side_speed, cl_followmodel_up_highpass, cl_followmodel_up_highpass1, cl_followmodel_up_limit, cl_followmodel_up_lowpass, cl_followmodel_up_speed, cl_leanmodel, cl_leanmodel_side_highpass, cl_leanmodel_side_highpass1, cl_leanmodel_side_limit, cl_leanmodel_side_lowpass, cl_leanmodel_side_speed, cl_leanmodel_up_highpass, cl_leanmodel_up_highpass1, cl_leanmodel_up_limit, cl_leanmodel_up_lowpass, cl_leanmodel_up_speed, cl_rollangle, cl_rollspeed, cl_smoothviewheight, cl_stairsmoothspeed, cl_viewmodel_scale, Cmd_AddCommand(), crosshair, Cvar_RegisterVariable(), r_viewmodel_quake, V_BonusFlash_f(), v_centermove, v_centerspeed, V_cshift_f(), v_deathtilt, v_deathtiltangle, v_idlescale, v_ipitch_cycle, v_ipitch_level, v_iroll_cycle, v_iroll_level, v_isometric, v_isometric_flipcullface, v_isometric_locked_orientation, v_isometric_relx, v_isometric_rely, v_isometric_relz, v_isometric_rot_pitch, v_isometric_rot_roll, v_isometric_rot_yaw, v_isometric_tx, v_isometric_ty, v_isometric_tz, v_isometric_usevieworiginculling, v_isometric_verticalfov, v_isometric_xx, v_isometric_xy, v_isometric_xz, v_isometric_yx, v_isometric_yy, v_isometric_yz, v_isometric_zx, v_isometric_zy, v_isometric_zz, v_iyaw_cycle, v_iyaw_level, v_kickpitch, v_kickroll, v_kicktime, V_StartPitchDrift_f(), and v_yshearing.
Referenced by CL_Init().
Definition at line 968 of file view.c.
Definition at line 261 of file view.c.
References cl, cl_message, CL_VM_UpdateDmgGlobals(), cls, count, CSHIFT_DAMAGE, entity_render_t::inversematrix, Matrix4x4_Transform(), MSG_ReadByte, MSG_ReadVector(), entity_t::render, v_dmg_pitch, v_dmg_roll, v_dmg_time, v_kickpitch, v_kickroll, v_kicktime, and VectorNormalize.
Referenced by CL_ParseServerMessage().
Definition at line 151 of file view.c.
References cl, and v_centerspeed.
Referenced by V_DriftPitch(), and V_StartPitchDrift_f().
Definition at line 169 of file view.c.
References cl.
Referenced by CL_AdjustAngles(), and CL_Input().