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=f200c4c867bc5afc73e7c3eb86483a38e7f621ed;hb=d865de7a9a17c5a1d9286aec40f68c3530697660;hpb=86c9dc7c3696c329496b06375c1e79fb407401ce diff --git a/qcsrc/server/cheats.qh b/qcsrc/server/cheats.qh index f200c4c867..1bf0806410 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,21 +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(); - -const float CHIMPULSE_SPEEDRUN_INIT = 30; -const float CHIMPULSE_GIVE_ALL = 99; -const float CHIMPULSE_CLONE_MOVING = 140; -const float CHIMPULSE_SPEEDRUN = 141; -const float CHIMPULSE_CLONE_STANDING = 142; -const float CHIMPULSE_TELEPORT = 143; -const float CHIMPULSE_R00T = 148; +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