]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/antilag.qh
Merge branch 'master' into terencehill/bot_waypoints
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / antilag.qh
1 #pragma once
2
3 void antilag_record(entity e, entity store, float t);
4 vector antilag_takebackorigin(entity e, entity store, float t);
5 void antilag_takeback(entity e, entity store, float t);
6 void antilag_restore(entity e, entity store);
7 void antilag_clear(entity e, entity store);
8
9 void antilag_takeback_all(entity ignore, float lag);
10 void antilag_restore_all(entity ignore);
11
12 .float antilag_debug;
13
14 #define ANTILAG_LATENCY(e) min(0.4, CS(e).ping * 0.001)
15 // add one ticrate?