X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fcheats.qc;h=0c6fc7f39d483e7b0b931e18f25360fbc4730392;hp=b8eaf6e4255093ee11a37cf94fe1e5c07d99b89d;hb=125d619e9ab2a307b15b7ee1a2ededed32c7e84d;hpb=e728fc245c92d692c4e51936ad42bc8a1d4eeb6c diff --git a/qcsrc/server/cheats.qc b/qcsrc/server/cheats.qc index b8eaf6e42..0c6fc7f39 100644 --- a/qcsrc/server/cheats.qc +++ b/qcsrc/server/cheats.qc @@ -1,29 +1,30 @@ #include "cheats.qh" +#include "_all.qh" + #include "g_damage.qh" #include "race.qh" #include "../common/triggers/teleporters.qh" -#if defined(CSQC) -#elif defined(MENUQC) -#elif defined(SVQC) - #include "../dpdefs/progsdefs.qh" - #include "../dpdefs/dpextensions.qh" - #include "../warpzonelib/anglestransform.qh" - #include "../warpzonelib/util_server.qh" - #include "../common/constants.qh" - #include "../common/util.qh" - #include "../common/triggers/func/breakable.qh" - #include "../common/monsters/monsters.qh" - #include "../common/weapons/weapons.qh" - #include "weapons/tracing.qh" - #include "autocvars.qh" - #include "defs.qh" - #include "../common/deathtypes.qh" - #include "../common/triggers/subs.qh" - #include "../common/triggers/func/breakable.qh" - #include "mutators/mutators_include.qh" - #include "../csqcmodellib/sv_model.qh" -#endif +#include "mutators/mutators_include.qh" + +#include "weapons/tracing.qh" + +#include "../common/constants.qh" +#include "../common/deathtypes.qh" +#include "../common/util.qh" + +#include "../common/monsters/all.qh" + +#include "../common/weapons/all.qh" + +#include "../common/triggers/subs.qh" + +#include "../common/triggers/func/breakable.qh" + +#include "../csqcmodellib/sv_model.qh" + +#include "../warpzonelib/anglestransform.qh" +#include "../warpzonelib/util_server.qh" void CopyBody(float keepvelocity); @@ -43,15 +44,7 @@ void Drag_MoveDrag(entity from, entity to) { } .float maycheat; float gamestart_sv_cheats; -const float CHIMPULSE_SPEEDRUN_INIT = 30; -const float CHIMPULSE_GIVE_ALL = 99; -const float CHIMPULSE_CLONE_MOVING = 140; -const float CHIMPULSE_SPEEDRUN = 141; -const float CHIMPULSE_CLONE_STANDING = 142; -const float CHIMPULSE_TELEPORT = 143; -const float CHIMPULSE_R00T = 148; -const float CHRAME_DRAG = 8; void CheatInit() {