X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fantilag.qh;h=e1123e786e6db126f17ff0923f5a891d94fc6fde;hb=c799100e81b0b3e09e9fa567645898784dcf67bd;hp=cadb45a14d981fa0d2e9b26449dff0474eb38099;hpb=684f569c626ee8a81b3269df66d5e36f123f450e;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/antilag.qh b/qcsrc/server/antilag.qh index cadb45a14..e1123e786 100644 --- a/qcsrc/server/antilag.qh +++ b/qcsrc/server/antilag.qh @@ -1,3 +1,6 @@ +#ifndef ANTILAG_H +#define ANTILAG_H + void antilag_record(entity e, float t); vector antilag_takebackorigin(entity e, float t); vector antilag_takebackavgvelocity(entity e, float t0, float t1); @@ -5,5 +8,8 @@ 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