summaryrefslogtreecommitdiffstats
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-23 14:14:15 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-23 14:14:15 +0100
commit904090cbb6cf7978e2e093da1ea1d7245dcb02c8 (patch)
treeb48af2798ab8faea3fcfe16d1ed8629dc025b8ab /src/control/Script.h
parentRemove restrictions in CGame::Process (diff)
parentadded some missing functions (diff)
downloadre3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.gz
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.bz2
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.lz
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.xz
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.tar.zst
re3-904090cbb6cf7978e2e093da1ea1d7245dcb02c8.zip
Diffstat (limited to 'src/control/Script.h')
-rw-r--r--src/control/Script.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/control/Script.h b/src/control/Script.h
index fa8a64cd..11c1b185 100644
--- a/src/control/Script.h
+++ b/src/control/Script.h
@@ -1,6 +1,5 @@
#pragma once
-#include "common.h"
-#include "Font.h"
+#include "Font.h"
#include "Ped.h"
#include "PedType.h"
#include "Text.h"
@@ -39,9 +38,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