diff --git a/RecastDemo/Bin/Recast.exe b/RecastDemo/Bin/Recast.exe index f77ac66..3a18c70 100644 Binary files a/RecastDemo/Bin/Recast.exe and b/RecastDemo/Bin/Recast.exe differ diff --git a/RecastDemo/Build/VC9/Recast.suo b/RecastDemo/Build/VC9/Recast.suo index 8d4c6cc..c8823ac 100644 Binary files a/RecastDemo/Build/VC9/Recast.suo and b/RecastDemo/Build/VC9/Recast.suo differ diff --git a/RecastDemo/Build/VC9/Recast.vcproj b/RecastDemo/Build/VC9/Recast.vcproj index 8121244..566f3ca 100644 --- a/RecastDemo/Build/VC9/Recast.vcproj +++ b/RecastDemo/Build/VC9/Recast.vcproj @@ -177,11 +177,23 @@ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" > + + + + + + + + @@ -250,6 +266,22 @@ Filter="h;hpp;hxx;hm;inl;inc;xsd" UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" > + + + + + + + + diff --git a/RecastDemo/Source/main.cpp b/RecastDemo/Source/main.cpp index 9798088..6d14618 100644 --- a/RecastDemo/Source/main.cpp +++ b/RecastDemo/Source/main.cpp @@ -18,6 +18,10 @@ #include "BuilderStatMeshSimple.h" #include "BuilderStatMeshTiling.h" +#ifdef WIN32 +# define snprintf _snprintf +#endif + GLFont g_font; void drawText(int x, int y, int dir, const char* text, unsigned int col) @@ -437,7 +441,7 @@ int main(int argc, char *argv[]) mouseOverMenu = false; - int propDiv = showDebugMode ? height*0.6f : height; + int propDiv = showDebugMode ? (int)(height*0.6f) : height; if (imguiBeginScrollArea(GENID, "Properties", width-250-10, 10+height-propDiv, 250, propDiv-20, &propScroll))