OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4Physics.h
Go to the documentation of this file.
1 /*
2  * OpenClonk, http://www.openclonk.org
3  *
4  * Copyright (c) 1998-2000, Matthes Bender
5  * Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/
6  * Copyright (c) 2013-2016, The OpenClonk Team and contributors
7  *
8  * Distributed under the terms of the ISC license; see accompanying file
9  * "COPYING" for details.
10  *
11  * "Clonk" is a registered trademark of Matthes Bender, used with permission.
12  * See accompanying file "TRADEMARK" for details.
13  *
14  * To redistribute this file separately, substitute the full license texts
15  * for the above references.
16  */
17 
18 /* Some old constants and references */
19 
20 #ifndef INC_C4Physics
21 #define INC_C4Physics
22 
23 const int StableRange=10;
24 const int AttachRange=5;
26 
27 #define GravAccel ::Landscape.GetGravity()
28 
30 extern const C4Real FloatFriction;
31 extern const C4Real RotateAccel;
32 extern const C4Real DefaultGravAccel;
33 
34 #endif
const int StableRange
Definition: C4Physics.h:23
const C4Real HitSpeed2
Definition: C4Movement.cpp:37
Definition: C4Real.h:58
const C4Real DefaultGravAccel
Definition: C4Movement.cpp:40
const C4Real HitSpeed1
Definition: C4Movement.cpp:36
const C4Real HitSpeed4
Definition: C4Movement.cpp:39
const int CornerRange
Definition: C4Physics.h:25
const C4Real FloatFriction
Definition: C4Movement.cpp:34
const C4Real HitSpeed3
Definition: C4Movement.cpp:38
const int AttachRange
Definition: C4Physics.h:24
const C4Real RotateAccel
Definition: C4Movement.cpp:35