ACE3/addons/ui_units/script_component.hpp

32 lines
611 B
C++
Raw Normal View History

2019-07-05 19:29:42 +00:00
#define COMPONENT ui_units
2019-06-08 20:17:24 +00:00
#include "\z\ace\addons\main\script_mod.hpp"
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
2019-07-05 19:29:42 +00:00
#ifdef DEBUG_ENABLED_UI_UNITS
2019-06-08 20:17:24 +00:00
#define DEBUG_MODE_FULL
#endif
2019-07-05 19:29:42 +00:00
#ifdef DEBUG_SETTINGS_UI_UNITS
#define DEBUG_SETTINGS DEBUG_SETTINGS_UI_UNITS
2019-06-08 20:17:24 +00:00
#endif
#define SPEED_KMH 0
#define SPEED_MPH 1
#define SPEED_KNOT 2
#define SPEED_MS 3
2019-06-12 05:11:02 +00:00
#define KMH_TO_MPH 1.609
#define KMH_TO_KNOT 1.852
#define KMH_TO_MS 3.6
2019-06-08 20:17:24 +00:00
#define ALT_M 0
#define ALT_F 1
2019-06-12 05:11:02 +00:00
#define METERS_TO_FEET 0.3047999902464003
2019-06-08 20:17:24 +00:00
#define MODE_ATL 0
#define MODE_ASL 1
#include "\z\ace\addons\main\script_macros.hpp"