Xonotic
|
#include "jumppads.qh"
Go to the source code of this file.
Functions | |
bool | jumppad_push (entity this, entity targ) |
vector | trigger_push_calculatevelocity (vector org, entity tgt, float ht, entity pushed_entity) |
void | trigger_push_findtarget (entity this) |
bool | trigger_push_test (entity this, entity item) |
if (item != NULL) returns true if the item can be reached by using this jumppad, false otherwise if (item == NULL) tests jumppad's trajectory and eventually spawns waypoints for it (return value doesn't matter) More... | |
void | trigger_push_touch (entity this, entity toucher) |
Definition at line 131 of file jumppads.qc.
References _sound, ANIMACTION_JUMP, animdecide_setaction(), ATTEN_NORM, centerprint(), CH_TRIGGER, enemy, entity(), find(), height, IS_BOT_CLIENT, IS_DEAD, IS_PLAYER, IS_REAL_CLIENT, isPushable(), message, movedir, MOVETYPE_BOUNCE, MOVETYPE_BOUNCEMISSILE, MOVETYPE_FLY, MOVETYPE_TOSS, noise, NULL, NUM_JUMPPADSUSED, pushltime, RandomSelection_AddEnt, RandomSelection_chosen_ent, RandomSelection_Init(), set_movetype(), SUB_UseTargets(), target, targetname, time, trigger_push_calculatevelocity(), UNSET_ONGROUND, UpdateCSQCProjectile(), vectoangles(), vector(), and VOL_BASE.
Referenced by trigger_push_findtarget(), and trigger_push_touch().
Definition at line 31 of file jumppads.qc.
References fabs(), normalize(), NULL, solve_quadratic(), sqrt(), vector(), and vlen().
Referenced by jumppad_push(), trigger_push_test(), trigger_push_touch(), and W_Nexball_Attack2().
Definition at line 558 of file jumppads.qc.
References active, ACTIVE_ACTIVE, angles, BITSET_ASSIGN, cnt, drawmask, EF_NODEPTHTEST, effects, entity(), g_jumppads, height, IL_PUSH(), InitializeEntity(), jumppad_push(), mangle, MASK_NORMAL, move_time, movedir, NET_HANDLE, noise, NULL, origin, precache_sound(), ReadString, setorigin(), SF_TRIGGER_INIT, solid, SOLID_TRIGGER, spawnflags, spawnfunc(), speed, strfree, strzone(), target, targetname, team, time, to, trigger_push_findtarget(), trigger_push_test(), trigger_push_touch(), use, WriteByte(), WriteCoord(), and WriteString().
Referenced by trigger_push_findtarget().
if (item != NULL) returns true if the item can be reached by using this jumppad, false otherwise if (item == NULL) tests jumppad's trajectory and eventually spawns waypoints for it (return value doesn't matter)
Definition at line 387 of file jumppads.qc.
References absmax, absmin, boxesoverlap(), DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, enemy, entity(), eZ, fabs(), find(), height, if(), LABEL, min(), movedir, MOVETYPE_NONE, normalize(), NULL, objerror(), setorigin(), spawn(), target, targetname, team, trace_endpos, trace_ent, trigger_push_calculatevelocity(), vdist, vec2, vector(), vlen(), and waypoint_spawnforteleporter().
Referenced by navigation_findnearestwaypoint_withdist_except(), and trigger_push_findtarget().
Definition at line 260 of file jumppads.qc.
References absmax, absmin, active, ACTIVE_NOT, DIFF_TEAM, DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, enemy, entity(), EXACTTRIGGER_TOUCH, eZ, func_null(), height, INVERT_TEAMS, jumppad_push(), movedir, nextthink, NULL, PUSH_ONCE, setorigin(), setthink, spawn(), spawnflags, sqrt(), stepheightvec, target, team, time, trace_endpos, trace_ent, trace_startsolid, trigger_push_calculatevelocity(), trigger_push_get_push_time(), v, vdist, vec2, and vector().
Referenced by trigger_push_findtarget().