31 virtual float SendEntity(entity,
float);
33 virtual void ReceiveEntity(
void);
34 virtual float predraw(
void);
35 virtual void BuildShader(
void);
39 virtual void Place(vector,
string);
69 tmp[0].
normal = trace_plane_normal;
70 tmp[0].
endpos = trace_endpos;
73 tmp[1].
normal = trace_plane_normal;
74 tmp[1].
endpos = trace_endpos;
77 tmp[2].
normal = trace_plane_normal;
78 tmp[2].
endpos = trace_endpos;
81 tmp[3].
normal = trace_plane_normal;
82 tmp[3].
endpos = trace_endpos;
85 tmp[4].
normal = trace_plane_normal;
86 tmp[4].
endpos = trace_endpos;
89 tmp[5].
normal = trace_plane_normal;
90 tmp[5].
endpos = trace_endpos;
93 for (
int i = 0; i < 6; i++) {
94 if (tmp[i].fraction < frac) {
NSDecal Decals_Next(vector pos)
Definition: NSDecal.qc:240
void Decal_Parse(void)
Definition: NSDecal.qc:300
void Decals_Place(vector pos, string dname)
Places a desired decal at the specified position.
Definition: NSDecal.qc:257
void decal_pickwall(entity dself, vector vpos)
Definition: NSDecal.h:56
traced_t g_tracedDecal
Definition: NSDecal.h:53
void Decals_Init(void)
Definition: NSDecal.qc:211
void Decal_Reload(void)
Definition: NSDecal.qc:287
void Decal_Shutdown(void)
Definition: NSDecal.qc:311
string Decal_Precache(string decalTex)
Definition: NSDecal.qc:277
This entity class represents decals
Definition: NSDecal.h:26
vector v_up
Definition: math.h:46
vector v_right
Definition: math.h:47
vector v_forward
Definition: math.h:45
void makevectors(vector angles)
Definition: math.h:48
__wrap void traceline(vector v1, vector v2, float flags, entity ent)
Definition: defs.h:379
vector endpos
Definition: NSDecal.h:50
vector normal
Definition: NSDecal.h:49
float fraction
Definition: NSDecal.h:48