X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcheats.qh;h=e688f8c138c5de93f3404cd031d18c88bc5aacb5;hb=fd20a1f1eae2b2ba955ce9ddedc20cd151a6f362;hp=46152692e969e64dd9dfff6cd85f6e8b781747e1;hpb=a86fa5a48ac75276db3da34fd3721678517c62fa;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/cheats.qh b/qcsrc/server/cheats.qh index 46152692e..e688f8c13 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 CheatImpulse(entity this, int imp); +float CheatCommand(entity this, int argc); float CheatFrame(); -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