Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
impulse.qh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

float autocvar_g_triggerimpulse_accel_multiplier
float autocvar_g_triggerimpulse_accel_power
float autocvar_g_triggerimpulse_directional_multiplier
float autocvar_g_triggerimpulse_radial_multiplier
int falloff
const int FALLOFF_LINEAR = 1
const int FALLOFF_LINEAR_INV = 2
const int FALLOFF_NO = 0
const float IMPULSE_DEFAULT_ACCEL_STRENGTH = 0.9
const float IMPULSE_DEFAULT_DIRECTIONAL_STRENGTH = 950
const float IMPULSE_DEFAULT_RADIAL_STRENGTH = 2000
const float IMPULSE_DIRECTIONAL_MAX_ACCEL_FACTOR = 8
const int IMPULSE_DIRECTIONAL_SPEEDTARGET = BIT(6)
const float IMPULSE_MAX_PUSHDELTATIME = 0.15
float lastpushtime
float radius
float strength

Variable Documentation

◆ autocvar_g_triggerimpulse_accel_multiplier

float autocvar_g_triggerimpulse_accel_multiplier

Definition at line 4 of file impulse.qh.

Referenced by spawnfunc().

◆ autocvar_g_triggerimpulse_accel_power

float autocvar_g_triggerimpulse_accel_power

Definition at line 5 of file impulse.qh.

Referenced by spawnfunc().

◆ autocvar_g_triggerimpulse_directional_multiplier

float autocvar_g_triggerimpulse_directional_multiplier

Definition at line 6 of file impulse.qh.

Referenced by spawnfunc().

◆ autocvar_g_triggerimpulse_radial_multiplier

float autocvar_g_triggerimpulse_radial_multiplier

Definition at line 7 of file impulse.qh.

Referenced by spawnfunc().

◆ falloff

◆ FALLOFF_LINEAR

const int FALLOFF_LINEAR = 1

Definition at line 17 of file impulse.qh.

Referenced by trigger_impulse_touch_radial().

◆ FALLOFF_LINEAR_INV

const int FALLOFF_LINEAR_INV = 2

Definition at line 18 of file impulse.qh.

Referenced by trigger_impulse_touch_radial().

◆ FALLOFF_NO

const int FALLOFF_NO = 0

Definition at line 16 of file impulse.qh.

◆ IMPULSE_DEFAULT_ACCEL_STRENGTH

const float IMPULSE_DEFAULT_ACCEL_STRENGTH = 0.9

Definition at line 24 of file impulse.qh.

Referenced by spawnfunc().

◆ IMPULSE_DEFAULT_DIRECTIONAL_STRENGTH

const float IMPULSE_DEFAULT_DIRECTIONAL_STRENGTH = 950

Definition at line 23 of file impulse.qh.

Referenced by spawnfunc().

◆ IMPULSE_DEFAULT_RADIAL_STRENGTH

const float IMPULSE_DEFAULT_RADIAL_STRENGTH = 2000

Definition at line 22 of file impulse.qh.

Referenced by spawnfunc().

◆ IMPULSE_DIRECTIONAL_MAX_ACCEL_FACTOR

const float IMPULSE_DIRECTIONAL_MAX_ACCEL_FACTOR = 8

Definition at line 28 of file impulse.qh.

Referenced by trigger_impulse_touch_directional().

◆ IMPULSE_DIRECTIONAL_SPEEDTARGET

const int IMPULSE_DIRECTIONAL_SPEEDTARGET = BIT(6)

Definition at line 20 of file impulse.qh.

Referenced by trigger_impulse_touch_directional().

◆ IMPULSE_MAX_PUSHDELTATIME

const float IMPULSE_MAX_PUSHDELTATIME = 0.15

◆ lastpushtime

float lastpushtime

Definition at line 14 of file impulse.qh.

◆ radius

◆ strength