| 1 | /* |
| 2 | * LegacyClonk |
| 3 | * |
| 4 | * Copyright (c) 1998-2000, Matthes Bender (RedWolf Design) |
| 5 | * Copyright (c) 2017-2021, The LegacyClonk Team and contributors |
| 6 | * |
| 7 | * Distributed under the terms of the ISC license; see accompanying file |
| 8 | * "COPYING" for details. |
| 9 | * |
| 10 | * "Clonk" is a registered trademark of Matthes Bender, used with permission. |
| 11 | * See accompanying file "TRADEMARK" for details. |
| 12 | * |
| 13 | * To redistribute this file separately, substitute the full license texts |
| 14 | * for the above references. |
| 15 | */ |
| 16 | |
| 17 | /* Some old constants and references */ |
| 18 | |
| 19 | #pragma once |
| 20 | |
| 21 | #include "Fixed.h" |
| 22 | |
| 23 | const int StableRange = 10; |
| 24 | const int AttachRange = 5; |
| 25 | const int CornerRange = AttachRange + 2; |
| 26 | |
| 27 | #define GravAccel (Game.Landscape.Gravity) |
| 28 | |
| 29 | extern const C4Fixed FloatAccel; |
| 30 | extern const C4Fixed HitSpeed1, HitSpeed2, HitSpeed3, HitSpeed4; |
| 31 | extern const C4Fixed WalkAccel, SwimAccel; |
| 32 | extern const C4Fixed FloatFriction; |
| 33 | extern const C4Fixed RotateAccel; |
| 34 | |