OpenClonk
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;
25
const
int
CornerRange
=
AttachRange
+2;
26
27
#define GravAccel ::Landscape.GetGravity()
28
29
extern
const
C4Real
HitSpeed1
,
HitSpeed2
,
HitSpeed3
,
HitSpeed4
;
30
extern
const
C4Real
FloatFriction
;
31
extern
const
C4Real
RotateAccel
;
32
extern
const
C4Real
DefaultGravAccel
;
33
34
#endif
HitSpeed3
const C4Real HitSpeed3
Definition:
C4Physics.h:29
FloatFriction
const C4Real FloatFriction
Definition:
C4Movement.cpp:35
StableRange
const int StableRange
Definition:
C4Physics.h:23
HitSpeed1
const C4Real HitSpeed1
Definition:
C4Movement.cpp:37
HitSpeed2
const C4Real HitSpeed2
Definition:
C4Physics.h:29
DefaultGravAccel
const C4Real DefaultGravAccel
Definition:
C4Movement.cpp:41
RotateAccel
const C4Real RotateAccel
Definition:
C4Movement.cpp:36
HitSpeed4
const C4Real HitSpeed4
Definition:
C4Physics.h:29
AttachRange
const int AttachRange
Definition:
C4Physics.h:24
CornerRange
const int CornerRange
Definition:
C4Physics.h:25
C4Fixed
Definition:
C4Real.h:59
openclonk
src
game
C4Physics.h
Generated on Fri May 16 2025 04:33:15 for OpenClonk by
1.9.1