X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcheats.qh;h=0dc6a92d9c45b5f103e432fabaa59f8c3db45bb1;hb=83c3e8fd619985fe7c4f74d3affaa97ac46c448e;hp=e688f8c138c5de93f3404cd031d18c88bc5aacb5;hpb=c0da80fe6125a43ee99a90808ac6f9d0ddcf88c8;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/cheats.qh b/qcsrc/server/cheats.qh index e688f8c13..0dc6a92d9 100644 --- a/qcsrc/server/cheats.qh +++ b/qcsrc/server/cheats.qh @@ -10,8 +10,21 @@ void CheatInit(); void CheatShutdown(); float CheatImpulse(entity this, int imp); float CheatCommand(entity this, int argc); -float CheatFrame(); +float CheatFrame(entity this); const float CHRAME_DRAG = 8; 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); +float Drag_MayChangeAngles(entity draggee); +void Drag_MoveForward(entity dragger); +void Drag_SetSpeed(entity dragger, float s); +void Drag_MoveBackward(entity dragger); +void Drag_Update(entity dragger); +float Drag_CanDrag(entity dragger); +float Drag_IsDragging(entity dragger); +void Drag_MoveDrag(entity from, entity to);