X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fcheats.qh;h=1bf08064106c410874df00f9607d9222929ab1c0;hp=625a304bd51f99ce3539942cd58d5a47f3c4aff3;hb=b8ad7477ca022feff76a1634c7ca8dcaaf54937c;hpb=244e5081c5c503c307e557c98ac864f6c9731475 diff --git a/qcsrc/server/cheats.qh b/qcsrc/server/cheats.qh index 625a304bd..1bf080641 100644 --- a/qcsrc/server/cheats.qh +++ b/qcsrc/server/cheats.qh @@ -1,5 +1,6 @@ -#ifndef CHEATS_H -#define CHEATS_H +#pragma once + +#include //float autocvar_sv_cheats; // must... declare... global @@ -7,11 +8,10 @@ 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); + +const float CHRAME_DRAG = 8; void Drag_MoveDrag(entity from, entity to); // call this from CopyBody -#endif