2009-05-08 13:28:41 +00:00
|
|
|
/*
|
|
|
|
* OpenClonk, http://www.openclonk.org
|
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* Copyright (c) 1998-2000, Matthes Bender
|
|
|
|
* Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/
|
2016-04-03 18:18:29 +00:00
|
|
|
* Copyright (c) 2013-2016, The OpenClonk Team and contributors
|
2009-05-08 13:28:41 +00:00
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* Distributed under the terms of the ISC license; see accompanying file
|
|
|
|
* "COPYING" for details.
|
2009-05-08 13:28:41 +00:00
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* "Clonk" is a registered trademark of Matthes Bender, used with permission.
|
|
|
|
* See accompanying file "TRADEMARK" for details.
|
2009-05-08 13:28:41 +00:00
|
|
|
*
|
2013-12-17 20:01:09 +00:00
|
|
|
* To redistribute this file separately, substitute the full license texts
|
|
|
|
* for the above references.
|
2009-05-08 13:28:41 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* Some old constants and references */
|
|
|
|
|
|
|
|
#ifndef INC_C4Physics
|
|
|
|
#define INC_C4Physics
|
|
|
|
|
2016-04-03 18:07:56 +00:00
|
|
|
#include "lib/C4Real.h"
|
2009-10-25 23:09:34 +00:00
|
|
|
|
2009-05-08 13:28:41 +00:00
|
|
|
const int StableRange=10;
|
|
|
|
const int AttachRange=5;
|
|
|
|
const int CornerRange=AttachRange+2;
|
|
|
|
|
2016-04-02 15:50:49 +00:00
|
|
|
#define GravAccel ::Landscape.GetGravity()
|
2009-05-08 13:28:41 +00:00
|
|
|
|
2010-05-04 15:35:18 +00:00
|
|
|
extern const C4Real HitSpeed1,HitSpeed2,HitSpeed3,HitSpeed4;
|
|
|
|
extern const C4Real FloatFriction;
|
|
|
|
extern const C4Real RotateAccel;
|
2012-07-25 15:02:10 +00:00
|
|
|
extern const C4Real DefaultGravAccel;
|
2009-05-08 13:28:41 +00:00
|
|
|
|
|
|
|
#endif
|