36 this.
dest =
'0 0 -700';
71 this.
dest =
'0 0 -300';
89float autocvar_cl_rainsnow_maxdrawdist = 1000;
91void Draw_RainSnow(
entity this)
93 float drawdist = ((this.
fade_end) ? this.
fade_end : autocvar_cl_rainsnow_maxdrawdist);
94 vector maxdist =
'1 1 1' * drawdist;
100 vector mysize = effbox_max - effbox_min;
101 float mycount =
bound(1, 0.1 * this.
count * (mysize.x / 1024) * (mysize.y / 1024), 65535);
115 this.
count = ReadShort();
126 setorigin(
this, this.
origin);
127 setsize(
this, this.
mins, this.
maxs);
130 this.draw = Draw_RainSnow;
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
IntrusiveList g_drawables
float compressShortVector(vector vec)
vector decompressShortVector(int data)
WriteByte(chan, ent.angles.y/DEC_FACTOR)
ERASEABLE entity IL_PUSH(IntrusiveList this, entity it)
Push to tail.
#define NET_HANDLE(id, param)
#define WriteHeader(to, id)
#define REGISTER_NET_LINKED(id)
void Net_LinkEntity(entity e, bool docull, float dt, bool(entity this, entity to, int sendflags) sendfunc)
void set_movetype(entity this, int mt)
ERASEABLE vector vec_to_min(vector a, vector b)
ERASEABLE vector vec_to_max(vector a, vector b)
bool rainsnow_SendEntity(entity this, entity to, float sf)
void SetBrushEntityModel(entity this, bool with_lod)
ERASEABLE float boxesoverlap(vector m1, vector m2, vector m3, vector m4)
Requires that m2>m1 in all coordinates, and that m4>m3.