]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/csqceffects.qc
#includes: cleanup
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / csqceffects.qc
1 #if defined(CSQC)
2 #elif defined(MENUQC)
3 #elif defined(SVQC)
4     #include "../common/constants.qh"
5 #endif
6
7 void te_csqc_lightningarc(vector from,vector to)
8 {
9         WriteByte(MSG_BROADCAST, SVC_TEMPENTITY);
10         WriteByte(MSG_BROADCAST, TE_CSQC_ARC);
11
12         WriteCoord(MSG_BROADCAST, from.x);
13         WriteCoord(MSG_BROADCAST, from.y);
14         WriteCoord(MSG_BROADCAST, from.z);
15         WriteCoord(MSG_BROADCAST, to.x);
16         WriteCoord(MSG_BROADCAST, to.y);
17         WriteCoord(MSG_BROADCAST, to.z);
18 }
19