#include <math.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include "ref.h"
#include "vid.h"
#include "screen.h"
#include "sound.h"
#include "input.h"
#include "keys.h"
#include "console.h"
#include "cdaudio.h"
#include "snd_miniaudio.h"
Go to the source code of this file.
|
enum | connstate_t {
ca_uninitialized,
ca_disconnected,
ca_connecting,
ca_connected,
ca_active
} |
|
enum | dltype_t {
dl_none,
dl_model,
dl_sound,
dl_skin,
dl_single
} |
|
enum | keydest_t { key_game,
key_console,
key_message,
key_menu
} |
|
|
void | DrawString (int x, int y, char *s) |
|
void | DrawAltString (int x, int y, char *s) |
|
qboolean | CL_CheckOrDownloadFile (char *filename) |
|
void | CL_AddNetgraph (void) |
|
void | CL_ParticleSteamEffect2 (cl_sustain_t *self) |
|
void | CL_TeleporterParticles (entity_state_t *ent) |
|
void | CL_ParticleEffect (vec3_t org, vec3_t dir, int color, int count) |
|
void | CL_ParticleEffect2 (vec3_t org, vec3_t dir, int color, int count) |
|
void | CL_ParticleEffect3 (vec3_t org, vec3_t dir, int color, int count) |
|
void | CL_ClearEffects (void) |
|
void | CL_ClearTEnts (void) |
|
void | CL_BlasterTrail (vec3_t start, vec3_t end) |
|
void | CL_QuadTrail (vec3_t start, vec3_t end) |
|
void | CL_RailTrail (vec3_t start, vec3_t end) |
|
void | CL_BubbleTrail (vec3_t start, vec3_t end) |
|
void | CL_FlagTrail (vec3_t start, vec3_t end, float color) |
|
void | CL_IonripperTrail (vec3_t start, vec3_t end) |
|
void | CL_BlasterParticles2 (vec3_t org, vec3_t dir, unsigned int color) |
|
void | CL_BlasterTrail2 (vec3_t start, vec3_t end) |
|
void | CL_DebugTrail (vec3_t start, vec3_t end) |
|
void | CL_SmokeTrail (vec3_t start, vec3_t end, int colorStart, int colorRun, int spacing) |
|
void | CL_Flashlight (int ent, vec3_t pos) |
|
void | CL_ForceWall (vec3_t start, vec3_t end, int color) |
|
void | CL_FlameEffects (centity_t *ent, vec3_t origin) |
|
void | CL_GenericParticleEffect (vec3_t org, vec3_t dir, int color, int count, int numcolors, int dirspread, float alphavel) |
|
void | CL_BubbleTrail2 (vec3_t start, vec3_t end, int dist) |
|
void | CL_Heatbeam (vec3_t start, vec3_t end) |
|
void | CL_ParticleSteamEffect (vec3_t org, vec3_t dir, int color, int count, int magnitude) |
|
void | CL_TrackerTrail (vec3_t start, vec3_t end, int particleColor) |
|
void | CL_Tracker_Explode (vec3_t origin) |
|
void | CL_TagTrail (vec3_t start, vec3_t end, float color) |
|
void | CL_ColorFlash (vec3_t pos, int ent, int intensity, float r, float g, float b) |
|
void | CL_Tracker_Shell (vec3_t origin) |
|
void | CL_MonsterPlasma_Shell (vec3_t origin) |
|
void | CL_ColorExplosionParticles (vec3_t org, int color, int run) |
|
void | CL_ParticleSmokeEffect (vec3_t org, vec3_t dir, int color, int count, int magnitude) |
|
void | CL_Widowbeamout (cl_sustain_t *self) |
|
void | CL_Nukeblast (cl_sustain_t *self) |
|
void | CL_WidowSplash (vec3_t org) |
|
int | CL_ParseEntityBits (unsigned *bits) |
| just for protocol profiling More...
|
|
void | CL_ParseDelta (entity_state_t *from, entity_state_t *to, int number, int bits) |
|
void | CL_ParseFrame (void) |
|
void | CL_ParseTEnt (void) |
|
void | CL_ParseConfigString (void) |
|
void | CL_ParseMuzzleFlash (void) |
|
void | CL_ParseMuzzleFlash2 (void) |
|
void | SmokeAndFlash (vec3_t origin) |
|
void | CL_SetLightstyle (int i) |
|
void | CL_RunParticles (void) |
|
void | CL_RunDLights (void) |
|
void | CL_RunLightStyles (void) |
|
void | CL_AddEntities (void) |
|
void | CL_AddDLights (void) |
|
void | CL_AddTEnts (void) |
|
void | CL_AddLightStyles (void) |
|
void | CL_PrepRefresh (void) |
|
void | CL_RegisterSounds (void) |
|
void | CL_Quit_f (void) |
|
void | IN_Accumulate (void) |
|
void | CL_ParseLayout (void) |
|
void | CL_Init (void) |
|
void | CL_FixUpGender (void) |
|
void | CL_Disconnect (void) |
|
void | CL_Disconnect_f (void) |
|
void | CL_GetChallengePacket (void) |
|
void | CL_PingServers_f (void) |
|
void | CL_Snd_Restart_f (void) |
|
void | CL_RequestNextDownload (void) |
|
void | CL_InitInput (void) |
|
void | CL_SendCmd (void) |
|
void | CL_SendMove (usercmd_t *cmd) |
|
void | CL_ClearState (void) |
|
void | CL_ReadPackets (void) |
|
int | CL_ReadFromServer (void) |
|
void | CL_WriteToServer (usercmd_t *cmd) |
|
void | CL_BaseMove (usercmd_t *cmd) |
|
void | IN_CenterView (void) |
|
float | CL_KeyState (kbutton_t *key) |
|
char * | Key_KeynumToString (int keynum) |
|
void | CL_WriteDemoMessage (void) |
|
void | CL_Stop_f (void) |
|
void | CL_Record_f (void) |
|
void | CL_ParseServerMessage (void) |
|
void | CL_LoadClientinfo (clientinfo_t *ci, char *s) |
|
void | SHOWNET (char *s) |
|
void | CL_ParseClientinfo (int player) |
|
void | CL_Download_f (void) |
|
void | V_Init (void) |
|
void | V_RenderView (float stereo_separation) |
|
void | V_AddEntity (entity_t *ent) |
|
void | V_AddParticle (vec3_t org, int color, float alpha) |
|
void | V_AddLight (vec3_t org, float intensity, float r, float g, float b) |
|
void | V_AddLightStyle (int style, float r, float g, float b) |
|
void | CL_RegisterTEntSounds (void) |
|
void | CL_RegisterTEntModels (void) |
|
void | CL_SmokeAndFlash (vec3_t origin) |
|
void | CL_InitPrediction (void) |
|
void | CL_PredictMove (void) |
|
void | CL_CheckPredictionError (void) |
|
cdlight_t * | CL_AllocDlight (int key) |
|
void | CL_BigTeleportParticles (vec3_t org) |
|
void | CL_RocketTrail (vec3_t start, vec3_t end, centity_t *old) |
|
void | CL_DiminishingTrail (vec3_t start, vec3_t end, centity_t *old, int flags) |
|
void | CL_FlyEffect (centity_t *ent, vec3_t origin) |
|
void | CL_BfgParticles (entity_t *ent) |
|
void | CL_AddParticles (void) |
|
void | CL_EntityEvent (entity_state_t *ent) |
|
void | CL_TrapParticles (entity_t *ent) |
|
void | M_Init (void) |
|
void | M_Keydown (int key) |
|
void | M_Draw (void) |
|
void | M_Menu_Main_f (void) |
|
void | M_ForceMenuOff (void) |
|
void | M_AddToServerList (netadr_t adr, char *info) |
|
void | CL_ParseInventory (void) |
|
void | CL_KeyInventory (int key) |
|
void | CL_DrawInventory (void) |
|
void | CL_PredictMovement (void) |
|
◆ BLASTER_PARTICLE_COLOR
#define BLASTER_PARTICLE_COLOR 0xe0 |
◆ CMD_BACKUP
◆ INSTANT_PARTICLE
#define INSTANT_PARTICLE -10000.0 |
◆ MAX_CLIENTWEAPONMODELS
#define MAX_CLIENTWEAPONMODELS 20 |
◆ MAX_PARSE_ENTITIES
#define MAX_PARSE_ENTITIES 1024 |
◆ MAX_SUSTAINS
◆ PARTICLE_GRAVITY
#define PARTICLE_GRAVITY 40 |
◆ cl_sustain_t
◆ cparticle_t
◆ connstate_t
Enumerator |
---|
ca_uninitialized | |
ca_disconnected | |
ca_connecting | |
ca_connected | |
ca_active | |
Definition at line 184 of file client.h.
◆ dltype_t
Enumerator |
---|
dl_none | |
dl_model | |
dl_sound | |
dl_skin | |
dl_single | |
Definition at line 192 of file client.h.
◆ keydest_t
Enumerator |
---|
key_game | |
key_console | |
key_message | |
key_menu | |
Definition at line 200 of file client.h.
◆ CL_AddDLights()
◆ CL_AddEntities()
◆ CL_AddLightStyles()
◆ CL_AddNetgraph()
◆ CL_AddParticles()
◆ CL_AddTEnts()
◆ CL_AllocDlight()
Definition at line 149 of file cl_fx.c.
162 memset (dl, 0,
sizeof(*dl));
175 memset (dl, 0,
sizeof(*dl));
182 memset (dl, 0,
sizeof(*dl));
Referenced by CL_ColorFlash(), CL_Flashlight(), CL_NewDlight(), CL_ParseMuzzleFlash(), and CL_ParseMuzzleFlash2().
◆ CL_BaseMove()
◆ CL_BfgParticles()
Definition at line 1925 of file cl_fx.c.
1930 float sr, sp, sy, cr, cp, cy;
1947 ltime = (float)
cl.
time / 1000.0;
1973 dist = sin(ltime +
i)*64;
1983 p->
color = floor (0xd0 + dist * 7);
1986 p->
alpha = 1.0 - dist;
Referenced by CL_AddPacketEntities().
◆ CL_BigTeleportParticles()
Definition at line 1195 of file cl_fx.c.
1200 static int colortable[4] = {2*8,13*8,21*8,18*8};
1202 for (
i=0 ;
i<4096 ;
i++)
1213 p->
color = colortable[rand()&3];
1217 p->
org[0] = org[0] + cos(
angle)*dist;
1218 p->
vel[0] = cos(
angle)*(70+(rand()&63));
1221 p->
org[1] = org[1] + sin(
angle)*dist;
1222 p->
vel[1] = sin(
angle)*(70+(rand()&63));
1225 p->
org[2] = org[2] + 8 + (rand()%90);
1226 p->
vel[2] = -100 + (rand()&31);
Referenced by CL_ParseTEnt().
◆ CL_BlasterParticles2()
◆ CL_BlasterTrail()
◆ CL_BlasterTrail2()
◆ CL_BubbleTrail()
◆ CL_BubbleTrail2()
◆ CL_CheckOrDownloadFile()
qboolean CL_CheckOrDownloadFile |
( |
char * |
filename | ) |
|
◆ CL_CheckPredictionError()
Definition at line 29 of file cl_pred.c.
47 len = abs(delta[0]) + abs(delta[1]) + abs(delta[2]);
56 delta[0] + delta[1] + delta[2]);
Referenced by CL_ParseFrame().
◆ CL_ClearEffects()
◆ CL_ClearState()
◆ CL_ClearTEnts()
◆ CL_ColorExplosionParticles()
Definition at line 1156 of file cl_newfx.c.
1161 for (
i=0 ;
i<128 ;
i++)
1171 p->
color = color + (rand() % run);
1173 for (
j=0 ;
j<3 ;
j++)
1175 p->
org[
j] = org[
j] + ((rand()%32)-16);
1176 p->
vel[
j] = (rand()%256)-128;
Referenced by CL_ParseTEnt().
◆ CL_ColorFlash()
void CL_ColorFlash |
( |
vec3_t |
pos, |
|
|
int |
ent, |
|
|
int |
intensity, |
|
|
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
| |
◆ CL_DebugTrail()
◆ CL_DiminishingTrail()
◆ CL_Disconnect()
◆ CL_Disconnect_f()
◆ CL_Download_f()
◆ CL_DrawInventory()
◆ CL_EntityEvent()
◆ CL_FixUpGender()
◆ CL_FlagTrail()
◆ CL_FlameEffects()
Definition at line 279 of file cl_newfx.c.
285 count = rand() & 0xF;
302 p->
color = 226 + (rand() % 4);
303 for (
j=0 ;
j<3 ;
j++)
312 count = rand() & 0x7;
328 p->
color = 0 + (rand() % 4);
329 for (
j=0 ;
j<3 ;
j++)
◆ CL_Flashlight()
◆ CL_FlyEffect()
◆ CL_ForceWall()
◆ CL_GenericParticleEffect()
Definition at line 344 of file cl_newfx.c.
361 p->
color = color + (rand() & numcolors);
365 d = rand() & dirspread;
366 for (
j=0 ;
j<3 ;
j++)
368 p->
org[
j] = org[
j] + ((rand()&7)-4) + d*dir[
j];
◆ CL_GetChallengePacket()
◆ CL_Heatbeam()
Definition at line 525 of file cl_newfx.c.
537 float step = 32.0, rstep;
560 ltime = (float)
cl.
time/1000.0;
561 start_pt = fmod(ltime*96.0,step);
562 VectorMA (move, start_pt, vec, move);
568 for (
i=start_pt ;
i<len ;
i+=step)
573 for (rot = 0; rot <
M_PI*2; rot += rstep)
591 c = cos(rot)*variance;
592 s = sin(rot)*variance;
610 p->
color = 223 - (rand()&7);
611 for (
j=0 ;
j<3 ;
j++)
613 p->
org[
j] = move[
j] + dir[
j]*3;
Referenced by CL_AddPlayerBeams().
◆ CL_Init()
Definition at line 1785 of file cl_main.c.
1793 #if defined __linux__ || defined __sgi
◆ CL_InitInput()
◆ CL_InitPrediction()
◆ CL_IonripperTrail()
◆ CL_KeyInventory()
◆ CL_KeyState()
◆ CL_LoadClientinfo()
Definition at line 380 of file cl_parse.c.
396 t = strstr (
s,
"\\");
405 Com_sprintf (model_filename,
sizeof(model_filename),
"players/male/tris.md2");
406 Com_sprintf (weapon_filename,
sizeof(weapon_filename),
"players/male/weapon.md2");
407 Com_sprintf (skin_filename,
sizeof(skin_filename),
"players/male/grunt.pcx");
418 strcpy (model_name,
s);
419 t = strstr(model_name,
"/");
421 t = strstr(model_name,
"\\");
427 strcpy (skin_name,
s + strlen(model_name) + 1);
430 Com_sprintf (model_filename,
sizeof(model_filename),
"players/%s/tris.md2", model_name);
434 strcpy(model_name,
"male");
435 Com_sprintf (model_filename,
sizeof(model_filename),
"players/male/tris.md2");
440 Com_sprintf (skin_filename,
sizeof(skin_filename),
"players/%s/%s.pcx", model_name, skin_name);
448 strcpy(model_name,
"male");
449 Com_sprintf (model_filename,
sizeof(model_filename),
"players/male/tris.md2");
453 Com_sprintf (skin_filename,
sizeof(skin_filename),
"players/%s/%s.pcx", model_name, skin_name);
461 Com_sprintf (skin_filename,
sizeof(skin_filename),
"players/%s/grunt.pcx", model_name, skin_name);
469 if (!ci->
weaponmodel[
i] && strcmp(model_name,
"cyborg") == 0) {
Referenced by CL_ParseClientinfo(), and CL_PrepRefresh().
◆ CL_MonsterPlasma_Shell()
◆ CL_Nukeblast()
Definition at line 997 of file cl_newfx.c.
1002 static int colortable[4] = {110, 112, 114, 116};
1005 ratio = 1.0 - (((float)self->
endtime - (
float)
cl.
time)/1000.0);
1021 p->
color = colortable[rand()&3];
Referenced by CL_ParseNuke().
◆ CL_ParseClientinfo()
void CL_ParseClientinfo |
( |
int |
player | ) |
|
◆ CL_ParseConfigString()
◆ CL_ParseDelta()
◆ CL_ParseEntityBits()
int CL_ParseEntityBits |
( |
unsigned * |
bits | ) |
|
◆ CL_ParseFrame()
Definition at line 663 of file cl_ents.c.
672 CL_ClearProjectiles();
702 Com_Printf (
"Delta from invalid frame (not supposed to happen!).\n");
711 Com_Printf (
"Delta parse_entities too old.\n");
742 if (cmd == svc_packetentities2)
743 CL_ParseProjectiles();
Referenced by CL_ParseServerMessage().
◆ CL_ParseInventory()
◆ CL_ParseLayout()
◆ CL_ParseMuzzleFlash()
Definition at line 238 of file cl_fx.c.
264 dl->
radius = 100 + (rand()&31);
266 dl->
radius = 200 + (rand()&31);
291 Com_sprintf(soundname,
sizeof(soundname),
"weapons/machgf%ib.wav", (rand() % 5) + 1);
304 dl->
radius = 200 + (rand()&31);
306 Com_sprintf(soundname,
sizeof(soundname),
"weapons/machgf%ib.wav", (rand() % 5) + 1);
310 dl->
radius = 225 + (rand()&31);
313 Com_sprintf(soundname,
sizeof(soundname),
"weapons/machgf%ib.wav", (rand() % 5) + 1);
315 Com_sprintf(soundname,
sizeof(soundname),
"weapons/machgf%ib.wav", (rand() % 5) + 1);
319 dl->
radius = 250 + (rand()&31);
322 Com_sprintf(soundname,
sizeof(soundname),
"weapons/machgf%ib.wav", (rand() % 5) + 1);
324 Com_sprintf(soundname,
sizeof(soundname),
"weapons/machgf%ib.wav", (rand() % 5) + 1);
326 Com_sprintf(soundname,
sizeof(soundname),
"weapons/machgf%ib.wav", (rand() % 5) + 1);
Referenced by CL_ParseServerMessage().
◆ CL_ParseMuzzleFlash2()
◆ CL_ParseServerMessage()
◆ CL_ParseTEnt()
Definition at line 694 of file cl_tent.c.
974 ex->
light = 100 + (rand()%75);
1017 else if (dir[1] > 0)
1019 else if (dir[1] < 0)
1153 dir[0]=0; dir[1]=0; dir[2]=1;
Referenced by CL_ParseServerMessage().
◆ CL_ParticleEffect()
◆ CL_ParticleEffect2()
◆ CL_ParticleEffect3()
◆ CL_ParticleSmokeEffect()
◆ CL_ParticleSteamEffect()
◆ CL_ParticleSteamEffect2()
Definition at line 792 of file cl_newfx.c.
807 for (
i=0 ;
i<
self->count ;
i++)
817 p->
color =
self->color + (rand()&7);
819 for (
j=0 ;
j<3 ;
j++)
821 p->
org[
j] =
self->org[
j] +
self->magnitude*0.1*
crand();
825 d =
crand()*
self->magnitude/3;
827 d =
crand()*
self->magnitude/3;
836 self->nextthink +=
self->thinkinterval;
Referenced by CL_ParseSteam().
◆ CL_PingServers_f()
◆ CL_PredictMove()
◆ CL_PredictMovement()
◆ CL_PrepRefresh()
◆ CL_QuadTrail()
◆ CL_Quit_f()
◆ CL_RailTrail()
Definition at line 1613 of file cl_fx.c.
1633 for (
i=0 ;
i<len ;
i++)
1655 p->
color = clr + (rand()&7);
1656 for (
j=0 ;
j<3 ;
j++)
1658 p->
org[
j] = move[
j] + dir[
j]*3;
1659 p->
vel[
j] = dir[
j]*6;
1685 p->
color = 0x0 + rand()&15;
1687 for (
j=0 ;
j<3 ;
j++)
Referenced by CL_ParseTEnt().
◆ CL_ReadFromServer()
◆ CL_ReadPackets()
◆ CL_Record_f()
Definition at line 162 of file cl_main.c.
186 Com_Printf (
"You must be in a level to record.\n");
211 SZ_Init (&buf, buf_data,
sizeof(buf_data));
244 memset (&nullstate, 0,
sizeof(nullstate));
Referenced by CL_InitLocal().
◆ CL_RegisterSounds()
◆ CL_RegisterTEntModels()
◆ CL_RegisterTEntSounds()
◆ CL_RequestNextDownload()
◆ CL_RocketTrail()
◆ CL_RunDLights()
◆ CL_RunLightStyles()
◆ CL_RunParticles()
◆ CL_SendCmd()
Definition at line 460 of file cl_input.c.
469 memset( &buf, 0,
sizeof(buf) );
501 SZ_Init (&buf, data,
sizeof(data));
527 memset (&nullcmd, 0,
sizeof(nullcmd));
542 buf.
data + checksumIndex + 1, buf.
cursize - checksumIndex - 1,
Referenced by CL_SendCommand().
◆ CL_SendMove()
◆ CL_SetLightstyle()
◆ CL_SmokeAndFlash()
◆ CL_SmokeTrail()
Definition at line 187 of file cl_newfx.c.
218 p->
color = colorStart + (rand() % colorRun);
219 for (
j=0 ;
j<3 ;
j++)
◆ CL_Snd_Restart_f()
◆ CL_Stop_f()
◆ CL_TagTrail()
◆ CL_TeleporterParticles()
◆ CL_Tracker_Explode()
◆ CL_Tracker_Shell()
◆ CL_TrackerTrail()
◆ CL_TrapParticles()
Definition at line 1998 of file cl_fx.c.
2038 for (
j=0 ;
j<3 ;
j++)
2063 for (
i=-2 ;
i<=2 ;
i+=4)
2064 for (
j=-2 ;
j<=2 ;
j+=4)
2065 for (k=-2 ; k<=4 ; k+=4)
2075 p->
color = 0xe0 + (rand()&3);
2078 p->
alphavel = -1.0 / (0.3 + (rand()&7) * 0.02);
2080 p->
org[0] = org[0] +
i + ((rand()&23) *
crand());
2081 p->
org[1] = org[1] +
j + ((rand()&23) *
crand());
2082 p->
org[2] = org[2] + k + ((rand()&23) *
crand());
2089 vel = 50 + rand()&63;
Referenced by CL_AddPacketEntities().
◆ CL_Widowbeamout()
Definition at line 961 of file cl_newfx.c.
966 static int colortable[4] = {2*8,13*8,21*8,18*8};
969 ratio = 1.0 - (((float)self->
endtime - (
float)
cl.
time)/2100.0);
985 p->
color = colortable[rand()&3];
Referenced by CL_ParseWidow().
◆ CL_WidowSplash()
Definition at line 1033 of file cl_newfx.c.
1035 static int colortable[4] = {2*8,13*8,21*8,18*8};
1040 for (
i=0 ;
i<256 ;
i++)
1050 p->
color = colortable[rand()&3];
Referenced by CL_ParseTEnt().
◆ CL_WriteDemoMessage()
◆ CL_WriteToServer()
◆ DrawAltString()
◆ DrawString()
◆ IN_Accumulate()
◆ IN_CenterView()
◆ Key_KeynumToString()
char* Key_KeynumToString |
( |
int |
keynum | ) |
|
◆ M_AddToServerList()
◆ M_Draw()
◆ M_ForceMenuOff()
◆ M_Init()
◆ M_Keydown()
◆ M_Menu_Main_f()
◆ SHOWNET()
◆ SmokeAndFlash()
◆ V_AddEntity()
◆ V_AddLight()
void V_AddLight |
( |
vec3_t |
org, |
|
|
float |
intensity, |
|
|
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
| |
◆ V_AddLightStyle()
void V_AddLightStyle |
( |
int |
style, |
|
|
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
| |
◆ V_AddParticle()
◆ V_Init()
◆ V_RenderView()
void V_RenderView |
( |
float |
stereo_separation | ) |
|
◆ cl
Definition at line 91 of file cl_main.c.
Referenced by CheckDMRules(), CL_AddBeams(), CL_AddEntities(), CL_AddExplosions(), CL_AddLasers(), CL_AddNetgraph(), CL_AddPacketEntities(), CL_AddParticles(), CL_AddPlayerBeams(), CL_AddViewWeapon(), CL_AdjustAngles(), CL_AllocDlight(), CL_AllocExplosion(), CL_BaseMove(), CL_BFGExplosionParticles(), CL_BfgParticles(), CL_BigTeleportParticles(), CL_BlasterParticles(), CL_BlasterParticles2(), CL_BlasterTrail(), CL_BlasterTrail2(), CL_BubbleTrail(), CL_BubbleTrail2(), CL_CalcViewValues(), CL_CheckPredictionError(), CL_ClampPitch(), CL_ClearState(), CL_ClipMoveToEntities(), CL_ColorExplosionParticles(), CL_ColorFlash(), CL_DebugTrail(), CL_DeltaEntity(), CL_DiminishingTrail(), CL_Disconnect(), CL_DrawInventory(), CL_ExplosionParticles(), CL_FinishMove(), CL_FixCvarCheats(), CL_FlagTrail(), CL_FlameEffects(), CL_Flashlight(), CL_FlyEffect(), CL_FlyParticles(), CL_ForceWall(), CL_Frame(), CL_GenericParticleEffect(), CL_Heatbeam(), CL_IonripperTrail(), CL_ItemRespawnParticles(), CL_LogoutEffect(), CL_MonsterPlasma_Shell(), CL_NewDlight(), CL_Nukeblast(), CL_ParseBeam(), CL_ParseBeam2(), CL_ParseClientinfo(), CL_ParseConfigString(), CL_ParseFrame(), CL_ParseInventory(), CL_ParseLaser(), CL_ParseLightning(), CL_ParseMuzzleFlash(), CL_ParseMuzzleFlash2(), CL_ParseNuke(), CL_ParsePacketEntities(), CL_ParsePlayerBeam(), CL_ParsePlayerstate(), CL_ParseServerData(), CL_ParseServerMessage(), CL_ParseStartSoundPacket(), CL_ParseSteam(), CL_ParseTEnt(), CL_ParseWidow(), CL_ParticleEffect(), CL_ParticleEffect2(), CL_ParticleEffect3(), CL_ParticleSmokeEffect(), CL_ParticleSteamEffect(), CL_ParticleSteamEffect2(), CL_PMpointcontents(), CL_Precache_f(), CL_PredictMovement(), CL_PrepRefresh(), CL_ProcessSustain(), CL_QuadTrail(), CL_RailTrail(), CL_ReadPackets(), CL_Record_f(), CL_RegisterSounds(), CL_RequestNextDownload(), CL_RocketTrail(), CL_RunDLights(), CL_RunLightStyles(), CL_SendCmd(), CL_SetLightstyle(), CL_Skins_f(), CL_SmokeAndFlash(), CL_SmokeTrail(), CL_TagTrail(), CL_TeleporterParticles(), CL_TeleportParticles(), CL_Tracker_Explode(), CL_Tracker_Shell(), CL_TrackerTrail(), CL_TrapParticles(), CL_Widowbeamout(), CL_WidowSplash(), Cmd_Inven_f(), Cmd_Say_f(), Cmd_WeapLast_f(), Cmd_WeapNext_f(), Cmd_WeapPrev_f(), Con_ToggleConsole_f(), ConsoleFunc(), DeathmatchScoreboardMessage(), G_CheckChaseStats(), G_SetSpectatorStats(), Huff1TableInit(), IN_CenterView(), IN_Frame(), IN_JoyMove(), IN_MouseMove(), Key_Event(), M_Draw(), Miniaudio_Update(), Qcommon_Frame(), S_AddLoopSounds(), S_PickChannel(), S_Play(), S_RegisterSexedModel(), S_RegisterSexedSound(), S_Spatialize(), S_StartLocalSound(), S_StartSound(), SCR_BeginLoadingPlaque(), SCR_CenterPrint(), SCR_DrawCinematic(), SCR_DrawConsole(), SCR_DrawLayout(), SCR_DrawStats(), SCR_ExecuteLayoutString(), SCR_FinishCinematic(), SCR_PlayCinematic(), SCR_ReadNextFrame(), SCR_RunCinematic(), SCR_StopCinematic(), SCR_TileClear(), SCR_TimeRefresh_f(), SCR_UpdateScreen(), SelectNextItem(), SelectPrevItem(), StartGame(), SV_BroadcastPrintf(), SV_CalcPings(), SV_CheckTimeouts(), SV_ClientPrintf(), SV_ClientThink(), SV_ExecuteClientMessage(), SV_FinalMessage(), SV_GameMap_f(), SV_GiveMsec(), SV_ReadPackets(), SV_SetPlayer(), SV_Status_f(), SV_StatusString(), SV_UserinfoChanged(), SVC_DirectConnect(), V_RenderView(), V_TestEntities(), V_TestLights(), V_TestParticles(), V_Viewpos_f(), ValidateSelectedItem(), VID_CheckChanges(), and VID_NewWindow().
◆ cl_add_blend
◆ cl_add_entities
◆ cl_add_lights
◆ cl_add_particles
◆ cl_anglespeedkey
◆ cl_autoskins
◆ cl_dlights
◆ cl_entities
Definition at line 93 of file cl_main.c.
Referenced by CL_AddPacketEntities(), CL_CalcViewValues(), CL_ClearState(), CL_DeltaEntity(), CL_GetEntitySoundOrigin(), CL_ParseBaseline(), CL_ParseMuzzleFlash(), CL_ParseMuzzleFlash2(), CL_ParsePacketEntities(), CL_Record_f(), and S_StartSound().
◆ cl_footsteps
◆ cl_forwardspeed
◆ cl_gun
◆ cl_lightlevel
◆ cl_noskins
◆ cl_parse_entities
◆ cl_paused
◆ cl_pitchspeed
◆ cl_predict
◆ cl_run
◆ cl_showclamp
◆ cl_showmiss
◆ cl_shownet
◆ cl_sidespeed
◆ cl_stereo
◆ cl_stereo_separation
◆ cl_timedemo
◆ cl_upspeed
◆ cl_vwep
◆ cl_weaponmodels
◆ cl_yawspeed
◆ cls
Definition at line 90 of file cl_main.c.
Referenced by CL_AddEntities(), CL_AddNetgraph(), CL_AdjustAngles(), CL_CalcViewValues(), CL_Changing_f(), CL_CheckForResend(), CL_CheckOrDownloadFile(), CL_CheckPredictionError(), CL_ClearState(), CL_Connect_f(), CL_ConnectionlessPacket(), CL_Disconnect(), CL_Download_f(), CL_DrawInventory(), CL_Drop(), CL_FinishMove(), CL_ForwardToServer_f(), CL_Frame(), CL_Init(), CL_InitLocal(), CL_ParseDownload(), CL_ParseFrame(), CL_ParseServerData(), CL_ParseServerMessage(), CL_PredictMovement(), CL_Rcon_f(), CL_ReadPackets(), CL_Reconnect_f(), CL_Record_f(), CL_RequestNextDownload(), CL_RunDLights(), CL_SendCmd(), CL_SendConnectPacket(), CL_Stop_f(), CL_WriteConfiguration(), CL_WriteDemoMessage(), Cmd_ForwardToServer(), Con_DrawConsole(), Con_DrawInput(), Con_DrawNotify(), Con_MessageMode2_f(), Con_MessageMode_f(), Con_Print(), Con_ToggleChat_f(), Con_ToggleConsole_f(), ConsoleFunc(), IN_Frame(), IN_JoyMove(), Key_Console(), Key_Event(), Key_Message(), M_Credits_MenuDraw(), M_Draw(), M_ForceMenuOff(), M_Main_Draw(), M_Menu_Credits_f(), M_PushMenu(), M_Quit_Key(), PlayerConfig_MenuDraw(), S_AddLoopSounds(), S_SpatializeOrigin(), S_Update(), SCR_BeginLoadingPlaque(), SCR_CheckDrawCenterString(), SCR_DrawCinematic(), SCR_DrawConsole(), SCR_DrawNet(), SCR_EndLoadingPlaque(), SCR_ExecuteLayoutString(), SCR_FinishCinematic(), SCR_PlayCinematic(), SCR_RunCinematic(), SCR_RunConsole(), SCR_TimeRefresh_f(), SCR_UpdateScreen(), StartGame(), V_RenderView(), and VID_CheckChanges().
◆ freelook
◆ gun_frame
◆ gun_model
◆ in_klook
◆ in_mlook
◆ in_speed
◆ in_strafe
◆ lookspring
◆ lookstrafe
◆ m_forward
◆ m_pitch
◆ m_side
◆ m_yaw
◆ net_from
◆ net_message
◆ num_cl_weaponmodels
◆ re
◆ sensitivity
◆ svc_strings
#define MZ2_WIDOW_BLASTER_SWEEP3
#define MZ2_CARRIER_MACHINEGUN_R1
struct sfx_s * cl_sfx_ric2
struct model_s * cl_mod_monster_heatbeam
#define MZ2_WIDOW_BLASTER_70L
#define MZ2_MAKRON_BLASTER_16
struct image_s *(* RegisterSkin)(char *name)
struct model_s * cl_mod_parasite_segment
#define MZ2_WIDOW_PLASMABEAM
#define MZ2_CARRIER_MACHINEGUN_L1
void SCR_EndLoadingPlaque(void)
#define MZ2_WIDOW_BLASTER_SWEEP4
struct sfx_s * cl_sfx_spark5
#define MZ2_BOSS2_MACHINEGUN_R4
#define MZ2_WIDOW_BLASTER_SWEEP1
explosion_t * CL_AllocExplosion(void)
#define MZ2_SUPERTANK_ROCKET_2
int CL_ParsePlayerBeam(struct model_s *model)
void CL_AddExplosions(void)
#define MZ2_SOLDIER_SHOTGUN_4
void CL_WidowSplash(vec3_t org)
void CL_ParseInventory(void)
#define MZ2_BOSS2_ROCKET_1
cl_sustain_t cl_sustains[MAX_SUSTAINS]
#define MZ2_TANK_MACHINEGUN_10
void CL_RailTrail(vec3_t start, vec3_t end)
frame_t frames[UPDATE_BACKUP]
int incoming_acknowledged
void MSG_WriteDeltaUsercmd(sizebuf_t *buf, usercmd_t *from, usercmd_t *cmd)
@ TE_GRENADE_EXPLOSION_WATER
CONST PIXELFORMATDESCRIPTOR int
void CL_ParseClientinfo(int player)
void CL_BlasterParticles(vec3_t org, vec3_t dir)
#define VectorSubtract(a, b, c)
#define MZ2_SOLDIER_MACHINEGUN_3
void CL_ClearLightStyles(void)
void V_TestParticles(void)
#define MZ2_TANK_MACHINEGUN_17
#define MZ2_WIDOW_BLASTER_SWEEP7
#define MZ2_WIDOW2_BEAM_SWEEP_10
void MakeNormalVectors(vec3_t forward, vec3_t right, vec3_t up)
void CL_ParticleEffect2(vec3_t org, vec3_t dir, int color, int count)
#define MZ2_TANK_ROCKET_3
void CL_AddEntities(void)
void CL_DiminishingTrail(vec3_t start, vec3_t end, centity_t *old, int flags)
#define MZ2_TANK_BLASTER_2
void CL_RegisterSounds(void)
#define MZ2_ACTOR_MACHINEGUN_1
void CL_ForceWall(vec3_t start, vec3_t end, int color)
#define MZ2_TURRET_ROCKET
#define MZ2_TANK_MACHINEGUN_8
#define MZ2_WIDOW2_BEAM_SWEEP_6
#define MZ2_BOSS2_MACHINEGUN_R1
int entitycmpfnc(const entity_t *a, const entity_t *b)
#define MZ2_INFANTRY_MACHINEGUN_4
#define MZ2_MEDIC_BLASTER_2
qboolean CL_CheckOrDownloadFile(char *filename)
#define MZ2_JORG_MACHINEGUN_R1
@ TE_ROCKET_EXPLOSION_WATER
cdlight_t * CL_AllocDlight(int key)
#define MZ2_BOSS2_MACHINEGUN_L4
struct sfx_s * cl_sfx_grenexp
#define PMF_NO_PREDICTION
#define MZ2_GUNNER_MACHINEGUN_1
#define MZ2_TANK_MACHINEGUN_15
void CL_WriteDemoMessage(void)
#define MZ2_SOLDIER_BLASTER_5
int MSG_ReadShort(sizebuf_t *msg_read)
mapsurface_t map_surfaces[MAX_MAP_TEXINFO]
#define MZ2_BOSS2_ROCKET_3
#define MZ2_GUNNER_GRENADE_3
#define MZ2_TURRET_BLASTER
#define MZ2_WIDOW_BLASTER_SWEEP2
#define MZ2_WIDOW_BLASTER_80
void CL_ParseDownload(void)
struct model_s * cl_mod_explo4
#define MZ2_JORG_MACHINEGUN_L4
void Inv_DrawString(int x, int y, char *string)
void CL_TeleportParticles(vec3_t org)
int CL_ParseBeam2(struct model_s *model)
#define MZ2_WIDOW2_BEAMER_4
#define MZ2_WIDOW_BLASTER
struct image_s *(* RegisterPic)(char *name)
void(* DrawFill)(int x, int y, int w, int h, int c)
#define MZ2_WIDOW_BLASTER_30L
char * Cvar_Userinfo(void)
cvar_t * allow_download_maps
#define MZ2_SOLDIER_MACHINEGUN_6
void Miniaudio_Play(int track, qboolean looping)
void CL_ParticleSmokeEffect(vec3_t org, vec3_t dir, int color, int count, int magnitude)
explosion_t cl_explosions[MAX_EXPLOSIONS]
void COM_StripExtension(char *in, char *out)
#define MZ2_SOLDIER_SHOTGUN_8
void CL_ParseStartSoundPacket(void)
void VectorScale(vec3_t in, vec_t scale, vec3_t out)
void CL_RegisterTEntSounds(void)
#define MZ2_SOLDIER_MACHINEGUN_1
void CL_ParseConfigString(void)
#define MZ2_WIDOW2_BEAM_SWEEP_11
#define MZ2_WIDOW2_BEAM_SWEEP_4
#define MZ2_TANK_MACHINEGUN_12
#define MZ2_MAKRON_BLASTER_9
struct cmodel_s * model_clip[MAX_MODELS]
#define MZ2_GUNNER_GRENADE_4
#define MZ2_SOLDIER_SHOTGUN_6
#define MZ2_INFANTRY_MACHINEGUN_3
#define MZ2_INFANTRY_MACHINEGUN_7
#define MZ2_WIDOW2_BEAM_SWEEP_1
void MSG_WriteLong(sizebuf_t *sb, int c)
#define MZ2_JORG_MACHINEGUN_R6
void CL_DebugTrail(vec3_t start, vec3_t end)
char * NET_AdrToString(netadr_t a)
#define MZ2_TANK_ROCKET_1
#define MZ2_WIDOW_BLASTER_SWEEP5
void SZ_Init(sizebuf_t *buf, byte *data, int length)
struct sfx_s * cl_sfx_disrexp
#define MZ2_SOLDIER_MACHINEGUN_7
#define MZ2_SOLDIER_SHOTGUN_1
static byte splash_color[]
void SCR_DirtyScreen(void)
struct sfx_s * sound_precache[MAX_SOUNDS]
#define STAT_SELECTED_ITEM
#define MZ2_TANK_MACHINEGUN_13
#define MZ2_WIDOW_DISRUPTOR
#define MZ2_INFANTRY_MACHINEGUN_8
cparticle_t * free_particles
#define MZ2_WIDOW_BLASTER_90
#define MZ2_WIDOW2_BEAMER_2
cvar_t * Cvar_Get(char *var_name, char *var_value, int flags)
void FS_CreatePath(char *path)
#define MZ2_HOVER_BLASTER_1
#define MZ2_BOSS2_MACHINEGUN_L3
void CL_ParsePlayerstate(frame_t *oldframe, frame_t *newframe)
void CL_ClearParticles(void)
#define MZ2_TANK_MACHINEGUN_9
void SZ_Clear(sizebuf_t *buf)
void CL_CalcViewValues(void)
#define MZ2_TANK_MACHINEGUN_14
byte areabits[MAX_MAP_AREAS/8]
int CL_ParseBeam(struct model_s *model)
#define MZ2_MAKRON_BLASTER_2
void vectoangles2(vec3_t value1, vec3_t angles)
clientinfo_t clientinfo[MAX_CLIENTS]
void(* EndRegistration)(void)
void MakeNormalVectors(vec3_t forward, vec3_t right, vec3_t up)
#define MZ2_INFANTRY_MACHINEGUN_6
qboolean NET_StringToAdr(char *s, netadr_t *a)
#define MZ2_SUPERTANK_ROCKET_1
#define MZ2_MEDIC_BLASTER_1
char * va(char *format,...)
#define MZ_BLUEHYPERBLASTER
static vec3_t avelocities[NUMVERTEXNORMALS]
#define MZ2_WIDOW_BLASTER_SWEEP6
#define MZ2_INFANTRY_MACHINEGUN_2
#define MZ2_MAKRON_BLASTER_7
void SCR_DrawCrosshair(void)
void AngleVectors(vec3_t angles, vec3_t forward, vec3_t right, vec3_t up)
struct sfx_s * cl_sfx_watrexp
void SCR_UpdateScreen(void)
cparticle_t * active_particles
#define MZ2_WIDOW_BLASTER_20L
void CL_FlyParticles(vec3_t origin, int count)
#define MZ2_TANK_MACHINEGUN_1
#define MZ2_INFANTRY_MACHINEGUN_11
void(* DrawFadeScreen)(void)
vec3_t bytedirs[NUMVERTEXNORMALS]
vec3_t monster_flash_offset[]
trace_t CL_PMTrace(vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end)
struct model_s * cl_mod_bfg_explo
qboolean userinfo_modified
#define MZ2_JORG_MACHINEGUN_R4
#define MZ2_WIDOW_BLASTER_40L
#define MZ2_GUNNER_MACHINEGUN_2
entity_t r_entities[MAX_ENTITIES]
#define MZ2_SOLDIER_SHOTGUN_3
trace_t(* trace)(vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end)
#define MZ2_TANK_MACHINEGUN_16
#define MZ2_CARRIER_ROCKET_1
qboolean CDAudio_Play(int track, qboolean looping)
#define MZ2_WIDOW2_BEAM_SWEEP_7
#define MZ2_JORG_MACHINEGUN_L2
struct sfx_s * cl_sfx_lightning
struct model_s * model_draw[MAX_MODELS]
sfx_t * S_RegisterSound(char *name)
#define MZ2_INFANTRY_MACHINEGUN_10
void CL_SmokeAndFlash(vec3_t origin)
#define MZ2_CHICK_ROCKET_1
#define MZ2_GUNNER_MACHINEGUN_6
#define MZ2_WIDOW_BLASTER_30
#define MZ2_WIDOW2_BEAM_SWEEP_2
#define MZ2_TANK_MACHINEGUN_4
struct sfx_s * cl_sfx_lashit
#define MZ2_SUPERTANK_ROCKET_3
#define MZ2_WIDOW_BLASTER_60
void CL_ClearDlights(void)
byte COM_BlockSequenceCRCByte(byte *base, int length, int sequence)
#define MZ2_INFANTRY_MACHINEGUN_5
void CL_ParseBaseline(void)
struct sfx_s * cl_sfx_railg
void S_EndRegistration(void)
#define MZ2_WIDOW_BLASTER_50L
void MSG_ReadDir(sizebuf_t *sb, vec3_t dir)
void CL_PrepRefresh(void)
void CL_ParseMuzzleFlash2(void)
vec_t VectorLength(vec3_t v)
void Sys_SendKeyEvents(void)
beam_t cl_beams[MAX_BEAMS]
int CL_ParseLightning(struct model_s *model)
struct model_s * cl_mod_flash
#define MZ2_WIDOW2_BEAMER_1
void FS_ExecAutoexec(void)
void Cmd_AddCommand(char *cmd_name, xcommand_t function)
#define MZ2_SUPERTANK_MACHINEGUN_2
#define MZ2_STALKER_BLASTER
void CL_Flashlight(int ent, vec3_t pos)
char * Key_KeynumToString(int keynum)
void V_AddParticle(vec3_t org, int color, float alpha)
#define MZ2_WIDOW2_BEAMER_3
#define MZ2_BOSS2_MACHINEGUN_L1
void CL_TeleportParticles(vec3_t org)
int FS_LoadFile(char *path, void **buffer)
struct model_s * cl_mod_heatbeam
#define MZ2_MAKRON_BLASTER_17
struct sfx_s * cl_sfx_footsteps[4]
#define MZ2_MAKRON_BLASTER_15
#define MZ2_TANK_MACHINEGUN_6
#define MZ2_MAKRON_BLASTER_13
void Cbuf_AddText(char *text)
void SCR_DebugGraph(float value, int color)
usercmd_t cmds[CMD_BACKUP]
void CL_AddLightStyles(void)
int MSG_ReadByte(sizebuf_t *msg_read)
cvar_t * allow_download_players
#define MZ2_SOLDIER_BLASTER_8
@ svc_deltapacketentities
void CL_ColorFlash(vec3_t pos, int ent, int intensity, float r, float g, float b)
#define MZ2_BOSS2_MACHINEGUN_R2
void CL_AddPacketEntities(frame_t *frame)
cvar_t * cl_add_particles
struct model_s * cl_mod_smoke
#define MZ2_WIDOW_BLASTER_SWEEP9
vec_t VectorNormalize(vec3_t v)
void V_TestEntities(void)
void MSG_WriteString(sizebuf_t *sb, char *s)
#define MZ2_GUNNER_MACHINEGUN_3
void CL_ParseMuzzleFlash(void)
cvar_t * cl_testparticles
float CalcFov(float fov_x, float width, float height)
#define MZ2_SOLDIER_SHOTGUN_7
void(* CinematicSetPalette)(const unsigned char *palette)
#define MZ2_CARRIER_MACHINEGUN_R2
void MSG_WriteShort(sizebuf_t *sb, int c)
#define MZ2_MAKRON_BLASTER_10
struct model_s * cl_mod_parasite_tip
#define MZ2_WIDOW_BLASTER_100
char cl_weaponmodels[MAX_CLIENTWEAPONMODELS][MAX_QPATH]
void MSG_WriteByte(sizebuf_t *sb, int c)
void V_AddLightStyle(int style, float r, float g, float b)
#define MZ2_GUNNER_MACHINEGUN_4
void Com_Error(int code, char *fmt,...)
#define MZ2_TANK_MACHINEGUN_3
void CL_ConnectionlessPacket(void)
#define MZ2_BOSS2_ROCKET_2
void CL_ParseServerMessage(void)
#define MZ2_JORG_MACHINEGUN_L6
#define MAX_CLIENTWEAPONMODELS
cdlight_t cl_dlights[MAX_DLIGHTS]
void Con_ClearNotify(void)
qboolean Netchan_Process(netchan_t *chan, sizebuf_t *msg)
void(* DrawPic)(int x, int y, char *name)
clientinfo_t baseclientinfo
GLfloat GLfloat GLfloat alpha
#define MZ2_MAKRON_BLASTER_8
#define MZ2_SOLDIER_BLASTER_6
cvar_t * allow_download_models
struct model_s *(* RegisterModel)(char *name)
cmodel_t * CM_InlineModel(char *name)
#define MZ2_SOLDIER_BLASTER_4
float MSG_ReadCoord(sizebuf_t *msg_read)
int Q_stricmp(char *s1, char *s2)
#define MZ2_GUNNER_MACHINEGUN_5
#define MZ2_CARRIER_RAILGUN
unsigned predicted_step_time
void SetStringHighBit(char *s)
particle_t r_particles[MAX_PARTICLES]
#define MAX_CONFIGSTRINGS
#define MZ2_WIDOW_BLASTER_20
#define MZ2_WIDOW_BLASTER_40
#define MZ2_FLOAT_BLASTER_1
#define MZ2_TANK_ROCKET_2
struct model_s * cl_mod_powerscreen
struct image_s * image_precache[MAX_IMAGES]
void NET_Config(qboolean multiplayer)
#define MZ2_SOLDIER_BLASTER_7
void CL_ColorExplosionParticles(vec3_t org, int color, int run)
void CL_ParseLaser(int colors)
void(* BeginRegistration)(char *map)
void CL_ClearEffects(void)
void CL_FixUpGender(void)
#define MZ2_SOLDIER_BLASTER_3
#define MZ2_SOLDIER_BLASTER_1
#define MZ2_MAKRON_BLASTER_14
#define VectorAdd(a, b, c)
#define MZ2_GUNNER_MACHINEGUN_7
void SCR_AddDirtyPoint(int x, int y)
#define MZ2_BOSS2_MACHINEGUN_L5
#define MZ2_TANK_BLASTER_3
player_state_t playerstate
void CL_ParseServerData(void)
#define MAX_PARSE_ENTITIES
short predicted_origins[CMD_BACKUP][3]
struct model_s * weaponmodel[MAX_CLIENTWEAPONMODELS]
#define MZ2_MAKRON_BLASTER_1
#define MZ2_WIDOW2_BEAM_SWEEP_8
#define MZ2_JORG_MACHINEGUN_R2
void S_BeginRegistration(void)
lightstyle_t * lightstyles
cmodel_t * CM_LoadMap(char *name, qboolean clientload, unsigned *checksum)
#define MZ2_SOLDIER_MACHINEGUN_8
void CL_CheckPredictionError(void)
void(* EndWorldRenderpass)(void)
#define MZ2_WIDOW_BLASTER_SWEEP8
struct model_s * cl_mod_explo4_big
#define MZ2_WIDOW_BLASTER_0
#define MZ2_WIDOW_BLASTER_10L
int MSG_ReadLong(sizebuf_t *msg_read)
#define MZ2_MAKRON_BLASTER_5
#define MZ2_INFANTRY_MACHINEGUN_13
void(* SetSky)(char *name, float rotate, vec3_t axis)
#define MZ2_MAKRON_BLASTER_6
#define MZ2_JORG_MACHINEGUN_L3
void SCR_FinishCinematic(void)
#define MZ2_BOSS2_MACHINEGUN_R5
char * MSG_ReadString(sizebuf_t *msg_read)
qboolean NET_GetPacket(netsrc_t sock, netadr_t *net_from, sizebuf_t *net_message)
#define MZ2_BOSS2_MACHINEGUN_R3
#define MZ2_INFANTRY_MACHINEGUN_1
void CL_ItemRespawnParticles(vec3_t org)
#define MZ2_TANK_MACHINEGUN_2
void CL_AddNetgraph(void)
void MSG_ReadData(sizebuf_t *msg_read, void *data, int len)
#define MZ2_DAEDALUS_BLASTER
#define MZ2_TANK_MACHINEGUN_19
struct sfx_s * cl_sfx_footsteps[4]
void VectorMA(vec3_t veca, float scale, vec3_t vecb, vec3_t vecc)
struct model_s * cl_mod_grapple_cable
void SCR_CenterPrint(char *str)
#define MZ2_WIDOW2_BEAMER_5
#define MZ2_SUPERTANK_MACHINEGUN_6
#define MZ2_BOSS2_MACHINEGUN_L2
#define MZ2_INFANTRY_MACHINEGUN_12
#define MZ2_TANK_MACHINEGUN_7
static const char * env_suf[6]
char configstrings[MAX_CONFIGSTRINGS][MAX_QPATH]
void Netchan_Transmit(netchan_t *chan, int length, byte *data)
void CL_FireEntityEvents(frame_t *frame)
byte net_message_buffer[MAX_MSGLEN]
#define MZ2_GUNNER_GRENADE_2
void Netchan_OutOfBandPrint(int net_socket, netadr_t adr, char *format,...)
cvar_t * Cvar_Set(char *var_name, char *value)
#define MZ2_WIDOW_BLASTER_70
void Com_DPrintf(char *fmt,...)
void Pmove(pmove_t *pmove)
void CL_LogoutEffect(vec3_t org, int type)
#define MZ2_INFANTRY_MACHINEGUN_9
void S_StopAllSounds(void)
struct sfx_s * cl_sfx_ric1
#define MZ2_SOLDIER_BLASTER_2
struct model_s * cl_mod_explode
void CL_BubbleTrail2(vec3_t start, vec3_t end, int dist)
void FS_FreeFile(void *buffer)
#define MZ2_TANK_MACHINEGUN_5
void CL_ParsePacketEntities(frame_t *oldframe, frame_t *newframe)
#define MZ2_TANK_MACHINEGUN_11
void MSG_ReadPos(sizebuf_t *msg_read, vec3_t pos)
char downloadname[MAX_OSPATH]
#define MZ2_WIDOW2_BEAM_SWEEP_3
void CL_RegisterTEntModels(void)
#define MZ2_WIDOW_BLASTER_10
cparticle_t * active_particles
#define MZ2_WIDOW2_BEAM_SWEEP_9
void(* DrawChar)(int x, int y, int c)
#define MZ2_TURRET_MACHINEGUN
void S_StartLocalSound(char *sound)
#define MZ2_SUPERTANK_MACHINEGUN_3
GLdouble GLdouble GLdouble top
void Com_Printf(char *fmt,...)
void CL_SetLightstyle(int i)
qboolean NET_CompareAdr(netadr_t a, netadr_t b)
#define MZ2_GUNNER_GRENADE_1
struct sfx_s * cl_sfx_ric3
#define MZ2_JORG_MACHINEGUN_L1
#define MZ2_WIDOW_BLASTER_60L
int Sys_Milliseconds(void)
float MSG_ReadAngle(sizebuf_t *msg_read)
#define MZ2_WIDOW2_BEAM_SWEEP_5
#define MZ2_CARRIER_MACHINEGUN_L2
int CL_PMpointcontents(vec3_t point)
void Key_ClearStates(void)
#define MZ2_SUPERTANK_MACHINEGUN_5
void CL_BlasterParticles2(vec3_t org, vec3_t dir, unsigned int color)
cvar_t * allow_download_sounds
char * Cvar_VariableString(char *var_name)
void CL_BigTeleportParticles(vec3_t org)
void MSG_WriteDeltaEntity(entity_state_t *from, entity_state_t *to, sizebuf_t *msg, qboolean force, qboolean newentity)
void CL_BubbleTrail(vec3_t start, vec3_t end)
#define MZ2_SUPERTANK_MACHINEGUN_1
void CL_BFGExplosionParticles(vec3_t org)
#define MZ2_FLYER_BLASTER_1
dlight_t r_dlights[MAX_DLIGHTS]
void CL_LoadClientinfo(clientinfo_t *ci, char *s)
#define MZ2_WIDOW_BLASTER_50
void CL_AddParticles(void)
lightstyle_t r_lightstyles[MAX_LIGHTSTYLES]
char downloadtempname[MAX_OSPATH]
void Miniaudio_Init(void)
cparticle_t * free_particles
void CL_ParticleEffect3(vec3_t org, vec3_t dir, int color, int count)
int(* pointcontents)(vec3_t point)
struct sfx_s * cl_sfx_spark6
centity_t cl_entities[MAX_EDICTS]
#define MZ2_SUPERTANK_MACHINEGUN_4
#define MZ2_SOLDIER_MACHINEGUN_4
void CL_DownloadFileName(char *dest, int destlen, char *fn)
#define MZ2_SOLDIER_SHOTGUN_2
clightstyle_t cl_lightstyle[MAX_LIGHTSTYLES]
#define MZ2_TANK_MACHINEGUN_18
#define MZ2_MAKRON_BLASTER_4
#define MZ2_GLADIATOR_RAILGUN_1
void Com_sprintf(char *dest, int size, char *fmt,...)
#define MZ2_JORG_MACHINEGUN_R5
beam_t cl_playerbeams[MAX_BEAMS]
#define MZ2_JORG_MACHINEGUN_L5
#define MZ2_TANK_BLASTER_1
void(* RenderFrame)(refdef_t *fd)
void CL_ParticleEffect(vec3_t org, vec3_t dir, int color, int count)
#define MZ2_SOLDIER_SHOTGUN_5
void CL_AddPlayerBeams(void)
#define MZ2_JORG_MACHINEGUN_R3
struct model_s * cl_mod_lightning
#define MZ2_MAKRON_BLASTER_3
#define MZ2_SOLDIER_MACHINEGUN_2
#define MZ2_BOSS2_ROCKET_4
#define MZ2_GUNNER_MACHINEGUN_8
struct sfx_s * cl_sfx_rockexp
#define MZ2_MAKRON_BLASTER_11
void S_StartSound(vec3_t origin, int entnum, int entchannel, sfx_t *sfx, float fvol, float attenuation, float timeofs)
void CL_ParticleSteamEffect(vec3_t org, vec3_t dir, int color, int count, int magnitude)
#define MZ2_FLYER_BLASTER_2
void SCR_StopCinematic(void)
void V_AddLight(vec3_t org, float intensity, float r, float g, float b)
#define MZ2_MAKRON_BLASTER_12
struct sfx_s * cl_sfx_spark7
#define MZ2_SOLDIER_MACHINEGUN_5
laser_t cl_lasers[MAX_LASERS]
void CL_ExplosionParticles(vec3_t org)