]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cheats.qh
Properly support team field on trigger_multiple
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cheats.qh
index 122d2f7e94becb6e32645b2b68a7e356762f9c53..1bf08064106c410874df00f9607d9222929ab1c0 100644 (file)
@@ -1,7 +1,6 @@
-#ifndef CHEATS_H
-#define CHEATS_H
+#pragma once
 
-#include "../common/impulses/all.qh"
+#include <common/impulses/all.qh>
 
 //float autocvar_sv_cheats; // must... declare... global
 
@@ -9,13 +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();
+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