mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-02-08 16:32:45 +00:00
added .wav files to the pure client read exception list
This commit is contained in:
parent
7e0de354c2
commit
693415a6e2
2 changed files with 4 additions and 1 deletions
|
@ -57,6 +57,9 @@ add: /waitms <milliseconds> to delay command executions by the specified number
|
||||||
add: r_alphaToCoverageMipBoost <0.0 to 0.5> (default: 0.125) boosts the alpha value of higher mip levels
|
add: r_alphaToCoverageMipBoost <0.0 to 0.5> (default: 0.125) boosts the alpha value of higher mip levels
|
||||||
with A2C enabled, it prevents alpha-tested surfaces from fading (too much) in the distance
|
with A2C enabled, it prevents alpha-tested surfaces from fading (too much) in the distance
|
||||||
|
|
||||||
|
chg: the client can now read .wav files from the local file system when connected to a pure server
|
||||||
|
this allows e.g. cg_fragSound to load sounds from the local file system instead of .pk3 files
|
||||||
|
|
||||||
chg: CVar sets will use all arguments instead of only the first one
|
chg: CVar sets will use all arguments instead of only the first one
|
||||||
example: pressing n with `bind n "name x y z"` will rename to "x y z" instead of "x"
|
example: pressing n with `bind n "name x y z"` will rename to "x y z" instead of "x"
|
||||||
|
|
||||||
|
|
|
@ -837,7 +837,7 @@ qbool FS_FilenameCompare( const char *s1, const char *s2 ) {
|
||||||
|
|
||||||
static qbool FS_IsPureClientReadException( const char* filename )
|
static qbool FS_IsPureClientReadException( const char* filename )
|
||||||
{
|
{
|
||||||
static const char* extensions[] = { ".cfg", ".ttf", ".dat", ".jpg", ".jpeg", ".tga", ".png", ".shader" };
|
static const char* extensions[] = { ".cfg", ".ttf", ".dat", ".jpg", ".jpeg", ".tga", ".png", ".shader", ".wav" };
|
||||||
const int shortestExtLength = 3;
|
const int shortestExtLength = 3;
|
||||||
|
|
||||||
const int nameLength = strlen(filename);
|
const int nameLength = strlen(filename);
|
||||||
|
|
Loading…
Reference in a new issue