summaryrefslogtreecommitdiffstats
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-18 21:59:16 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-18 21:59:16 +0100
commitef59c623fd3ab492ccc8826d21d93fc4be825257 (patch)
treeb68bb54324eaef4bbb14868413cde00245576859 /src/control/Script.h
parentfix (diff)
parentwrong ifdef (diff)
downloadre3-ef59c623fd3ab492ccc8826d21d93fc4be825257.tar
re3-ef59c623fd3ab492ccc8826d21d93fc4be825257.tar.gz
re3-ef59c623fd3ab492ccc8826d21d93fc4be825257.tar.bz2
re3-ef59c623fd3ab492ccc8826d21d93fc4be825257.tar.lz
re3-ef59c623fd3ab492ccc8826d21d93fc4be825257.tar.xz
re3-ef59c623fd3ab492ccc8826d21d93fc4be825257.tar.zst
re3-ef59c623fd3ab492ccc8826d21d93fc4be825257.zip
Diffstat (limited to 'src/control/Script.h')
-rw-r--r--src/control/Script.h4
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