From e81b40a099e81ca6109fc635b75c30c0879dc05a Mon Sep 17 00:00:00 2001 From: Rat Date: Sat, 5 Jun 2010 13:30:02 +0200 Subject: [PATCH] fixed compile on win --HG-- branch : trunk --- src/shared/vmap/VMapManager2.cpp | 4 +- win/VC90/g3dlite.vcproj | 4 ++ win/VC90/shared.vcproj | 72 ++++++++------------------------ 3 files changed, 24 insertions(+), 56 deletions(-) diff --git a/src/shared/vmap/VMapManager2.cpp b/src/shared/vmap/VMapManager2.cpp index c4c13fe795..1e8a84aee5 100644 --- a/src/shared/vmap/VMapManager2.cpp +++ b/src/shared/vmap/VMapManager2.cpp @@ -56,7 +56,7 @@ namespace VMAP Vector3 VMapManager2::convertPositionToInternalRep(float x, float y, float z) const { Vector3 pos; - const float mid = 0.5 * 64.0 * 533.33333333; + const float mid = 0.5 * 64.0 * 533.33333333f; pos.x = mid - x; pos.y = mid - y; pos.z = z; @@ -69,7 +69,7 @@ namespace VMAP Vector3 VMapManager2::convertPositionToMangosRep(float x, float y, float z) const { Vector3 pos; - const float mid = 0.5 * 64.0 * 533.33333333; + const float mid = 0.5 * 64.0 * 533.33333333f; pos.x = mid - x; pos.y = mid - y; pos.z = z; diff --git a/win/VC90/g3dlite.vcproj b/win/VC90/g3dlite.vcproj index 5d4dcf70a8..a926043efb 100644 --- a/win/VC90/g3dlite.vcproj +++ b/win/VC90/g3dlite.vcproj @@ -464,6 +464,10 @@ RelativePath="..\..\dep\src\g3dlite\Vector4.cpp" > + + diff --git a/win/VC90/shared.vcproj b/win/VC90/shared.vcproj index 7914bfd265..685a5c037d 100644 --- a/win/VC90/shared.vcproj +++ b/win/VC90/shared.vcproj @@ -565,31 +565,15 @@ Name="vmaps" > - - - - - - - - - - - - - - - - - - - - - - @@ -661,17 +617,25 @@ > + + + + -