diff --git a/src/openvr_api_public.cpp b/src/openvr_api_public.cpp index 98ba7625..efe6c162 100644 --- a/src/openvr_api_public.cpp +++ b/src/openvr_api_public.cpp @@ -2,12 +2,12 @@ #define VR_API_EXPORT 1 #include "openvr.h" #include "ivrclientcore.h" -#include -#include -#include +#include "vrcommon/pathtools_public.h" +#include "vrcommon/sharedlibtools_public.h" +#include "vrcommon/envvartools_public.h" #include "hmderrors_public.h" -#include -#include +#include "vrcommon/strtools_public.h" +#include "vrcommon/vrpathregistry_public.h" #include using vr::EVRInitError; diff --git a/src/vrcommon/dirtools_public.cpp b/src/vrcommon/dirtools_public.cpp index e5fccc1d..37828b6c 100644 --- a/src/vrcommon/dirtools_public.cpp +++ b/src/vrcommon/dirtools_public.cpp @@ -1,7 +1,7 @@ //========= Copyright Valve Corporation ============// -#include -#include -#include +#include "vrcommon/dirtools_public.h" +#include "vrcommon/strtools_public.h" +#include "vrcommon/pathtools_public.h" #include #include diff --git a/src/vrcommon/envvartools_public.cpp b/src/vrcommon/envvartools_public.cpp index b6de2a80..77f43ff5 100644 --- a/src/vrcommon/envvartools_public.cpp +++ b/src/vrcommon/envvartools_public.cpp @@ -1,6 +1,6 @@ //========= Copyright Valve Corporation ============// -#include -#include +#include "vrcommon/envvartools_public.h" +#include "vrcommon/strtools_public.h" #include #include #include diff --git a/src/vrcommon/pathtools_public.cpp b/src/vrcommon/pathtools_public.cpp index 2503ec64..fe932f4b 100644 --- a/src/vrcommon/pathtools_public.cpp +++ b/src/vrcommon/pathtools_public.cpp @@ -1,6 +1,6 @@ //========= Copyright Valve Corporation ============// -#include -#include +#include "vrcommon/strtools_public.h" +#include "vrcommon/pathtools_public.h" #if defined( _WIN32) #include @@ -66,7 +66,7 @@ std::string Path_GetExecutablePath() return ""; } #else - AssertMsg( false, "Implement Plat_GetExecutablePath" ); + //AssertMsg( false, "Implement Plat_GetExecutablePath" ); return ""; #endif diff --git a/src/vrcommon/sharedlibtools_public.cpp b/src/vrcommon/sharedlibtools_public.cpp index cce1528d..d80d6fbb 100644 --- a/src/vrcommon/sharedlibtools_public.cpp +++ b/src/vrcommon/sharedlibtools_public.cpp @@ -1,5 +1,5 @@ //========= Copyright Valve Corporation ============// -#include +#include "vrcommon/sharedlibtools_public.h" #include #if defined(_WIN32) diff --git a/src/vrcommon/strtools_public.cpp b/src/vrcommon/strtools_public.cpp index 343ec42a..3193f7ef 100644 --- a/src/vrcommon/strtools_public.cpp +++ b/src/vrcommon/strtools_public.cpp @@ -1,5 +1,6 @@ //========= Copyright Valve Corporation ============// -#include +#include "vrcommon/strtools_public.h" +//#include "vrcommon/assert.h" #include #include #include @@ -9,7 +10,6 @@ #include #include #include -#include #if defined( _WIN32 ) #include @@ -128,7 +128,7 @@ std::string Format( const char *pchFormat, ... ) // Something went fairly wrong if ( unSize < 0 ) { - AssertMsg( false, "Format string parse failure" ); + //AssertMsg( false, "Format string parse failure" ); return ""; } @@ -149,7 +149,7 @@ std::string Format( const char *pchFormat, ... ) // Double check, just in case if ( unSize < 0 ) { - AssertMsg( false, "Format string parse failure" ); + //AssertMsg( false, "Format string parse failure" ); return ""; } diff --git a/src/vrcommon/vrpathregistry_public.cpp b/src/vrcommon/vrpathregistry_public.cpp index 2746bdba..b8a545f4 100644 --- a/src/vrcommon/vrpathregistry_public.cpp +++ b/src/vrcommon/vrpathregistry_public.cpp @@ -1,11 +1,11 @@ //========= Copyright Valve Corporation ============// -#include -#include -#include -#include -#include -#include +#include "vrcommon/vrpathregistry_public.h" +#include "json/json.h" +#include "vrcommon/pathtools_public.h" +#include "vrcommon/envvartools_public.h" +#include "vrcommon/strtools_public.h" +#include "vrcommon/dirtools_public.h" #if defined( WIN32 ) #include