Xonotic
|
#include <common/impulses/all.qh>
Go to the source code of this file.
Functions | |
bool (entity this, entity dragger) draggable | |
float | CheatCommand (entity this, int argc) |
float | CheatFrame (entity this) |
float | CheatImpulse (entity this, int imp) |
void | CheatInit () |
void | CheatShutdown () |
float | Drag (entity this, float force_allow_pick, float ischeat) |
void | Drag_Begin (entity dragger, entity draggee, vector touchpoint) |
float | Drag_CanDrag (entity dragger) |
void | Drag_Finish (entity dragger) |
bool | Drag_IsDraggable (entity draggee, entity dragger) |
float | Drag_IsDragging (entity dragger) |
float | Drag_MayChangeAngles (entity draggee) |
void | Drag_MoveBackward (entity dragger) |
void | Drag_MoveDrag (entity from, entity to) |
void | Drag_MoveForward (entity dragger) |
void | Drag_SetSpeed (entity dragger, float s) |
bool | drag_undraggable (entity draggee, entity dragger) |
void | Drag_Update (entity dragger) |
void | DragBox_Think (entity this) |
Definition at line 285 of file cheats.qc.
References AnglesTransform_ApplyToAngles(), argv(), BEGIN_CHEAT_FUNCTION, BITXOR_ASSIGN, CH_WEAPON_A, classname, cmd(), crosshair_trace(), DID_CHEAT, drag_lastcnt, DragBox_Think(), EF_NOMODELFLAGS, END_CHEAT_FUNCTION, entity(), etof(), fclose(), FILE_WRITE, find(), fixedvectoangles2, FL_GODMODE, FL_NOTARGET, flags, fopen(), fputs(), ftos(), GiveItems(), IS_CHEAT, max(), move_movetype, MOVE_NORMAL, move_out_of_solid, MOVETYPE_FLY, MOVETYPE_NOCLIP, MOVETYPE_WALK, normalize(), NULL, origin, Q3SURFACEFLAG_NOIMPACT, race_ImposePenaltyTime(), RandomSelection_AddEnt, RandomSelection_chosen_ent, RandomSelection_Init(), RES_HEALTH, set_movetype(), setmodel, setorigin(), SetResourceExplicit(), setthink, Simple_TeleportPlayer(), spawn(), sprint(), stof(), stov(), strcat(), strzone(), SUB_UseTargets(), substring(), teleport_findtarget(), time, trace_dphitq3surfaceflags, trace_endpos, trace_fraction, trace_plane_normal, trace_startsolid, v_forward, vector(), vectoyaw(), view_ofs, vlen(), vlen2, vtos(), W_SetupShot, w_shotdir, w_shotorg, and weaponentities.
Referenced by CheatImpulse(), and SV_ParseClientCommand().
Definition at line 703 of file cheats.qc.
References autocvar_sv_cheats, BEGIN_CHEAT_FUNCTION, Drag(), END_CHEAT_FUNCTION, gamestart_sv_cheats, and maycheat.
Referenced by PlayerPostThink().
Definition at line 130 of file cheats.qc.
References angles, ATTEN_NORM, autocvar_g_allow_checkpoints, BEGIN_CHEAT_FUNCTION, CH_SHOTS, CheatCommand(), classname, CopyBody(), DID_CHEAT, DIFF_TEAM, DMG_NOWEP, DPCONTENTS_BODY, DPCONTENTS_CORPSE, DPCONTENTS_DONOTENTER, DPCONTENTS_LAVA, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SKY, DPCONTENTS_SLIME, DPCONTENTS_SOLID, END_CHEAT_FUNCTION, entity(), find(), fixangle, FOREACH_CLIENT, gamestart_sv_cheats, GetResource(), IS_CHEAT, IS_DEAD, IS_PLAYER, items, lip, LOG_INFO, makevectors, max(), move_movetype, MOVE_WORLDONLY, MoveToRandomMapLocation(), MOVETYPE_NOCLIP, MUTATOR_CALLHOOK, NULL, oldvelocity, origin, pauseregen_finished, pauserotarmor_finished, pauserotfuel_finished, pauserothealth_finished, personal, Q3SURFACEFLAG_SKY, RadiusDamage(), RandomSelection_AddEnt, RandomSelection_chosen_ent, RandomSelection_Init(), RES_HEALTH, setorigin(), SetResource(), sound, spawn(), speedrunning, sprint(), time, tokenize_console, trace_startsolid, v_angle, v_forward, velocity, and VOL_BASE.
Referenced by CheckPlayerJump(), and ImpulseCommands().
void CheatInit | ( | ) |
Definition at line 48 of file cheats.qc.
References autocvar_sv_cheats, and gamestart_sv_cheats.
Referenced by spawnfunc().
void CheatShutdown | ( | ) |
Definition at line 53 of file cheats.qc.
Referenced by Shutdown().
Definition at line 748 of file cheats.qc.
References autocvar_g_grab_range, BEGIN_CHEAT_FUNCTION, CHRAME_DRAG, crosshair_trace_plusvisibletriggers(), CS(), DID_CHEAT, Drag_Begin(), Drag_CanDrag(), Drag_Finish(), Drag_IsDraggable(), Drag_IsDragging(), Drag_MoveBackward(), Drag_MoveForward(), Drag_SetSpeed(), Drag_Update(), entity(), frametime, impulse, IS_CHEAT, origin, PHYS_INPUT_BUTTON_DRAG, SAME_TEAM, trace_endpos, trace_ent, and vdist.
Referenced by CheatFrame().
Definition at line 841 of file cheats.qc.
References gettaginfo, MOVETYPE_WALK, set_movetype(), UNSET_ONGROUND, v_forward, v_right, v_up, and vlen().
Referenced by Drag().
Definition at line 865 of file cheats.qc.
References entity(), FL_ITEM, MOVETYPE_BOUNCE, MOVETYPE_BOUNCEMISSILE, MOVETYPE_FLYMISSILE, MOVETYPE_PHYSICS, MOVETYPE_STEP, MOVETYPE_TOSS, MOVETYPE_WALK, NULL, set_movetype(), SET_ONGROUND, and vdist.
Referenced by Drag(), and Drag_IsDragging().
Definition at line 904 of file cheats.qc.
References NULL.
Referenced by Drag(), and Drag_IsDragging().
Definition at line 983 of file cheats.qc.
References Drag_CanDrag(), Drag_Finish(), Drag_IsDraggable(), and NULL.
Referenced by Drag().
Definition at line 917 of file cheats.qc.
References substring().
Referenced by Drag_Update().
Definition at line 1000 of file cheats.qc.
Referenced by CopyBody().
Definition at line 897 of file cheats.qc.
Referenced by CL_SpawnWeaponentity(), and PutObserverInServer().
Definition at line 940 of file cheats.qc.
References Drag_MayChangeAngles(), entity(), frametime, gettaginfo, makevectors, max(), min(), serverframetime, servertime, UNSET_ONGROUND, v_forward, v_right, v_up, vector(), and weaponentities.
Referenced by Drag().
Definition at line 1010 of file cheats.qc.
References aiment, cnt, enemy, fabs(), floor(), killindicator, maxs, MDL_NUM(), mins, nextthink, origin, setmodel, setorigin(), and time.
Referenced by CheatCommand().
int autocvar_g_max_info_autoscreenshot |
Definition at line 7 of file cheats.qh.
Referenced by spawnfunc().
int autocvar_sv_cheats |
Definition at line 5 of file cheats.qh.
Referenced by CampaignPreInit(), CheatFrame(), CheatInit(), CheatsAllowed(), and CheckPlayerJump().
int autocvar_sv_clones |
Definition at line 8 of file cheats.qh.
Referenced by CheatsAllowed().
float cheatcount_total |
Definition at line 10 of file cheats.qh.
Referenced by CampaignPreIntermission(), and Shutdown().
int grab |
Definition at line 25 of file cheats.qh.
Referenced by Monster_Spawn(), and sandbox_ObjectFunction_Think().
entity personal |
Definition at line 23 of file cheats.qh.
Referenced by CheatImpulse(), ClientDisconnect(), IMPULSE(), and PlayerThink().
bool speedrunning |
Definition at line 21 of file cheats.qh.
Referenced by CheatImpulse(), ctf_FlagThink(), and PutPlayerInServer().