X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fserver%2Fcheats.qh;h=1bf08064106c410874df00f9607d9222929ab1c0;hb=c25812c4057b439a7e4fbf756c95378eca3bd187;hp=c9a449b53794a6681e2f9b5d1dd5db9be56bae3b;hpb=4a850b012b05774ec7bea9c53c5cbed0bf9bab4e;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/cheats.qh b/qcsrc/server/cheats.qh index c9a449b537..1bf0806410 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); // used by sandbox code \ No newline at end of file +void Drag_MoveDrag(entity from, entity to); // call this from CopyBody