*         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:
Joe Ludwig
2014-05-15 13:59:18 -07:00
parent 7309a5f13f
commit 53e78c503e
360 changed files with 4720 additions and 1689 deletions

View File

@@ -91,7 +91,7 @@ void vprint( int depth, const char *fmt, ... )
}
}
::printf( string );
::printf( "%s", string );
OutputDebugString( string );
if ( fp )

View File

@@ -20,7 +20,6 @@ $Configuration
$Linker
{
$AdditionalDependencies "$BASE glu32.lib opengl32.lib odbc32.lib odbccp32.lib winmm.lib"
$AdditionalDependencies "$BASE glaux.lib" [!$VS2010]
}
}

View File

@@ -49,7 +49,7 @@ static void Pause( void )
static void Exit(const char *msg)
{
fprintf( stderr, msg );
fprintf( stderr, "%s", msg );
Pause();
exit( -1 );
}

View File

@@ -46,7 +46,7 @@ int FindNeighborCornerVert( CCoreDispInfo *pDisp, const Vector &vTest )
}
int GetAllNeighbors( const CCoreDispInfo *pDisp, int iNeighbors[512] )
int GetAllNeighbors( const CCoreDispInfo *pDisp, int (&iNeighbors)[512] )
{
int nNeighbors = 0;
@@ -57,7 +57,7 @@ int GetAllNeighbors( const CCoreDispInfo *pDisp, int iNeighbors[512] )
for ( int i=0; i < pCorner->m_nNeighbors; i++ )
{
if ( nNeighbors < _ARRAYSIZE( iNeighbors ) )
if ( nNeighbors < ARRAYSIZE( iNeighbors ) )
iNeighbors[nNeighbors++] = pCorner->m_Neighbors[i];
}
}

View File

@@ -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
{

View File

@@ -37,7 +37,7 @@ static void PFMWrite( float *pFloatImage, const char *pFilename, int width, int
SpewRetval_t VTF2TGAOutputFunc( SpewType_t spewType, char const *pMsg )
{
printf( pMsg );
printf( "%s", pMsg );
fflush( stdout );
if (spewType == SPEW_ERROR)