X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fantilag.qh;h=e1123e786e6db126f17ff0923f5a891d94fc6fde;hb=d5fdcf33ed6bf561a90134526bc2d4c1814d35a8;hp=cadb45a14d981fa0d2e9b26449dff0474eb38099;hpb=e7916433ba6b3b19869aa73be8f753c78d20ec4d;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