diff --git a/Sources/Bots/NetworkPatch/ServerIntegration.cpp b/Sources/Bots/NetworkPatch/ServerIntegration.cpp
index 922a425..49805ca 100644
--- a/Sources/Bots/NetworkPatch/ServerIntegration.cpp
+++ b/Sources/Bots/NetworkPatch/ServerIntegration.cpp
@@ -17,7 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "ServerIntegration.h"
#include "EntitiesMP/Player.h"
-#include "EntitiesMP/Patcher/patcher.h"
+#include "Bots/Patcher/patcher.h"
// Server patches
class CCecilMessageDispatcher : public CMessageDispatcher {
diff --git a/Sources/EntitiesMP/Common/Common.cpp b/Sources/EntitiesMP/Common/Common.cpp
index 253f79a..a0ae716 100644
--- a/Sources/EntitiesMP/Common/Common.cpp
+++ b/Sources/EntitiesMP/Common/Common.cpp
@@ -499,7 +499,7 @@ void SpawnHitTypeEffect(CEntity *pen, enum BulletHitType bhtType, BOOL bSound, F
GetNormalComponent( vDistance/fDistance, vHitNormal, ese.vDirection);
FLOAT fLength = ese.vDirection.Length();
fLength = Clamp( fLength*3, 1.0f, 3.0f);
- fDistance = Clamp( log10(fDistance), 0.5, 2.0);
+ fDistance = Clamp( (FLOAT)log10(fDistance), 0.5f, 2.0f);
ese.vStretch = FLOAT3D( fDistance, fLength*fDistance, 1.0f);
try {
diff --git a/Sources/EntitiesMP/EntitiesMP_vs2013.vcxproj b/Sources/EntitiesMP/EntitiesMP_vs2013.vcxproj
index 38fd8d9..cda6ea3 100644
--- a/Sources/EntitiesMP/EntitiesMP_vs2013.vcxproj
+++ b/Sources/EntitiesMP/EntitiesMP_vs2013.vcxproj
@@ -76,7 +76,7 @@
vs2013\$(Configuration)\
false
$(SolutionDir)Extras;$(ExecutablePath)
- $(SolutionDir);$(SolutionDir)Extras;$(SolutionDir)Engine107;$(IncludePath)
+ $(SolutionDir);$(SolutionDir)Extras;$(ProjectDir)StdH;$(SolutionDir)Engine107;$(IncludePath)
$(SolutionDir)Engine107;$(LibraryPath)
$(ProjectName)
vs2013\$(Configuration)\
@@ -86,7 +86,7 @@
vs2013\$(Configuration)\
false
$(SolutionDir)Extras;$(ExecutablePath)
- $(SolutionDir);$(SolutionDir)Extras;$(SolutionDir)Engine110;$(IncludePath)
+ $(SolutionDir);$(SolutionDir)Extras;$(ProjectDir)StdH;$(SolutionDir)Engine110;$(IncludePath)
$(SolutionDir)Engine110;$(LibraryPath)
$(ProjectName)
@@ -95,7 +95,7 @@
vs2013\$(Configuration)\
false
$(SolutionDir)Extras;$(ExecutablePath)
- $(SolutionDir);$(SolutionDir)Extras;$(SolutionDir)Engine107;$(IncludePath)
+ $(SolutionDir);$(SolutionDir)Extras;$(ProjectDir)StdH;$(SolutionDir)Engine107;$(IncludePath)
$(SolutionDir)Engine107;$(LibraryPath)
$(ProjectName)D
@@ -104,7 +104,7 @@
vs2013\$(Configuration)\
false
$(SolutionDir)Extras;$(ExecutablePath)
- $(SolutionDir);$(SolutionDir)Extras;$(SolutionDir)Engine110;$(IncludePath)
+ $(SolutionDir);$(SolutionDir)Extras;$(ProjectDir)StdH;$(SolutionDir)Engine110;$(IncludePath)
$(SolutionDir)Engine110;$(LibraryPath)
$(ProjectName)D
@@ -146,6 +146,7 @@
true
Windows
$(OutDir)$(TargetName).lib
+ user32.lib;%(AdditionalDependencies)
copy vs2013\Release\$(TargetName).dll $(SolutionDir)..\Bin\ >nul
@@ -193,6 +194,7 @@ copy vs2013\Release\$(TargetName).lib $(SolutionDir)..\Bin\ >nul
true
true
Windows
+ user32.lib;%(AdditionalDependencies)
copy vs2013\Release_110\$(TargetName).dll $(SolutionDir)..\Bin\ >nul
@@ -237,7 +239,7 @@ copy vs2013\Release_110\$(TargetName).lib $(SolutionDir)..\Bin\ >nultrue
true
Windows
- EngineD.lib;%(AdditionalDependencies)
+ EngineD.lib;user32.lib;%(AdditionalDependencies)
$(OutDir)$(TargetName).lib
@@ -283,7 +285,7 @@ copy vs2013\Debug\$(TargetName).lib $(SolutionDir)..\Bin\Debug\ >nultrue
true
Windows
- EngineD.lib;%(AdditionalDependencies)
+ EngineD.lib;user32.lib;%(AdditionalDependencies)
copy vs2013\Debug_110\$(TargetName).dll $(SolutionDir)..\Bin\Debug\ >nul
diff --git a/Sources/EntitiesMP/Player.es b/Sources/EntitiesMP/Player.es
index bbc0969..724fcb5 100644
--- a/Sources/EntitiesMP/Player.es
+++ b/Sources/EntitiesMP/Player.es
@@ -2088,7 +2088,7 @@ functions:
// [Cecil] TEMP: 7 buttons instead of 10
for (INDEX iButton = 0; iButton < 7; iButton++) {
FLOAT2D vSize = FLOAT2D(192, 32);
- FLOAT2D vOffset = FLOAT2D((iButton % 2) ? 32 : -(vSize(1) + 32), 40*Floor(iButton / 2));
+ FLOAT2D vOffset = FLOAT2D((iButton % 2) ? 32 : -(vSize(1) + 32), 40*floor(iButton / 2));
FLOAT2D vPos = FLOAT2D(320+vOffset(1), 192+vOffset(2));
//BOOL bMouse = PointBox(m_vMousePointer, vPos, vSize);
diff --git a/Sources/GameMP/Console.cpp b/Sources/GameMP/Console.cpp
index 3b738ed..302395d 100644
--- a/Sources/GameMP/Console.cpp
+++ b/Sources/GameMP/Console.cpp
@@ -144,7 +144,7 @@ void CGame::ConsoleRender(CDrawPort *pdp)
//LCDRenderGrid();
LCDRenderClouds2();
dpConsole.DrawLine( 0, pixSizeJ-1, pixSizeI, pixSizeJ-1, LCDFadedColor(SE_COL_BLUE_NEUTRAL|255));
- const colFill = (colDark & ~CT_AMASK) | 0x2F;
+ const COLOR colFill = (colDark & ~CT_AMASK) | 0x2F;
dpConsole.Fill( 0, pixSizeJ-pixLineSpacing*1.6f, pixSizeI, pixLineSpacing*1.6f, colFill);
// setup font