]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cheats.qh
Impulses: migration pathway
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cheats.qh
index b563c0e13b841a539a75c46ce35c3cfe68660371..122d2f7e94becb6e32645b2b68a7e356762f9c53 100644 (file)
@@ -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,6 +15,7 @@ float CheatImpulse(float i);
 float CheatCommand(float argc);
 float CheatFrame();
 
-void Drag_MoveDrag(entity from, entity to); // call this from CopyBody
+const float CHRAME_DRAG = 8;
 
-float Drag(entity e, float dist); // used by sandbox code
\ No newline at end of file
+void Drag_MoveDrag(entity from, entity to); // call this from CopyBody
+#endif