X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fantilag.qh;h=e1123e786e6db126f17ff0923f5a891d94fc6fde;hb=e921ae9f86a09d0a20cd4c72b44e6d71d25975ea;hp=2a7343243dd6e4dc7cfd80d2cd2bd6394928197e;hpb=57fc749c7a6549d2d3e6ff79779ecb7400767410;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/antilag.qh b/qcsrc/server/antilag.qh index 2a7343243..e1123e786 100644 --- a/qcsrc/server/antilag.qh +++ b/qcsrc/server/antilag.qh @@ -1,9 +1,15 @@ +#ifndef ANTILAG_H +#define ANTILAG_H + void antilag_record(entity e, float t); -float antilag_find(entity e, float t); vector antilag_takebackorigin(entity e, float t); vector antilag_takebackavgvelocity(entity e, float t0, float t1); void antilag_takeback(entity e, float t); void antilag_restore(entity e); +void antilag_clear(entity e); + +.float antilag_debug; #define ANTILAG_LATENCY(e) min(0.4, e.ping * 0.001) // add one ticrate? +#endif