3 #include <common/impulses/all.qh>
5 //float autocvar_sv_cheats; // must... declare... global
7 float cheatcount_total;
11 float CheatImpulse(entity this, int imp);
12 float CheatCommand(entity this, int argc);
13 float CheatFrame(entity this);
15 const float CHRAME_DRAG = 8;
17 bool drag_undraggable(entity draggee, entity dragger);
19 .bool(entity this, entity dragger) draggable;
20 void Drag_MoveDrag(entity from, entity to); // call this from CopyBody
21 void DragBox_Think(entity this);
22 float Drag(entity this, float force_allow_pick, float ischeat);
23 void Drag_Begin(entity dragger, entity draggee, vector touchpoint);
24 void Drag_Finish(entity dragger);
25 bool Drag_IsDraggable(entity draggee, entity dragger);
26 float Drag_MayChangeAngles(entity draggee);
27 void Drag_MoveForward(entity dragger);
28 void Drag_SetSpeed(entity dragger, float s);
29 void Drag_MoveBackward(entity dragger);
30 void Drag_Update(entity dragger);
31 float Drag_CanDrag(entity dragger);
32 float Drag_IsDragging(entity dragger);
33 void Drag_MoveDrag(entity from, entity to);