]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/ent_cs.qh
Merge remote-tracking branch 'remotes/origin/master' into TimePath/itemsys
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / ent_cs.qh
1 #ifndef ENT_CS_H
2 #define ENT_CS_H
3
4 /**
5  * The point of these entities is to avoid the problems
6  * with clientprediction.
7  * If you add SendEntity to players, the engine will not
8  * do any prediction anymore, and you'd have to write the whole
9  * prediction code in CSQC, you want that? :P
10  * Data can depend on gamemode. For now, it serves as GPS entities
11  * in onslaught... YAY ;)
12  */
13
14 // Beware: do not redefine those in other files
15 // and NO, you cannot use ".version", which already exists (at least
16 // it did when I added this) But you have to use .Version
17 // Capital V
18
19 .entity entcs;
20
21 void entcs_init();
22
23 float entcs_customize();
24
25 float entcs_send(entity to, int sf);
26
27 void entcs_think();
28
29 entity attach_entcs();
30
31 void detach_entcs();
32 #endif