Sources/API/physics2d.h
1 /*
2 ** ClanLib SDK
3 ** Copyright (c) 1997-2013 The ClanLib Team
4 **
5 ** This software is provided 'as-is', without any express or implied
6 ** warranty. In no event will the authors be held liable for any damages
7 ** arising from the use of this software.
8 **
9 ** Permission is granted to anyone to use this software for any purpose,
10 ** including commercial applications, and to alter it and redistribute it
11 ** freely, subject to the following restrictions:
12 **
13 ** 1. The origin of this software must not be misrepresented; you must not
14 ** claim that you wrote the original software. If you use this software
15 ** in a product, an acknowledgment in the product documentation would be
16 ** appreciated but is not required.
17 ** 2. Altered source versions must be plainly marked as such, and must not be
18 ** misrepresented as being the original software.
19 ** 3. This notice may not be removed or altered from any source distribution.
20 **
21 ** Note: Some of the libraries ClanLib may link to may have additional
22 ** requirements or restrictions.
23 **
24 ** File Author(s):
25 **
26 ** Arkadiusz Kalinowski
27 */
28 
31 
32 #pragma once
33 
34 #ifdef __cplusplus_cli
35 #pragma managed(push, off)
36 #endif
37 
38 #include "Physics2D/api_physics2d.h"
39 #include "Physics2D/World/physics_world.h"
40 #include "Physics2D/World/physics_world_description.h"
41 #include "Physics2D/World/physics_debug_draw.h"
42 #include "Physics2D/World/physics_context.h"
43 #include "Physics2D/World/physics_query_assistant.h"
44 #include "Physics2D/World/query_result.h"
45 #include "Physics2D/Dynamics/body.h"
46 #include "Physics2D/Dynamics/body_description.h"
47 #include "Physics2D/Dynamics/fixture.h"
48 #include "Physics2D/Dynamics/fixture_description.h"
49 #include "Physics2D/Dynamics/Joints/joint.h"
50 #include "Physics2D/Dynamics/Joints/distance_joint_description.h"
51 #include "Physics2D/Dynamics/Joints/distance_joint.h"
52 #include "Physics2D/Dynamics/Joints/revolute_joint_description.h"
53 #include "Physics2D/Dynamics/Joints/revolute_joint.h"
54 #include "Physics2D/Dynamics/Joints/prismatic_joint_description.h"
55 #include "Physics2D/Dynamics/Joints/prismatic_joint.h"
56 #include "Physics2D/Dynamics/Joints/mouse_joint_description.h"
57 #include "Physics2D/Dynamics/Joints/mouse_joint.h"
58 #include "Physics2D/Collision/physics_object.h"
59 #include "Physics2D/Collision/Shapes/shape.h"
60 #include "Physics2D/Collision/Shapes/polygon_shape.h"
61 #include "Physics2D/Collision/Shapes/chain_shape.h"
62 #include "Physics2D/Collision/Shapes/circle_shape.h"
63 #include "Physics2D/Collision/Shapes/edge_shape.h"
64 
65 #ifdef __cplusplus_cli
66 #pragma managed(pop)
67 #endif
68 
69 #if defined(_MSC_VER)
70  #if !defined(_MT)
71  #error Your application is set to link with the single-threaded version of the run-time library. Go to project settings, in the C++ section, and change it to multi-threaded.
72  #endif
73  #if !defined(_DEBUG)
74  #if defined(DLL)
75  #pragma comment(lib, "clanPhysics2D-dll.lib")
76  #elif defined(_DLL)
77  #pragma comment(lib, "clanPhysics2D-static-mtdll.lib")
78  #else
79  #pragma comment(lib, "clanPhysics2D-static-mt.lib")
80  #endif
81  #else
82  #if defined(DLL)
83  #pragma comment(lib, "clanPhysics2D-dll-debug.lib")
84  #elif defined(_DLL)
85  #pragma comment(lib, "clanPhysics2D-static-mtdll-debug.lib")
86  #else
87  #pragma comment(lib, "clanPhysics2D-static-mt-debug.lib")
88 
89  #endif
90  #endif
91 #endif