VexdUM_const.inc
Original include source with line numbers.
| 1 | #if defined _vexdum_const_included |
| 2 | #endinput |
| 3 | #endif |
| 4 | #define _vexdum_const_included |
| 5 | |
| 6 | // TraceLine Integer |
| 7 | enum { |
| 8 | TR_INT_fAllSolid, // if true, plane is not valid |
| 9 | TR_INT_fStartSolid, // if true, the initial point was in a solid area |
| 10 | TR_INT_fInOpen, |
| 11 | TR_INT_fInWater, |
| 12 | TR_INT_iHitgroup, // 0 == generic, non zero is specific body part |
| 13 | }; |
| 14 | |
| 15 | // TraceLine Float |
| 16 | enum { |
| 17 | TR_FL_flFraction, // time completed, 1.0 = didn't hit anything |
| 18 | TR_FL_flPlaneDist, |
| 19 | }; |
| 20 | |
| 21 | // TraceLine Vector |
| 22 | enum { |
| 23 | TR_VEC_vecEndPos, // final position |
| 24 | TR_VEC_vecPlaneNormal, // surface normal at impact |
| 25 | }; |
| 26 | |
| 27 | // TraceLine Edict |
| 28 | enum { |
| 29 | TR_ENT_pHit, // entity the surface is on |
| 30 | }; |
| 31 | |