X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcheats.qh;h=1bf08064106c410874df00f9607d9222929ab1c0;hb=c25812c4057b439a7e4fbf756c95378eca3bd187;hp=7301df4a0968b1142b71d549ec5b408cf4771f28;hpb=f41d9f31538bef0259d2b2c74536bb977901f99d;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/cheats.qh b/qcsrc/server/cheats.qh index 7301df4a0..1bf080641 100644 --- a/qcsrc/server/cheats.qh +++ b/qcsrc/server/cheats.qh @@ -1,7 +1,6 @@ -#ifndef CHEATS_H -#define CHEATS_H +#pragma once -#include "../common/impulses/all.qh" +#include //float autocvar_sv_cheats; // must... declare... global @@ -9,12 +8,10 @@ float cheatcount_total; .float cheatcount; void CheatInit(); void CheatShutdown(); -void CheatShutdownClient(); -float CheatImpulse(int imp); -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