diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-16 16:44:59 +0300 |
---|---|---|
committer | shfil <filip.gawin@zoho.com> | 2021-01-17 21:32:54 +0100 |
commit | 5a47379bf5f011a65c1d0f88a0cb5f2130feb9db (patch) | |
tree | d3b13533c6058d2b26035d180e4a7e8b735c283c /src/control/Script.h | |
parent | 357b67e3f5ba130f00cd965aeab0eb05fc94d51d (diff) |
Includes overhaul, fix some compiler warnings
Diffstat (limited to 'src/control/Script.h')
-rw-r--r-- | src/control/Script.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Script.h b/src/control/Script.h index c0b69e0f..ff1a9706 100644 --- a/src/control/Script.h +++ b/src/control/Script.h @@ -1,7 +1,5 @@ #pragma once -#include "common.h" #include "Font.h" -#include "Ped.h" #include "PedType.h" #include "Text.h" #include "Sprite2d.h" @@ -36,9 +34,11 @@ void FlushLog(); #define SPHERE_MARKER_PULSE_FRACTION (0.1f) #ifdef USE_PRECISE_MEASUREMENT_CONVERTION +#define MILES_IN_METER (0.000621371192f) #define METERS_IN_FOOT (0.3048f) #define FEET_IN_METER (3.28084f) #else +#define MILES_IN_METER (1 / 1670.f) #define METERS_IN_FOOT (0.3f) #define FEET_IN_METER (3.33f) #endif |