]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/triggers/misc/laser.qh
Merge branch 'master' into 'terencehill/bot_waypoints'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / misc / laser.qh
1 #pragma once
2
3
4 const int LASER_FINITE = BIT(1);
5 const int LASER_NOTRACE = BIT(2);
6 const int LASER_INVERT_TEAM = BIT(3);
7
8 const int SF_LASER_UPDATE_ORIGIN = BIT(0);
9 const int SF_LASER_UPDATE_TARGET = BIT(1);
10 const int SF_LASER_UPDATE_ACTIVE = BIT(2);
11 const int SF_LASER_UPDATE_EFFECT = BIT(3);
12
13 const int SF_LASER_NOTRACE = BIT(4);
14 const int SF_LASER_SCALE = BIT(5);
15 const int SF_LASER_ALPHA = BIT(6);
16 const int SF_LASER_FINITE = BIT(7);
17
18 .vector beam_color;
19
20 const float LASER_BEAM_MAXLENGTH = 32768; // maximum length of a beam trace
21 // TODO: find a better way to do this
22 const float LASER_BEAM_MAXWORLDSIZE = 1048576; // to make sure the endpoint of the beam is not visible inside