|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "teleporters.qh"Go to the source code of this file.
Functions | |
| float | check_tdeath (entity player, vector org, vector telefragmin, vector telefragmax) |
| entity | Simple_TeleportPlayer (entity teleporter, entity player) |
| void | spawn_tdeath (vector v0, entity e, vector v) |
| void | tdeath (entity player, entity teleporter, entity telefragger, vector telefragmin, vector telefragmax) |
| entity | Teleport_Find (vector mi, vector ma) |
| void | teleport_findtarget (entity this) |
| void | TeleportPlayer (entity teleporter, entity player, vector to, vector to_angles, vector to_velocity, vector telefragmin, vector telefragmax, float tflags) |
| void | trigger_teleport_link (entity this) |
| void | WarpZone_PostTeleportPlayer_Callback (entity pl) |
Definition at line 23 of file teleporters.qc.
References autocvar_g_telefrags_teamplay, entity(), IS_DEAD, IS_PLAYER, org, TDEATHLOOP, teamplay, and vector.
Definition at line 180 of file teleporters.qc.
References entity(), FOREACH_ENTITY_STRING, NULL, RandomSelection_AddEnt, RandomSelection_chosen_ent, RandomSelection_Init(), targetname, and vector.
Referenced by CheatCommand(), target_teleport_use(), Teleport_Touch(), and WarpZone_StartFrame().
Definition at line 61 of file teleporters.qc.
| void tdeath | ( | entity | player, |
| entity | teleporter, | ||
| entity | telefragger, | ||
| vector | telefragmin, | ||
| vector | telefragmax ) |
Definition at line 42 of file teleporters.qc.
References autocvar_g_telefrags_teamplay, Damage(), DMG_NOWEP, entity(), GetResource(), IS_PLAYER, tdeath_hit, TDEATHLOOP, teamplay, and vector.
Referenced by spawn_tdeath(), and TeleportPlayer().
Definition at line 294 of file teleporters.qc.
References entity(), g_teleporters, IL_EACH, NULL, vector, and WarpZoneLib_BoxTouchesBrush().
Referenced by WarpZone_StartFrame().
Definition at line 246 of file teleporters.qc.
References DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, enemy, entity(), find(), LOG_INFO, MOVETYPE_NONE, NULL, objerror, PL_MAX_CONST, PL_MIN_CONST, settouch, solid, SOLID_TRIGGER, spawn, target, targetname, Teleport_Touch(), trigger_teleport_link(), and waypoint_spawnforteleporter().
Referenced by CheatCommand(), spawnfunc(), and target_teleporter_checktarget().
| void TeleportPlayer | ( | entity | teleporter, |
| entity | player, | ||
| vector | to, | ||
| vector | to_angles, | ||
| vector | to_velocity, | ||
| vector | telefragmin, | ||
| vector | telefragmax, | ||
| float | tflags ) |
Definition at line 67 of file teleporters.qc.
References _sound, ATTEN_NORM, autocvar_g_maxpushtime, autocvar_g_telefrags, BITXOR_ASSIGN, bot_aim_reset(), CH_TRIGGER, csqcplayer, EF_TELEPORT_BIT, entity(), FOREACH_WORD, g_cts, g_race, IFLAG_ANGLES, IFLAG_TELEPORTED, IFLAG_V_ANGLE, IS_BOT_CLIENT, IS_DEAD, IS_PLAYER, makevectors, PHYS_INPUT_BUTTON_CHAT, RandomSelection_chosen_string, RandomSelection_Init(), Reset_ArcBeam(), round_handler_IsActive, round_handler_IsRoundStarted, Send_Effect(), SND, tdeath(), TELEPORT_FLAG_FORCE_TDEATH, TELEPORT_FLAG_PARTICLES, TELEPORT_FLAG_SOUND, TELEPORT_FLAG_TDEATH, TELEPORT_NORMAL, time, UNSET_ONGROUND, UpdateCSQCProjectileAfterTeleport(), UpdateItemAfterTeleport(), v_forward, vector, VF_ANGLES, VF_CL_VIEWANGLES, and VOL_BASE.
Referenced by nade_translocate_boom(), and Portal_TeleportPlayer().
Definition at line 115 of file teleport.qc.
References entity().
Referenced by teleport_findtarget().
Definition at line 303 of file teleporters.qc.
References anticheat_fixangle(), BIT, entity(), FL_PROJECTILE, IS_PLAYER, LOG_INFO, makevectors, NULL, Reset_ArcBeam(), UpdateCSQCProjectileAfterTeleport(), UpdateItemAfterTeleport(), and v_forward.
Referenced by WarpZone_TeleportPlayer().