|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "walljump.qh"Go to the source code of this file.
Macros | |
| #define | PHYS_WALLJUMP(s) |
| #define | PHYS_WALLJUMP_DELAY(s) |
| #define | PHYS_WALLJUMP_FORCE(s) |
| #define | PHYS_WALLJUMP_VELOCITY_XY_FACTOR(s) |
| #define | PHYS_WALLJUMP_VELOCITY_Z_FACTOR(s) |
| #define | TRACE(newvec) |
Functions | |
| MUTATOR_HOOKFUNCTION (walljump, PlayerJump) | |
| vector | PlayerTouchWall (entity this) |
| REGISTER_MUTATOR (walljump, true) | |
| #define PHYS_WALLJUMP | ( | s | ) |
Definition at line 10 of file walljump.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| #define PHYS_WALLJUMP_DELAY | ( | s | ) |
Definition at line 13 of file walljump.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| #define PHYS_WALLJUMP_FORCE | ( | s | ) |
Definition at line 14 of file walljump.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| #define PHYS_WALLJUMP_VELOCITY_XY_FACTOR | ( | s | ) |
Definition at line 12 of file walljump.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| #define PHYS_WALLJUMP_VELOCITY_Z_FACTOR | ( | s | ) |
Definition at line 11 of file walljump.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| #define TRACE | ( | newvec | ) |
Referenced by PlayerTouchWall().
| MUTATOR_HOOKFUNCTION | ( | walljump | , |
| PlayerJump | ) |
Definition at line 36 of file walljump.qc.
References ANIMACTION_JUMP, animdecide_setaction(), CH_PLAYER, entity(), IS_DEAD, IS_JUMP_HELD, IS_ONGROUND, M_ARGV, MOVETYPE_FLY, MOVETYPE_FOLLOW, MOVETYPE_NOCLIP, MOVETYPE_NONE, PHYS_INPUT_BUTTON_CROUCH, PHYS_JUMPVELOCITY, PHYS_WALLJUMP, PHYS_WALLJUMP_DELAY, PHYS_WALLJUMP_FORCE, PHYS_WALLJUMP_VELOCITY_XY_FACTOR, PHYS_WALLJUMP_VELOCITY_Z_FACTOR, PlayerJump(), PlayerSound, PlayerTouchWall(), Send_Effect(), STAT, StatusEffects_active(), time, trace_endpos, vector, VOICETYPE_PLAYERSOUND, and VOL_BASE.
Definition at line 16 of file walljump.qc.
References angles, entity(), MAKE_VECTORS, origin, TRACE, and vector.
Referenced by MUTATOR_HOOKFUNCTION().
| REGISTER_MUTATOR | ( | walljump | , |
| true | ) |