mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: common: remove unused Mod_AmbientLevels
This commit is contained in:
parent
d7848b7b8d
commit
b0c71c598f
@ -745,24 +745,6 @@ qboolean Mod_HeadnodeVisible( mnode_t *node, const byte *visbits, int *lastleaf
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
==================
|
|
||||||
Mod_AmbientLevels
|
|
||||||
|
|
||||||
grab the ambient sound levels for current point
|
|
||||||
==================
|
|
||||||
*/
|
|
||||||
void Mod_AmbientLevels( const vec3_t p, byte *pvolumes )
|
|
||||||
{
|
|
||||||
mleaf_t *leaf;
|
|
||||||
|
|
||||||
if( !worldmodel || !p || !pvolumes )
|
|
||||||
return;
|
|
||||||
|
|
||||||
leaf = Mod_PointInLeaf( p, worldmodel->nodes );
|
|
||||||
*(int *)pvolumes = *(int *)leaf->ambient_sound_level;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
=================
|
=================
|
||||||
Mod_FindModelOrigin
|
Mod_FindModelOrigin
|
||||||
|
@ -156,7 +156,6 @@ int Mod_CheckLump( const char *filename, const int lump, int *lumpsize );
|
|||||||
int Mod_ReadLump( const char *filename, const int lump, void **lumpdata, int *lumpsize );
|
int Mod_ReadLump( const char *filename, const int lump, void **lumpdata, int *lumpsize );
|
||||||
int Mod_SaveLump( const char *filename, const int lump, void *lumpdata, int lumpsize );
|
int Mod_SaveLump( const char *filename, const int lump, void *lumpdata, int lumpsize );
|
||||||
mleaf_t *Mod_PointInLeaf( const vec3_t p, mnode_t *node );
|
mleaf_t *Mod_PointInLeaf( const vec3_t p, mnode_t *node );
|
||||||
void Mod_AmbientLevels( const vec3_t p, byte *pvolumes );
|
|
||||||
int Mod_SampleSizeForFace( msurface_t *surf );
|
int Mod_SampleSizeForFace( msurface_t *surf );
|
||||||
byte *Mod_GetPVSForPoint( const vec3_t p );
|
byte *Mod_GetPVSForPoint( const vec3_t p );
|
||||||
void Mod_UnloadBrushModel( model_t *mod );
|
void Mod_UnloadBrushModel( model_t *mod );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user