mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
32 lines
611 B
C++
32 lines
611 B
C++
#define COMPONENT ui_units
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
|
|
|
// #define DEBUG_MODE_FULL
|
|
// #define DISABLE_COMPILE_CACHE
|
|
|
|
#ifdef DEBUG_ENABLED_UI_UNITS
|
|
#define DEBUG_MODE_FULL
|
|
#endif
|
|
#ifdef DEBUG_SETTINGS_UI_UNITS
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_UI_UNITS
|
|
#endif
|
|
|
|
#define SPEED_KMH 0
|
|
#define SPEED_MPH 1
|
|
#define SPEED_KNOT 2
|
|
#define SPEED_MS 3
|
|
|
|
#define KMH_TO_MPH 1.609
|
|
#define KMH_TO_KNOT 1.852
|
|
#define KMH_TO_MS 3.6
|
|
|
|
#define ALT_M 0
|
|
#define ALT_F 1
|
|
|
|
#define METERS_TO_FEET 0.3047999902464003
|
|
|
|
#define MODE_ATL 0
|
|
#define MODE_ASL 1
|
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|