X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fanticheat.qh;h=dd870dd397ceee549e4786adc25478f3fbb6e92e;hb=e0012447bfce1b551df3dc01b043655aa93dafad;hp=6b9e4e3858c8ddd8ade6a24a913f6b7c43e8717a;hpb=253cc10990569fd90917dba809ce03c90fc89336;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);