diff --git a/src/LightsManager.cpp b/src/LightsManager.cpp index 77d49fb16f..e2d2c4083a 100644 --- a/src/LightsManager.cpp +++ b/src/LightsManager.cpp @@ -209,7 +209,8 @@ void LightsManager::Update( float fDeltaTime ) int iSec = (int)RageTimer::GetTimeSinceStartFast(); int iTopIndex = iSec % 4; - CabinetLight cl = CabinetLight_Invalid; + // Aldo: Disabled this line, apparently it was a forgotten initialization + //CabinetLight cl = CabinetLight_Invalid; switch( iTopIndex ) { diff --git a/src/RageDisplay_OGL.cpp b/src/RageDisplay_OGL.cpp index 20d0a85340..9a6e1fe65e 100644 --- a/src/RageDisplay_OGL.cpp +++ b/src/RageDisplay_OGL.cpp @@ -2618,7 +2618,7 @@ bool RageDisplay_Legacy::SupportsTextureFormat(PixelFormat pixfmt, bool bRealtim return glColorTableEXT && glGetColorTableParameterivEXT; case GL_BGR: case GL_BGRA: - return GLEW_EXT_bgra; + return !!GLEW_EXT_bgra; default: return true; } diff --git a/src/StepMania-net2011.vcxproj b/src/StepMania-net2011.vcxproj index 27aa2cab92..082bf889d8 100644 --- a/src/StepMania-net2011.vcxproj +++ b/src/StepMania-net2011.vcxproj @@ -144,7 +144,7 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir) EditAndContinue 4063;4100;4127;4201;4244;4275;4355;4505;4512;4702;4786;4996;%(DisableSpecificWarnings) true - true + false /EHsc %(AdditionalOptions) false @@ -169,6 +169,7 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir) SendErrorReport + false archutils\Win32\mapconv "$(IntDir)$(TargetName).map" "$(TargetDir)\StepMania-debug.vdi" @@ -236,6 +237,7 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir) SendErrorReport UseLinkTimeCodeGeneration true + false archutils\Win32\mapconv "$(IntDir)$(TargetName).map" "$(TargetDir)\StepMania.vdi" @@ -301,6 +303,7 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir) SendErrorReport Default + false archutils\Win32\mapconv "$(IntDir)$(TargetName).map" "$(TargetDir)\StepMania-fastdebug.vdi" @@ -347,6 +350,7 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir) ProgramDatabase 4063;4100;4127;4201;4244;4275;4355;4505;4512;4702;4786;4996;%(DisableSpecificWarnings) false + true NDEBUG;%(PreprocessorDefinitions) @@ -369,6 +373,7 @@ cl /Zl /nologo /c verstub.cpp /Fo$(IntDir) NotSet SendErrorReport + false archutils\Win32\mapconv "$(IntDir)$(TargetName)-SSE2.map" "$(TargetDir)\StepMania-SSE2.vdi" diff --git a/src/archutils/Win32/arch_setup.h b/src/archutils/Win32/arch_setup.h index 5e980524ea..2872d71972 100644 --- a/src/archutils/Win32/arch_setup.h +++ b/src/archutils/Win32/arch_setup.h @@ -106,8 +106,10 @@ typedef int int32_t; typedef unsigned int uint32_t; typedef __int64 int64_t; typedef unsigned __int64 uint64_t; +#if _MSC_VER < 1700 // 1700 = VC++ 2011 #define INT64_C(i) i##i64 #define UINT64_C(i) i##i64 +#endif // #if _MSC_VER < 1700 #if _MSC_VER < 1600 // 1600 = VC++ 2010 static inline int64_t llabs( int64_t i ) { return i >= 0? i: -i; } #endif // #if _MSC_VER < 1600 diff --git a/src/libtomcrypt/libtomcrypt-net2011.vcxproj b/src/libtomcrypt/libtomcrypt-net2011.vcxproj index 27209577ee..1c132e1d64 100644 --- a/src/libtomcrypt/libtomcrypt-net2011.vcxproj +++ b/src/libtomcrypt/libtomcrypt-net2011.vcxproj @@ -93,7 +93,7 @@ Disabled src\headers;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) - true + false EnableFastChecks MultiThreadedDebugDLL @@ -115,6 +115,7 @@ Level2 ProgramDatabase + true @@ -129,6 +130,7 @@ Level2 ProgramDatabase + true @@ -143,6 +145,7 @@ Level2 ProgramDatabase + true diff --git a/src/libtommath/libtommath-net2011.vcxproj b/src/libtommath/libtommath-net2011.vcxproj index baf245a54a..c092061577 100644 --- a/src/libtommath/libtommath-net2011.vcxproj +++ b/src/libtommath/libtommath-net2011.vcxproj @@ -93,7 +93,7 @@ Disabled .;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) - true + false EnableFastChecks MultiThreadedDebugDLL @@ -115,6 +115,7 @@ Level2 ProgramDatabase + true @@ -129,6 +130,7 @@ Level2 ProgramDatabase + true @@ -143,6 +145,7 @@ Level2 ProgramDatabase + true