X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcheats.qh;h=122d2f7e94becb6e32645b2b68a7e356762f9c53;hb=64b8409b2d6fb93dc51ba24a82d219c8cd56a907;hp=f200c4c867bc5afc73e7c3eb86483a38e7f621ed;hpb=853b6160a59c1e6f1b67af9abd43cf98d25b8625;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/cheats.qh b/qcsrc/server/cheats.qh index f200c4c86..122d2f7e9 100644 --- a/qcsrc/server/cheats.qh +++ b/qcsrc/server/cheats.qh @@ -1,6 +1,8 @@ #ifndef CHEATS_H #define CHEATS_H +#include "../common/impulses/all.qh" + //float autocvar_sv_cheats; // must... declare... global float cheatcount_total; @@ -13,14 +15,6 @@ 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; - const float CHRAME_DRAG = 8; void Drag_MoveDrag(entity from, entity to); // call this from CopyBody