issue #2284: fixing windows build.

This commit is contained in:
James Chen 2013-06-16 11:19:47 +08:00
parent bd0c40026f
commit 8b298fab0e
2 changed files with 51 additions and 1 deletions

View File

@ -23,8 +23,10 @@
#define CHIPMUNK_HEADER
#ifdef _MSC_VER
#ifndef _USE_MATH_DEFINES
#define _USE_MATH_DEFINES
#endif
#endif
#include <stdlib.h>
#include <math.h>

View File

@ -226,6 +226,12 @@
<Filter Include="Classes\ConfigurationTest">
<UniqueIdentifier>{81ec2355-7efd-49e0-b6cb-b1bba23fbbc8}</UniqueIdentifier>
</Filter>
<Filter Include="Classes\ExtensionsTest\ArmatureTest">
<UniqueIdentifier>{f0a099b9-0cf3-4217-a311-8d2f84e503c9}</UniqueIdentifier>
</Filter>
<Filter Include="Classes\ExtensionsTest\ComponentsTest">
<UniqueIdentifier>{285cdfb8-5749-4969-ae31-99ec25f15e6e}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="main.cpp">
@ -516,6 +522,27 @@
<ClCompile Include="..\Classes\BaseTest.cpp">
<Filter>Classes</Filter>
</ClCompile>
<ClCompile Include="..\Classes\ExtensionsTest\ArmatureTest\ArmatureScene.cpp">
<Filter>Classes\ExtensionsTest\ArmatureTest</Filter>
</ClCompile>
<ClCompile Include="..\Classes\ExtensionsTest\ComponentsTest\ComponentsTestScene.cpp">
<Filter>Classes\ExtensionsTest\ComponentsTest</Filter>
</ClCompile>
<ClCompile Include="..\Classes\ExtensionsTest\ComponentsTest\EnemyController.cpp">
<Filter>Classes\ExtensionsTest\ComponentsTest</Filter>
</ClCompile>
<ClCompile Include="..\Classes\ExtensionsTest\ComponentsTest\GameOverScene.cpp">
<Filter>Classes\ExtensionsTest\ComponentsTest</Filter>
</ClCompile>
<ClCompile Include="..\Classes\ExtensionsTest\ComponentsTest\PlayerController.cpp">
<Filter>Classes\ExtensionsTest\ComponentsTest</Filter>
</ClCompile>
<ClCompile Include="..\Classes\ExtensionsTest\ComponentsTest\ProjectileController.cpp">
<Filter>Classes\ExtensionsTest\ComponentsTest</Filter>
</ClCompile>
<ClCompile Include="..\Classes\ExtensionsTest\ComponentsTest\SceneController.cpp">
<Filter>Classes\ExtensionsTest\ComponentsTest</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="main.h">
@ -986,5 +1013,26 @@
<ClInclude Include="..\Classes\BaseTest.h">
<Filter>Classes</Filter>
</ClInclude>
<ClInclude Include="..\Classes\ExtensionsTest\ArmatureTest\ArmatureScene.h">
<Filter>Classes\ExtensionsTest\ArmatureTest</Filter>
</ClInclude>
<ClInclude Include="..\Classes\ExtensionsTest\ComponentsTest\ComponentsTestScene.h">
<Filter>Classes\ExtensionsTest\ComponentsTest</Filter>
</ClInclude>
<ClInclude Include="..\Classes\ExtensionsTest\ComponentsTest\EnemyController.h">
<Filter>Classes\ExtensionsTest\ComponentsTest</Filter>
</ClInclude>
<ClInclude Include="..\Classes\ExtensionsTest\ComponentsTest\GameOverScene.h">
<Filter>Classes\ExtensionsTest\ComponentsTest</Filter>
</ClInclude>
<ClInclude Include="..\Classes\ExtensionsTest\ComponentsTest\PlayerController.h">
<Filter>Classes\ExtensionsTest\ComponentsTest</Filter>
</ClInclude>
<ClInclude Include="..\Classes\ExtensionsTest\ComponentsTest\ProjectileController.h">
<Filter>Classes\ExtensionsTest\ComponentsTest</Filter>
</ClInclude>
<ClInclude Include="..\Classes\ExtensionsTest\ComponentsTest\SceneController.h">
<Filter>Classes\ExtensionsTest\ComponentsTest</Filter>
</ClInclude>
</ItemGroup>
</Project>