diff --git a/RecastDemo/Bin/Recast.exe b/RecastDemo/Bin/Recast.exe index 2cbaf2a..f828dd9 100644 Binary files a/RecastDemo/Bin/Recast.exe and b/RecastDemo/Bin/Recast.exe differ diff --git a/RecastDemo/Build/VC9/Recast.vcproj b/RecastDemo/Build/VC9/Recast.vcproj index e351265..5621dd2 100644 --- a/RecastDemo/Build/VC9/Recast.vcproj +++ b/RecastDemo/Build/VC9/Recast.vcproj @@ -41,7 +41,7 @@ - - - + + + + + - + + + + + diff --git a/RecastDemo/Include/Sample_TempObstacles.h b/RecastDemo/Include/Sample_TempObstacles.h index 0fd8df3..4a334d6 100644 --- a/RecastDemo/Include/Sample_TempObstacles.h +++ b/RecastDemo/Include/Sample_TempObstacles.h @@ -30,8 +30,8 @@ class Sample_TempObstacles : public Sample protected: bool m_keepInterResults; - class LinearAllocator* m_talloc; - class FastLZCompressor* m_tcomp; + struct LinearAllocator* m_talloc; + struct FastLZCompressor* m_tcomp; class dtTileCache* m_tileCache; diff --git a/RecastDemo/Source/Sample_TempObstacles.cpp b/RecastDemo/Source/Sample_TempObstacles.cpp index c38b78f..df0ad24 100644 --- a/RecastDemo/Source/Sample_TempObstacles.cpp +++ b/RecastDemo/Source/Sample_TempObstacles.cpp @@ -106,7 +106,7 @@ struct FastLZCompressor : public dtTileCacheCompressor } virtual dtStatus compress(const unsigned char* buffer, const int bufferSize, - unsigned char* compressed, const int maxCompressedSize, int* compressedSize) + unsigned char* compressed, const int /*maxCompressedSize*/, int* compressedSize) { *compressedSize = fastlz_compress((const void *const)buffer, bufferSize, compressed); return DT_SUCCESS; @@ -161,7 +161,7 @@ struct LinearAllocator : public dtTileCacheAlloc return mem; } - virtual void free(void* ptr) + virtual void free(void* /*ptr*/) { // Empty }