X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fcheats.qh;h=122d2f7e94becb6e32645b2b68a7e356762f9c53;hp=8c276919c51082206169b6050dd44335d7d1fc84;hb=64b8409b2d6fb93dc51ba24a82d219c8cd56a907;hpb=8d484c93801393279f8956b7d8806d78b50f6de9 diff --git a/qcsrc/server/cheats.qh b/qcsrc/server/cheats.qh index 8c276919c5..122d2f7e94 100644 --- a/qcsrc/server/cheats.qh +++ b/qcsrc/server/cheats.qh @@ -1,4 +1,9 @@ -float autocvar_sv_cheats; // must... declare... global +#ifndef CHEATS_H +#define CHEATS_H + +#include "../common/impulses/all.qh" + +//float autocvar_sv_cheats; // must... declare... global float cheatcount_total; .float cheatcount; @@ -10,4 +15,7 @@ float CheatImpulse(float i); float CheatCommand(float argc); float CheatFrame(); +const float CHRAME_DRAG = 8; + void Drag_MoveDrag(entity from, entity to); // call this from CopyBody +#endif