mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
Just fixing my errors before TimeServ moans some more.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2383 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
be82bffd84
commit
97f836b5ed
4 changed files with 6 additions and 4 deletions
|
@ -1983,6 +1983,7 @@ void Media_Init(void)
|
|||
Cmd_AddCommand("music_rewind", Media_Rewind_f);
|
||||
Cmd_AddCommand("music_next", Media_Next_f);
|
||||
|
||||
#if defined(RGLQUAKE)
|
||||
Cmd_AddCommand("capture", Media_RecordFilm_f);
|
||||
Cmd_AddCommand("capturedemo", Media_RecordDemo_f);
|
||||
Cmd_AddCommand("capturestop", Media_StopRecordFilm_f);
|
||||
|
@ -1992,6 +1993,7 @@ void Media_Init(void)
|
|||
Cvar_Register(&capturesound, "AVI capture controls");
|
||||
Cvar_Register(&capturerate, "AVI capture controls");
|
||||
Cvar_Register(&capturecodec, "AVI capture controls");
|
||||
#endif
|
||||
|
||||
#if defined(WINAVI)
|
||||
Cvar_Register(&capturesoundbits, "AVI capture controls");
|
||||
|
|
|
@ -3774,7 +3774,7 @@ qboolean Q2BSP_EdictInFatPVS(model_t *mod, edict_t *ent);
|
|||
void Q2BSP_FindTouchedLeafs(model_t *mod, edict_t *ent);
|
||||
#endif
|
||||
void GLQ2BSP_LightPointValues(model_t *mod, vec3_t point, vec3_t res_diffuse, vec3_t res_ambient, vec3_t res_dir);
|
||||
void SWQ2BSP_LightPointValues(vec3_t point, vec3_t res_diffuse, vec3_t res_ambient, vec3_t res_dir);
|
||||
void SWQ2BSP_LightPointValues(model_t *mod, vec3_t point, vec3_t res_diffuse, vec3_t res_ambient, vec3_t res_dir);
|
||||
|
||||
/*
|
||||
==================
|
||||
|
|
|
@ -438,7 +438,7 @@ int SWR_LightPoint (vec3_t p)
|
|||
return r;
|
||||
}
|
||||
|
||||
void SWQ1BSP_LightPointValues(vec3_t point, vec3_t res_diffuse, vec3_t res_ambient, vec3_t res_dir)
|
||||
void SWQ1BSP_LightPointValues(model_t *mod, vec3_t point, vec3_t res_diffuse, vec3_t res_ambient, vec3_t res_dir)
|
||||
{
|
||||
vec3_t end;
|
||||
float r;
|
||||
|
@ -451,7 +451,7 @@ void SWQ1BSP_LightPointValues(vec3_t point, vec3_t res_diffuse, vec3_t res_ambie
|
|||
end[1] = point[1];
|
||||
end[2] = point[2] - 2048;
|
||||
|
||||
r = SWRecursiveLightPoint3C(cl.worldmodel->nodes, point, end);
|
||||
r = SWRecursiveLightPoint3C(mod->nodes, point, end);
|
||||
if (r < 0)
|
||||
{
|
||||
res_diffuse[0] = 0;
|
||||
|
|
|
@ -1969,7 +1969,7 @@ float RadiusFromBounds (vec3_t mins, vec3_t maxs);
|
|||
|
||||
|
||||
void Q1BSP_MarkLights (dlight_t *light, int bit, mnode_t *node);
|
||||
void SWQ1BSP_LightPointValues(vec3_t point, vec3_t res_diffuse, vec3_t res_ambient, vec3_t res_dir);
|
||||
void SWQ1BSP_LightPointValues(model_t *mod, vec3_t point, vec3_t res_diffuse, vec3_t res_ambient, vec3_t res_dir);
|
||||
|
||||
void SWR_Q1BSP_StainNode (mnode_t *node, float *parms);
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue