remove beeps, fix -dirt* options complaining about invalud option "2"
git-svn-id: svn://svn.icculus.org/netradiant/trunk@116 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
parent
4c38513b45
commit
1f5a43f75d
|
|
@ -864,7 +864,7 @@ int BSPMain( int argc, char **argv )
|
||||||
Sys_Printf( "-bsp argument unnecessary\n" );
|
Sys_Printf( "-bsp argument unnecessary\n" );
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Sys_Printf( "WARNING: Unknown option \"%s\"\a\n", argv[ i ] );
|
Sys_Printf( "WARNING: Unknown option \"%s\"\n", argv[ i ] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2300,6 +2300,7 @@ int LightMain( int argc, char **argv )
|
||||||
Sys_Printf( "Enabling randomized dirtmapping\n" );
|
Sys_Printf( "Enabling randomized dirtmapping\n" );
|
||||||
else
|
else
|
||||||
Sys_Printf( "Enabling ordered dir mapping\n" );
|
Sys_Printf( "Enabling ordered dir mapping\n" );
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
else if( !strcmp( argv[ i ], "-dirtdepth" ) )
|
else if( !strcmp( argv[ i ], "-dirtdepth" ) )
|
||||||
{
|
{
|
||||||
|
|
@ -2307,6 +2308,7 @@ int LightMain( int argc, char **argv )
|
||||||
if( dirtDepth <= 0.0f )
|
if( dirtDepth <= 0.0f )
|
||||||
dirtDepth = 128.0f;
|
dirtDepth = 128.0f;
|
||||||
Sys_Printf( "Dirtmapping depth set to %.1f\n", dirtDepth );
|
Sys_Printf( "Dirtmapping depth set to %.1f\n", dirtDepth );
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
else if( !strcmp( argv[ i ], "-dirtscale" ) )
|
else if( !strcmp( argv[ i ], "-dirtscale" ) )
|
||||||
{
|
{
|
||||||
|
|
@ -2314,6 +2316,7 @@ int LightMain( int argc, char **argv )
|
||||||
if( dirtScale <= 0.0f )
|
if( dirtScale <= 0.0f )
|
||||||
dirtScale = 1.0f;
|
dirtScale = 1.0f;
|
||||||
Sys_Printf( "Dirtmapping scale set to %.1f\n", dirtScale );
|
Sys_Printf( "Dirtmapping scale set to %.1f\n", dirtScale );
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
else if( !strcmp( argv[ i ], "-dirtgain" ) )
|
else if( !strcmp( argv[ i ], "-dirtgain" ) )
|
||||||
{
|
{
|
||||||
|
|
@ -2321,6 +2324,7 @@ int LightMain( int argc, char **argv )
|
||||||
if( dirtGain <= 0.0f )
|
if( dirtGain <= 0.0f )
|
||||||
dirtGain = 1.0f;
|
dirtGain = 1.0f;
|
||||||
Sys_Printf( "Dirtmapping gain set to %.1f\n", dirtGain );
|
Sys_Printf( "Dirtmapping gain set to %.1f\n", dirtGain );
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
else if( !strcmp( argv[ i ], "-trianglecheck" ) )
|
else if( !strcmp( argv[ i ], "-trianglecheck" ) )
|
||||||
{
|
{
|
||||||
|
|
@ -2333,7 +2337,7 @@ int LightMain( int argc, char **argv )
|
||||||
/* unhandled args */
|
/* unhandled args */
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Sys_Printf( "WARNING: Unknown argument \"%s\"\a\n", argv[ i ] );
|
Sys_Printf( "WARNING: Unknown argument \"%s\"\n", argv[ i ] );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1075,7 +1075,7 @@ int VisMain (int argc, char **argv)
|
||||||
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Sys_Printf( "WARNING: Unknown option \"%s\"\a\n", argv[ i ] );
|
Sys_Printf( "WARNING: Unknown option \"%s\"\n", argv[ i ] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user