X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcheats.qh;h=1bf08064106c410874df00f9607d9222929ab1c0;hb=af376cc21c7130e4d62257778b6f08fb03056120;hp=46152692e969e64dd9dfff6cd85f6e8b781747e1;hpb=6f6a9d3ce8a4fd3c10f7421ba27e4bfc944c8f9b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/cheats.qh b/qcsrc/server/cheats.qh index 46152692e..1bf080641 100644 --- a/qcsrc/server/cheats.qh +++ b/qcsrc/server/cheats.qh @@ -1,15 +1,17 @@ -float autocvar_sv_cheats; // must... declare... global +#pragma once + +#include + +//float autocvar_sv_cheats; // must... declare... global float cheatcount_total; .float cheatcount; void CheatInit(); void CheatShutdown(); -void CheatInitClient(); -void CheatShutdownClient(); -float CheatImpulse(float i); -float CheatCommand(float argc); -float CheatFrame(); +float CheatImpulse(entity this, int imp); +float CheatCommand(entity this, int argc); +float CheatFrame(entity this); -void Drag_MoveDrag(entity from, entity to); // call this from CopyBody +const float CHRAME_DRAG = 8; -float Drag(entity e, float grab); // used by sandbox code \ No newline at end of file +void Drag_MoveDrag(entity from, entity to); // call this from CopyBody