icculus quake2 doxygen
1.0 dev
|
|
#include <math.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.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"
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 |
◆ INT
◆ 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 204 of file client.h.
◆ dltype_t
Enumerator |
---|
dl_none | |
dl_model | |
dl_sound | |
dl_skin | |
dl_single | |
Definition at line 212 of file client.h.
◆ keydest_t
Enumerator |
---|
key_game | |
key_console | |
key_message | |
key_menu | |
Definition at line 220 of file client.h.
◆ CL_AddDLights()
◆ CL_AddEntities()
◆ CL_AddLightStyles()
◆ CL_AddNetgraph()
◆ CL_AddParticles()
◆ CL_AddTEnts()
◆ CL_AllocDlight()
Definition at line 249 of file cl_fx.c.
262 memset (dl, 0,
sizeof(*dl));
275 memset (dl, 0,
sizeof(*dl));
282 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 2065 of file cl_fx.c.
2070 float sr, sp, sy, cr, cp, cy;
2083 ltime = (float)
cl.
time / 1000.0;
2109 dist = sin(ltime +
i)*64;
2120 p->
color = floor (0xd0 + dist * 7);
2123 p->
alpha = 1.0 - dist;
Referenced by CL_AddPacketEntities().
◆ CL_BigTeleportParticles()
Definition at line 1313 of file cl_fx.c.
1318 static int colortable[4] = {2*8,13*8,21*8,18*8};
1320 for (
i=0 ;
i<4096 ;
i++)
1331 p->
color = colortable[rand()&3];
1335 p->
org[0] = org[0] + cos(
angle)*dist;
1336 p->
vel[0] = cos(
angle)*(70+(rand()&63));
1339 p->
org[1] = org[1] + sin(
angle)*dist;
1340 p->
vel[1] = sin(
angle)*(70+(rand()&63));
1343 p->
org[2] = org[2] + 8 + (rand()%90);
1344 p->
vel[2] = -100 + (rand()&31);
Referenced by CL_ParseTEnt().
◆ CL_BlasterParticles2()
◆ CL_BlasterTrail()
◆ CL_BlasterTrail2()
◆ CL_BubbleTrail()
◆ CL_BubbleTrail2()
Definition at line 445 of file cl_newfx.c.
464 for (
i=0 ;
i<len ;
i+=dec)
474 0.75, -1.0 / (1 +
frand() * 0.2),
477 PART_TRANS|PART_SHADED,
493 p->
color = 4 + (rand()&7);
494 for (
j=0 ;
j<3 ;
j++)
Referenced by CL_ParseTEnt().
◆ CL_CheckOrDownloadFile()
qboolean CL_CheckOrDownloadFile |
( |
char * |
filename | ) |
|
Definition at line 69 of file cl_parse.c.
75 if (strstr (filename,
".."))
77 Com_Printf (
"Refusing to download a path with ..\n");
83 while ((ptr=strchr(filename,
'\\'))) {
107 fp = fopen (
name,
"r+b");
110 fseek(fp, 0, SEEK_END);
Referenced by CL_RequestNextDownload().
◆ 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 1269 of file cl_newfx.c.
1278 for (
i=0 ;
i<128 ;
i++)
1283 org[0] + ((rand()%32)-16), org[1] + ((rand()%32)-16), org[2] + ((rand()%32)-16),
1284 (rand()%256)-128, (rand()%256)-128, (rand()%256)-128,
1286 color[0] + (rand() % run), color[1] + (rand() % run), color[2] + (rand() % run),
1288 1.0, -0.4 / (0.6 +
frand()*0.2),
1302 p->
color = color8 + (rand() % run);
1303 for (
j=0 ;
j<3 ;
j++)
1305 p->
org[
j] = org[
j] + ((rand()%32)-16);
1306 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 331 of file cl_newfx.c.
337 count = rand() & 0xF;
355 p->
color = 226 + (rand() % 4);
357 for (
j=0 ;
j<3 ;
j++)
366 count = rand() & 0x7;
383 p->
color = 0 + (rand() % 4);
385 for (
j=0 ;
j<3 ;
j++)
◆ CL_Flashlight()
◆ CL_FlyEffect()
◆ CL_ForceWall()
Definition at line 261 of file cl_newfx.c.
294 0, 0, -40 - (
crand()*10),
296 color[0]+5, color[1]+5, color[2]+5,
298 1, -1.0 / (3.0+
frand()*0.5),
315 for (
j=0 ;
j<3 ;
j++)
Referenced by CL_ParseTEnt().
◆ CL_GenericParticleEffect()
Definition at line 400 of file cl_newfx.c.
418 p->
color = color + (rand() & numcolors);
422 d = rand() & dirspread;
423 for (
j=0 ;
j<3 ;
j++)
425 p->
org[
j] = org[
j] + ((rand()&7)-4) + d*dir[
j];
◆ CL_GetChallengePacket()
◆ CL_Heatbeam()
Definition at line 615 of file cl_newfx.c.
627 float step = 32.0, rstep;
650 ltime = (float)
cl.
time/1000.0;
651 start_pt = fmod(ltime*96.0,step);
652 VectorMA (move, start_pt, vec, move);
658 for (
i=start_pt ;
i<len ;
i+=step)
663 for (rot = 0; rot <
M_PI*2; rot += rstep)
681 c = cos(rot)*variance;
682 s = sin(rot)*variance;
701 p->
color = 223 - (rand()&7);
703 for (
j=0 ;
j<3 ;
j++)
705 p->
org[
j] = move[
j] + dir[
j]*3;
Referenced by CL_AddPlayerBeams().
◆ CL_Init()
Definition at line 1823 of file cl_main.c.
1831 #if defined __linux__ || defined __FreeBSD__ || defined __sgi
◆ CL_InitInput()
◆ CL_InitPrediction()
◆ CL_IonripperTrail()
◆ CL_KeyInventory()
◆ CL_KeyState()
◆ CL_LoadClientinfo()
Definition at line 387 of file cl_parse.c.
403 t = strstr (
s,
"\\");
412 Com_sprintf (model_filename,
sizeof(model_filename),
"players/male/tris.md2");
413 Com_sprintf (weapon_filename,
sizeof(weapon_filename),
"players/male/weapon.md2");
414 Com_sprintf (skin_filename,
sizeof(skin_filename),
"players/male/grunt.pcx");
425 strcpy (model_name,
s);
426 t = strstr(model_name,
"/");
428 t = strstr(model_name,
"\\");
434 strcpy (skin_name,
s + strlen(model_name) + 1);
437 Com_sprintf (model_filename,
sizeof(model_filename),
"players/%s/tris.md2", model_name);
441 strcpy(model_name,
"male");
442 Com_sprintf (model_filename,
sizeof(model_filename),
"players/male/tris.md2");
447 Com_sprintf (skin_filename,
sizeof(skin_filename),
"players/%s/%s.pcx", model_name, skin_name);
455 strcpy(model_name,
"male");
456 Com_sprintf (model_filename,
sizeof(model_filename),
"players/male/tris.md2");
460 Com_sprintf (skin_filename,
sizeof(skin_filename),
"players/%s/%s.pcx", model_name, skin_name);
468 Com_sprintf (skin_filename,
sizeof(skin_filename),
"players/%s/grunt.pcx", model_name, skin_name);
476 if (!ci->
weaponmodel[
i] && strcmp(model_name,
"cyborg") == 0) {
Referenced by CL_ParseClientinfo(), and CL_PrepRefresh().
◆ CL_MonsterPlasma_Shell()
◆ CL_Nukeblast()
Definition at line 1101 of file cl_newfx.c.
1107 static int colortable[4] = {110, 112, 114, 116};
1111 ratio = 1.0 - (((float)self->
endtime - (
float)
cl.
time)/1000.0);
1128 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 676 of file cl_ents.c.
685 CL_ClearProjectiles();
715 Com_Printf (
"Delta from invalid frame (not supposed to happen!).\n");
724 Com_Printf (
"Delta parse_entities too old.\n");
755 if (cmd == svc_packetentities2)
756 CL_ParseProjectiles();
Referenced by CL_ParseServerMessage().
◆ CL_ParseInventory()
◆ CL_ParseLayout()
◆ CL_ParseMuzzleFlash()
Definition at line 338 of file cl_fx.c.
364 dl->
radius = 100 + (rand()&31);
366 dl->
radius = 200 + (rand()&31);
391 Com_sprintf(soundname,
sizeof(soundname),
"weapons/machgf%ib.wav", (rand() % 5) + 1);
404 dl->
radius = 200 + (rand()&31);
406 Com_sprintf(soundname,
sizeof(soundname),
"weapons/machgf%ib.wav", (rand() % 5) + 1);
410 dl->
radius = 225 + (rand()&31);
413 Com_sprintf(soundname,
sizeof(soundname),
"weapons/machgf%ib.wav", (rand() % 5) + 1);
415 Com_sprintf(soundname,
sizeof(soundname),
"weapons/machgf%ib.wav", (rand() % 5) + 1);
419 dl->
radius = 250 + (rand()&31);
422 Com_sprintf(soundname,
sizeof(soundname),
"weapons/machgf%ib.wav", (rand() % 5) + 1);
424 Com_sprintf(soundname,
sizeof(soundname),
"weapons/machgf%ib.wav", (rand() % 5) + 1);
426 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 740 of file cl_tent.c.
774 re.AddStain(pos, 5, -175, -175, -175);
804 vec3_t color = { 255, 125, 10 };
828 vec3_t color = { 200, 100, 10 };
831 re.AddStain(pos, 7, -175, -175, -175);
925 CL_G_Explode_SP(pos);
957 CL_R_Explode_SP(pos);
1018 CL_R_Explode_SP(pos);
1110 ex->
light = 100 + (rand()%75);
1153 else if (dir[1] > 0)
1155 else if (dir[1] < 0)
1293 dir[0]=0; dir[1]=0; dir[2]=1;
1336 case TE_LIGHTNINGFLARE:
1370 re.AddStain(pos, intens,
1432 case TE_DISRUPTOR_EXPLOSION:
1444 case TE_DISINTEGRATE:
Referenced by CL_ParseServerMessage().
◆ CL_ParticleEffect()
◆ CL_ParticleEffect2()
◆ CL_ParticleEffect3()
◆ CL_ParticleSmokeEffect()
◆ CL_ParticleSteamEffect()
◆ CL_ParticleSteamEffect2()
Definition at line 888 of file cl_newfx.c.
903 for (
i=0 ;
i<
self->count ;
i++)
914 p->
color =
self->color + (rand()&7);
916 for (
j=0 ;
j<3 ;
j++)
918 p->
org[
j] =
self->org[
j] +
self->magnitude*0.1*
crand();
922 d =
crand()*
self->magnitude/3;
924 d =
crand()*
self->magnitude/3;
933 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 1750 of file cl_fx.c.
1770 for (
i=0 ;
i<len ;
i++)
1793 p->
color = clr + (rand()&7);
1795 for (
j=0 ;
j<3 ;
j++)
1797 p->
org[
j] = move[
j] + dir[
j]*3;
1798 p->
vel[
j] = dir[
j]*6;
1825 p->
color = 0x0 + (rand()&15);
1827 for (
j=0 ;
j<3 ;
j++)
Referenced by CL_ParseTEnt().
◆ CL_ReadFromServer()
◆ CL_ReadPackets()
◆ CL_Record_f()
Definition at line 175 of file cl_main.c.
199 Com_Printf (
"You must be in a level to record.\n");
224 SZ_Init (&buf, buf_data,
sizeof(buf_data));
257 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()
◆ CL_SendMove()
◆ CL_SetLightstyle()
◆ CL_SmokeAndFlash()
◆ CL_SmokeTrail()
Definition at line 216 of file cl_newfx.c.
248 p->
color = colorStart + (rand() % colorRun);
250 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 2135 of file cl_fx.c.
2177 for (
j=0 ;
j<3 ;
j++)
2202 for (
i=-2 ;
i<=2 ;
i+=4)
2203 for (
j=-2 ;
j<=2 ;
j+=4)
2204 for (k=-2 ; k<=4 ; k+=4)
2215 p->
color = 0xe0 + (rand()&3);
2218 p->
alphavel = -1.0 / (0.3 + (rand()&7) * 0.02);
2220 p->
org[0] = org[0] +
i + ((rand()&23) *
crand());
2221 p->
org[1] = org[1] +
j + ((rand()&23) *
crand());
2222 p->
org[2] = org[2] + k + ((rand()&23) *
crand());
2229 vel = 50 + (rand()&63);
Referenced by CL_AddPacketEntities().
◆ CL_Widowbeamout()
Definition at line 1062 of file cl_newfx.c.
1068 static int colortable[4] = {2*8,13*8,21*8,18*8};
1072 ratio = 1.0 - (((float)self->
endtime - (
float)
cl.
time)/2100.0);
1089 p->
color = colortable[rand()&3];
Referenced by CL_ParseWidow().
◆ CL_WidowSplash()
Definition at line 1140 of file cl_newfx.c.
1143 static int colortable[4] = {2*8,13*8,21*8,18*8};
1149 for (
i=0 ;
i<256 ;
i++)
1160 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 106 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_AllocFreeDlight(), 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_LightningBeam(), CL_LightningFlare(), 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(), pLensFlareThink(), pWeatherFXThink(), 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_DrawCrosshair(), 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(), setupParticle(), 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(), UpdateCDVolumeFunc(), 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 108 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 105 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_FlameBurst(vec3_t pos, float size)
#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 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)
void CL_LightningFlare(vec3_t start, int srcEnt, int dstEnt)
#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]
char * keybindings[K_LAST]
#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
void CL_Disintegrate(vec3_t pos, int ent)
#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 CDAudio_Play(int track, qboolean looping)
int color8green(int color8)
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
#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
void CL_Disruptor_Explosion_Particle(vec3_t org, float size)
#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)
void CL_GunSmokeEffect(vec3_t org, vec3_t dir)
#define MZ2_BOSS2_MACHINEGUN_R2
void CL_AddPacketEntities(frame_t *frame)
cvar_t * cl_add_particles
struct model_s * cl_mod_smoke
void CL_ColorExplosionParticles(vec3_t org, int color8, int run)
#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
void CDAudio_RandomPlay(void)
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
void CL_ForceWall(vec3_t start, vec3_t end, int color8)
cparticle_t * setupParticle(float angle0, float angle1, float angle2, float org0, float org1, float org2, float vel0, float vel1, float vel2, float accel0, float accel1, float accel2, float color0, float color1, float color2, float colorvel0, float colorvel1, float colorvel2, float alpha, float alphavel, float size, float sizevel, int image, int flags, void(*think)(cparticle_t *p, vec3_t org, vec3_t angle, float *alpha, float *size, int *image, float *time), qboolean thinknext)
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 EXPLOSION_PARTICLES(x)
#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
int color8red(int color8)
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_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]
float MSG_ReadFloat(sizebuf_t *msg_read)
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)
#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)
int color8blue(int color8)
#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 CL_BloodHit(vec3_t org, vec3_t dir)
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
void CL_LensFlare(vec3_t pos, vec3_t color, float size, float time)
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
void CL_ParticleEffectSparks(vec3_t org, vec3_t dir, vec3_t color, int count)
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
void CL_Explosion_Particle(vec3_t org, float size, qboolean large, qboolean rocket)
dlight_t r_dlights[MAX_DLIGHTS]
void CL_StunBlast(vec3_t pos, vec3_t color, float size)
void CL_WeatherFx(vec3_t org, vec3_t vec, vec3_t color, int type, float size, float time)
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]
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
void CL_LaserStun(vec3_t pos, vec3_t direction, vec3_t color, float size)
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)
void CL_ParticleFootPrint(vec3_t org, vec3_t angle, float size, vec3_t color)
#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
float Cvar_VariableValue(char *var_name)
#define MZ2_SOLDIER_MACHINEGUN_5
laser_t cl_lasers[MAX_LASERS]
void CL_ExplosionParticles(vec3_t org)