mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Diff noise reduction. Stop me if I break it :)
This commit is contained in:
parent
fb0fe95e7e
commit
08cb34e0e0
4 changed files with 25 additions and 7 deletions
|
@ -74,5 +74,14 @@ void
|
||||||
cl_Cmd_Init (void)
|
cl_Cmd_Init (void)
|
||||||
{
|
{
|
||||||
// register our commands
|
// 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.");
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,6 +84,11 @@ sfx_t *cl_sfx_imp;
|
||||||
sfx_t *cl_sfx_rail;
|
sfx_t *cl_sfx_rail;
|
||||||
#endif
|
#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[]={
|
static const particle_effect_t prot_to_rend[]={
|
||||||
PE_SPIKE, // TE_SPIKE
|
PE_SPIKE, // TE_SPIKE
|
||||||
PE_SUPERSPIKE, // TE_SUPERSPIKE
|
PE_SUPERSPIKE, // TE_SUPERSPIKE
|
||||||
|
@ -119,6 +124,11 @@ CL_TEnts_Init (void)
|
||||||
cl_sfx_imp = S_PrecacheSound ("shambler/sattck1.wav");
|
cl_sfx_imp = S_PrecacheSound ("shambler/sattck1.wav");
|
||||||
cl_sfx_rail = S_PrecacheSound ("weapons/lstart.wav");
|
cl_sfx_rail = S_PrecacheSound ("weapons/lstart.wav");
|
||||||
#endif
|
#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 ();
|
ex = CL_AllocExplosion ();
|
||||||
VectorCopy (pos, ex->ent.origin);
|
VectorCopy (pos, ex->ent.origin);
|
||||||
ex->start = cl.time;
|
ex->start = cl.time;
|
||||||
ex->ent.model = Mod_ForName ("progs/s_explod.spr", true);
|
ex->ent.model = cl_spr_explod;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TE_TAREXPLOSION: // tarbaby explosion
|
case TE_TAREXPLOSION: // tarbaby explosion
|
||||||
|
@ -336,15 +346,15 @@ CL_ParseTEnt (void)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TE_LIGHTNING1: // lightning bolts
|
case TE_LIGHTNING1: // lightning bolts
|
||||||
CL_ParseBeam (Mod_ForName ("progs/bolt.mdl", true));
|
CL_ParseBeam (cl_mod_bolt);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TE_LIGHTNING2: // lightning bolts
|
case TE_LIGHTNING2: // lightning bolts
|
||||||
CL_ParseBeam (Mod_ForName ("progs/bolt2.mdl", true));
|
CL_ParseBeam (cl_mod_bolt2);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TE_LIGHTNING3: // lightning bolts
|
case TE_LIGHTNING3: // lightning bolts
|
||||||
CL_ParseBeam (Mod_ForName ("progs/bolt3.mdl", true));
|
CL_ParseBeam (cl_mod_bolt3);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// PGM 01/21/97
|
// PGM 01/21/97
|
||||||
|
|
|
@ -115,7 +115,7 @@ Cmd_ForwardToServer_f (void)
|
||||||
void
|
void
|
||||||
cl_Cmd_Init (void)
|
cl_Cmd_Init (void)
|
||||||
{
|
{
|
||||||
// register our commands
|
// register our commands
|
||||||
Cmd_AddCommand ("cmd", Cmd_ForwardToServer_f, "Send a command to the server.\n"
|
Cmd_AddCommand ("cmd", Cmd_ForwardToServer_f, "Send a command to the server.\n"
|
||||||
"Commands:\n"
|
"Commands:\n"
|
||||||
"download - Same as the command.\n"
|
"download - Same as the command.\n"
|
||||||
|
|
|
@ -113,7 +113,6 @@ static const particle_effect_t prot_to_rend[]={
|
||||||
PE_UNKNOWN, // TE_BEAM
|
PE_UNKNOWN, // TE_BEAM
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
CL_TEnts_Init (void)
|
CL_TEnts_Init (void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue