X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fanticheat.qh;h=dd870dd397ceee549e4786adc25478f3fbb6e92e;hb=HEAD;hp=6b9e4e3858c8ddd8ade6a24a913f6b7c43e8717a;hpb=15a18e8ca7c55ac8187b9ea266d15c2d6e0cb869;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/anticheat.qh b/qcsrc/server/anticheat.qh index 6b9e4e385..dd870dd39 100644 --- a/qcsrc/server/anticheat.qh +++ b/qcsrc/server/anticheat.qh @@ -1,18 +1,15 @@ -#ifndef ANTICHEAT_H -#define ANTICHEAT_H +#pragma once -void anticheat_init(); -void anticheat_report(); -void anticheat_shutdown(); +void anticheat_init(entity this); +void anticheat_report_to_eventlog(entity this); +void anticheat_report_to_playerstats(entity this); +void anticheat_register_to_playerstats(); -void anticheat_physics(); -void anticheat_spectatecopy(entity spectatee); -void anticheat_prethink(); - -float anticheat_getvalue(string name); +void anticheat_physics(entity this); +void anticheat_spectatecopy(entity this, entity spectatee); +void anticheat_prethink(entity this); void anticheat_startframe(); void anticheat_endframe(); -void anticheat_fixangle(); -#endif +void anticheat_fixangle(entity this);