]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/antilag.qh
Antilag: fix vehicles and monsters
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / antilag.qh
1 #ifndef ANTILAG_H
2 #define ANTILAG_H
3
4 void antilag_record(entity e, entity store, float t);
5 vector antilag_takebackorigin(entity e, entity store, float t);
6 void antilag_takeback(entity e, entity store, float t);
7 void antilag_restore(entity e, entity store);
8 void antilag_clear(entity e, entity store);
9
10 .float antilag_debug;
11
12 #define ANTILAG_LATENCY(e) min(0.4, e.ping * 0.001)
13 // add one ticrate?
14 #endif