X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcheats.qh;h=962e017a19d6dad9e4919c86d53b20bb92efb84c;hb=f87b9a379f2418ff37032302ac094038ae4a970f;hp=0dc6a92d9c45b5f103e432fabaa59f8c3db45bb1;hpb=5aab6120acfc624751d20a695d1b911b3e919831;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/cheats.qh b/qcsrc/server/cheats.qh index 0dc6a92d9..962e017a1 100644 --- a/qcsrc/server/cheats.qh +++ b/qcsrc/server/cheats.qh @@ -14,12 +14,15 @@ float CheatFrame(entity this); const float CHRAME_DRAG = 8; +bool drag_undraggable(entity draggee, entity dragger); + +.bool(entity this, entity dragger) draggable; void Drag_MoveDrag(entity from, entity to); // call this from CopyBody void DragBox_Think(entity this); float Drag(entity this, float force_allow_pick, float ischeat); void Drag_Begin(entity dragger, entity draggee, vector touchpoint); void Drag_Finish(entity dragger); -float Drag_IsDraggable(entity draggee); +bool Drag_IsDraggable(entity draggee, entity dragger); float Drag_MayChangeAngles(entity draggee); void Drag_MoveForward(entity dragger); void Drag_SetSpeed(entity dragger, float s);