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