X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcheats.qh;h=7301df4a0968b1142b71d549ec5b408cf4771f28;hb=f41d9f31538bef0259d2b2c74536bb977901f99d;hp=625a304bd51f99ce3539942cd58d5a47f3c4aff3;hpb=4dd3c23aa51dd6fe855d8c5d97126a12a372eb3b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/cheats.qh b/qcsrc/server/cheats.qh index 625a304bd..7301df4a0 100644 --- a/qcsrc/server/cheats.qh +++ b/qcsrc/server/cheats.qh @@ -1,17 +1,20 @@ #ifndef CHEATS_H #define CHEATS_H +#include "../common/impulses/all.qh" + //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 CheatImpulse(int imp); float CheatCommand(float argc); float CheatFrame(); +const float CHRAME_DRAG = 8; + void Drag_MoveDrag(entity from, entity to); // call this from CopyBody #endif