Sys_Printf( "-bsp argument unnecessary\n" );
else
{
- Sys_Printf( "WARNING: Unknown option \"%s\"\a\n", argv[ i ] );
+ Sys_Printf( "WARNING: Unknown option \"%s\"\n", argv[ i ] );
}
}
Sys_Printf( "Enabling randomized dirtmapping\n" );
else
Sys_Printf( "Enabling ordered dir mapping\n" );
+ i++;
}
else if( !strcmp( argv[ i ], "-dirtdepth" ) )
{
if( dirtDepth <= 0.0f )
dirtDepth = 128.0f;
Sys_Printf( "Dirtmapping depth set to %.1f\n", dirtDepth );
+ i++;
}
else if( !strcmp( argv[ i ], "-dirtscale" ) )
{
if( dirtScale <= 0.0f )
dirtScale = 1.0f;
Sys_Printf( "Dirtmapping scale set to %.1f\n", dirtScale );
+ i++;
}
else if( !strcmp( argv[ i ], "-dirtgain" ) )
{
if( dirtGain <= 0.0f )
dirtGain = 1.0f;
Sys_Printf( "Dirtmapping gain set to %.1f\n", dirtGain );
+ i++;
}
else if( !strcmp( argv[ i ], "-trianglecheck" ) )
{
/* unhandled args */
else
{
- Sys_Printf( "WARNING: Unknown argument \"%s\"\a\n", argv[ i ] );
+ Sys_Printf( "WARNING: Unknown argument \"%s\"\n", argv[ i ] );
}
}