Diff noise reduction. Stop me if I break it :)

This commit is contained in:
Adam Olsen 2001-07-15 00:21:48 +00:00
parent fb0fe95e7e
commit 08cb34e0e0
4 changed files with 25 additions and 7 deletions

View file

@ -74,5 +74,14 @@ void
cl_Cmd_Init (void)
{
// register our commands
Cmd_AddCommand ("cmd", Cmd_ForwardToServer, "No Description");
Cmd_AddCommand ("cmd", Cmd_ForwardToServer, "Send a command to the server.\n"
"Commands:\n"
"download - Same as the command.\n"
"kill - Same as the command.\n"
"msg (value) - Same as the command.\n"
"prespawn (entity) (spot) - Find a spawn spot for the"
" player entity.\n"
"spawn (entity) - Spawn the player entity.\n"
"setinfo - Same as the command.\n"
"serverinfo - Same as the command.");
}

View file

@ -84,6 +84,11 @@ sfx_t *cl_sfx_imp;
sfx_t *cl_sfx_rail;
#endif
model_t *cl_mod_bolt;
model_t *cl_mod_bolt2;
model_t *cl_mod_bolt3;
model_t *cl_spr_explod;
static const particle_effect_t prot_to_rend[]={
PE_SPIKE, // TE_SPIKE
PE_SUPERSPIKE, // TE_SUPERSPIKE
@ -119,6 +124,11 @@ CL_TEnts_Init (void)
cl_sfx_imp = S_PrecacheSound ("shambler/sattck1.wav");
cl_sfx_rail = S_PrecacheSound ("weapons/lstart.wav");
#endif
cl_mod_bolt = Mod_ForName ("progs/bolt.mdl", true);
cl_mod_bolt2 = Mod_ForName ("progs/bolt2.mdl", true);
cl_mod_bolt3 = Mod_ForName ("progs/bolt3.mdl", true);
cl_spr_explod = Mod_ForName ("progs/s_explod.spr", true);
}
@ -323,7 +333,7 @@ CL_ParseTEnt (void)
ex = CL_AllocExplosion ();
VectorCopy (pos, ex->ent.origin);
ex->start = cl.time;
ex->ent.model = Mod_ForName ("progs/s_explod.spr", true);
ex->ent.model = cl_spr_explod;
break;
case TE_TAREXPLOSION: // tarbaby explosion
@ -336,15 +346,15 @@ CL_ParseTEnt (void)
break;
case TE_LIGHTNING1: // lightning bolts
CL_ParseBeam (Mod_ForName ("progs/bolt.mdl", true));
CL_ParseBeam (cl_mod_bolt);
break;
case TE_LIGHTNING2: // lightning bolts
CL_ParseBeam (Mod_ForName ("progs/bolt2.mdl", true));
CL_ParseBeam (cl_mod_bolt2);
break;
case TE_LIGHTNING3: // lightning bolts
CL_ParseBeam (Mod_ForName ("progs/bolt3.mdl", true));
CL_ParseBeam (cl_mod_bolt3);
break;
// PGM 01/21/97

View file

@ -115,7 +115,7 @@ Cmd_ForwardToServer_f (void)
void
cl_Cmd_Init (void)
{
// register our commands
// register our commands
Cmd_AddCommand ("cmd", Cmd_ForwardToServer_f, "Send a command to the server.\n"
"Commands:\n"
"download - Same as the command.\n"

View file

@ -113,7 +113,6 @@ static const particle_effect_t prot_to_rend[]={
PE_UNKNOWN, // TE_BEAM
};
void
CL_TEnts_Init (void)
{