openclonk/src/game/C4Physics.h

41 lines
1.2 KiB
C
Raw Normal View History

2009-05-08 13:28:41 +00:00
/*
* OpenClonk, http://www.openclonk.org
*
* Copyright (c) 1998-2000 Matthes Bender
* Copyright (c) 2001 Sven Eberhardt
* Copyright (c) 2002 Peter Wortmann
2009-05-08 13:28:41 +00:00
* Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de
*
* Portions might be copyrighted by other authors who have contributed
* to OpenClonk.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
* See isc_license.txt for full license and disclaimer.
*
* "Clonk" is a registered trademark of Matthes Bender.
* See clonk_trademark_license.txt for full license.
*/
/* Some old constants and references */
#ifndef INC_C4Physics
#define INC_C4Physics
#include <Fixed.h>
2009-05-08 13:28:41 +00:00
const int StableRange=10;
const int AttachRange=5;
const int CornerRange=AttachRange+2;
2009-06-05 15:20:41 +00:00
#define GravAccel (::Landscape.Gravity)
2009-05-08 13:28:41 +00:00
extern const FIXED FloatAccel;
extern const FIXED HitSpeed1,HitSpeed2,HitSpeed3,HitSpeed4;
extern const FIXED WalkAccel,WalkBreak,ScaleAccel,SwimAccel;
2009-05-08 13:28:41 +00:00
extern const FIXED FloatFriction;
extern const FIXED RotateAccel;
#endif