]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/ent_cs.qh
Merge branch 'master' into terencehill/tooltips_cleanup
[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 .entity entcs;
15
16 float entcs_customize();
17
18 bool entcs_send(entity this, entity to, int sf);
19
20 void entcs_think();
21
22 entity attach_entcs(entity e);
23
24 void detach_entcs(entity e);
25
26 #endif