]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cheats.qh
Remove a compile-time message
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cheats.qh
index 46152692e969e64dd9dfff6cd85f6e8b781747e1..7301df4a0968b1142b71d549ec5b408cf4771f28 100644 (file)
@@ -1,15 +1,20 @@
-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;
 void CheatInit();
 void CheatShutdown();
-void CheatInitClient();
 void CheatShutdownClient();
-float CheatImpulse(float i);
+float CheatImpulse(int imp);
 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 grab); // used by sandbox code
\ No newline at end of file
+void Drag_MoveDrag(entity from, entity to); // call this from CopyBody
+#endif