tcpconnect fixes
lots of hexen2 fixes fixed clipped decals again, still not using any... fixed zips over 2g rewrote bloom to use glsl. should be slightly more usable now. lots more hexen2 fixes git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3957 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
5651e77c30
commit
fb214142a3
91 changed files with 4584 additions and 1270 deletions
|
@ -528,7 +528,7 @@ Heightmap_Trace
|
|||
Traces a line through a heightmap, sampling the terrain at various different positions.
|
||||
This is inprecise, only supports points (or vertical lines), and can often travel though sticky out bits of terrain.
|
||||
*/
|
||||
qboolean Heightmap_Trace(model_t *model, int forcehullnum, int frame, vec3_t axis[3], vec3_t start, vec3_t end, vec3_t mins, vec3_t maxs, trace_t *trace)
|
||||
qboolean Heightmap_Trace(model_t *model, int forcehullnum, int frame, vec3_t axis[3], vec3_t start, vec3_t end, vec3_t mins, vec3_t maxs, unsigned int contentmask, trace_t *trace)
|
||||
{
|
||||
vec3_t org;
|
||||
vec3_t dir;
|
||||
|
@ -589,10 +589,6 @@ qboolean Heightmap_Trace(model_t *model, int forcehullnum, int frame, vec3_t axi
|
|||
|
||||
return trace->fraction != 1;
|
||||
}
|
||||
qboolean Heightmap_NativeTrace(struct model_s *model, int hulloverride, int frame, vec3_t axis[3], vec3_t p1, vec3_t p2, vec3_t mins, vec3_t maxs, unsigned int against, struct trace_s *trace)
|
||||
{
|
||||
return Heightmap_Trace(model, hulloverride, frame, axis, p1, p2, mins, maxs, trace);
|
||||
}
|
||||
|
||||
#endif
|
||||
unsigned int Heightmap_FatPVS (model_t *mod, vec3_t org, qbyte *pvsbuffer, unsigned int pvssize, qboolean add)
|
||||
|
@ -942,11 +938,10 @@ qboolean GL_LoadHeightmapModel (model_t *mod, void *buffer)
|
|||
}
|
||||
}
|
||||
|
||||
mod->funcs.Trace = Heightmap_Trace;
|
||||
mod->funcs.NativeTrace = Heightmap_Trace;
|
||||
mod->funcs.PointContents = Heightmap_PointContents;
|
||||
|
||||
mod->funcs.NativeContents = Heightmap_NativeBoxContents;
|
||||
mod->funcs.NativeTrace = Heightmap_NativeTrace;
|
||||
|
||||
mod->funcs.LightPointValues = Heightmap_LightPointValues;
|
||||
mod->funcs.StainNode = Heightmap_StainNode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue