General:
* Upgraded Steamworks SDK to v1.29 * Fixed mod compatibility problem with Multiplayer Base that was introduced in September. * In Hammer, while using the Vertex Tool, pressing CTRL+B will snap selected vertices to the grid. Virtual Reality: * Mods that support virtual reality now need to have a line in gameinfo.txt that says “supportsvr 1”. This indicates to gameui and engine that certain UI should be enabled. * VR-enabled mods will now start up in VR mode when launched from Steam’s VR mode. Windows: * Upgraded to Visual Studio 2013. If you need to build projects for VS 2010, add /2010 to your VPC command line. OSX: * Upgraded to XCode 5.
This commit is contained in:
@@ -34,7 +34,7 @@ every surface must be divided into at least two patches each axis
|
||||
*/
|
||||
|
||||
CUtlVector<CPatch> g_Patches;
|
||||
CUtlVector<int> g_FacePatches; // constains all patches, children first
|
||||
CUtlVector<int> g_FacePatches; // contains all patches, children first
|
||||
CUtlVector<int> faceParents; // contains only root patches, use next parent to iterate
|
||||
CUtlVector<int> clusterChildren;
|
||||
CUtlVector<Vector> emitlight;
|
||||
@@ -2408,12 +2408,13 @@ int ParseCommandLine( int argc, char **argv, bool *onlydetail )
|
||||
{
|
||||
if ( ++i < argc )
|
||||
{
|
||||
numbounce = atoi (argv[i]);
|
||||
if ( numbounce < 0 )
|
||||
int bounceParam = atoi (argv[i]);
|
||||
if ( bounceParam < 0 )
|
||||
{
|
||||
Warning("Error: expected non-negative value after '-bounce'\n" );
|
||||
return 1;
|
||||
}
|
||||
numbounce = (unsigned)bounceParam;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user