|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "util.qh"#include <lib/csqcmodel/cl_player.qh>#include <common/physics/player.qh>#include <common/physics/movetypes/movetypes.qh>#include <common/ent_cs.qh>#include <common/animdecide.qh>Go to the source code of this file.
Definition at line 18 of file util.qc.
References angle, panel_size, and StrafeHUD_AngleToWidth().
Referenced by StrafeHUD_DrawAngleIndicator(), and StrafeHUD_DrawStrafeHUD().
Definition at line 12 of file util.qc.
References angle, and panel_size.
Referenced by StrafeHUD_AngleToOffset(), and StrafeHUD_DrawStrafeHUD().
Definition at line 360 of file util.qc.
References panel_size, and vector.
Referenced by StrafeHUD_DrawTextIndicator().
Definition at line 296 of file util.qc.
References angle, STRAFEHUD_DIRECTION_LEFT, STRAFEHUD_DIRECTION_NONE, and STRAFEHUD_DIRECTION_RIGHT.
Referenced by HUD_StrafeHUD().
Definition at line 216 of file util.qc.
References KEY_BACKWARD, KEY_FORWARD, movement, STRAFEHUD_KEYS_BACKWARD, STRAFEHUD_KEYS_FORWARD, STRAFEHUD_KEYS_NONE, and vector.
Referenced by HUD_StrafeHUD().
| float StrafeHUD_DetermineFrameTime | ( | ) |
Definition at line 138 of file util.qc.
References autocvar_hud_panel_strafehud_fps_update, csqcplayer_status, CSQCPLAYERSTATUS_PREDICTED, input_timelength, ticrate, and time.
Referenced by HUD_StrafeHUD().
| float StrafeHUD_DetermineHudAngle | ( | float | absolute_wishangle, |
| float | absolute_overturnangle, | ||
| float | strafity ) |
Definition at line 238 of file util.qc.
References autocvar__hud_configure, autocvar_hud_panel_strafehud_projection, autocvar_hud_panel_strafehud_range, autocvar_hud_panel_strafehud_range_sidestrafe, bound(), fabs(), GeomLerp(), isnan(), max(), min(), STRAFEHUD_PROJECTION_PANORAMIC, STRAFEHUD_PROJECTION_PERSPECTIVE, and VF_FOVX.
Referenced by HUD_StrafeHUD().
Definition at line 316 of file util.qc.
References entity(), KEY_JUMP, PHYS_CL_TRACK_CANJUMP, PHYS_INPUT_BUTTON_JETPACK, PHYS_INPUT_BUTTON_JUMP, and PHYS_TRACK_CANJUMP.
Referenced by HUD_Physics(), and HUD_StrafeHUD().
Definition at line 334 of file util.qc.
References ANIMIMPLICITSTATE_INAIR, entity(), and IS_ONGROUND.
Referenced by HUD_Physics(), and HUD_StrafeHUD().
Definition at line 341 of file util.qc.
References boolean, entity(), MOVE_NOMONSTERS, Q3SURFACEFLAG_SLICK, and trace_dphitq3surfaceflags.
Referenced by HUD_Physics(), and HUD_StrafeHUD().
Definition at line 118 of file util.qc.
References _Movetype_CheckWater(), entity(), and func_null().
Referenced by HUD_StrafeHUD().
Definition at line 178 of file util.qc.
References fabs(), KEY_BACKWARD, KEY_FORWARD, KEY_LEFT, KEY_RIGHT, movement, RAD2DEG, and vector.
Referenced by HUD_StrafeHUD().
Definition at line 95 of file util.qc.
References strcat().
Referenced by StrafeHUD_DrawJumpHeight().
Definition at line 82 of file util.qc.
Referenced by StrafeHUD_DrawJumpHeight().
Definition at line 109 of file util.qc.
References CSQCModel_server2csqc(), csqcplayer, entity(), and player_localentnum.
Referenced by HUD_Physics(), and HUD_StrafeHUD().
Definition at line 351 of file util.qc.
References vector.
Referenced by HUD_StrafeHUD(), StrafeHUD_DrawSoftGradient(), and StrafeHUD_DrawStrafeEfficiency().
Definition at line 24 of file util.qc.
References autocvar_hud_panel_strafehud_projection, DEG2RAD, STRAFEHUD_PROJECTION_LINEAR, STRAFEHUD_PROJECTION_PANORAMIC, and STRAFEHUD_PROJECTION_PERSPECTIVE.
Referenced by StrafeHUD_ProjectOffset().
Definition at line 61 of file util.qc.
References autocvar_hud_panel_strafehud_projection, panel_size, StrafeHUD_Project(), and STRAFEHUD_PROJECTION_LINEAR.
Referenced by StrafeHUD_DrawAngleIndicator(), StrafeHUD_DrawGradient(), StrafeHUD_DrawSoftGradient(), StrafeHUD_DrawStrafeHUD(), and StrafeHUD_ProjectWidth().
Definition at line 73 of file util.qc.
References autocvar_hud_panel_strafehud_projection, STRAFEHUD_PROJECTION_LINEAR, and StrafeHUD_ProjectOffset().
Referenced by StrafeHUD_DrawGradient(), and StrafeHUD_DrawStrafeHUD().