36 this.
dest =
'0 0 -700';
51 if(this.
count > 65535)
76 this.
dest =
'0 0 -300';
91 if(this.
count > 65535)
99float autocvar_cl_rainsnow_maxdrawdist = 1000;
101void Draw_RainSnow(
entity this)
103 float drawdist = ((this.
fade_end) ? this.
fade_end : autocvar_cl_rainsnow_maxdrawdist);
104 vector maxdist =
'1 1 1' * drawdist;
109 vector mysize = effbox_max - effbox_min;
110 float mycount =
bound(1, 0.1 * this.
count * (mysize.x / 1024) * (mysize.y / 1024), 65535);
127 this.
count = ReadShort();
138 setorigin(
this, this.
origin);
139 setsize(
this, this.mins, this.
maxs);
141 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)
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