ACE3/addons/vehicles/script_component.hpp
Brett d135371319
Vehicles - Add cruise control (#8792)
* add cruise control

* Update fnc_speedLimiter.sqf
2022-03-17 13:06:32 -05:00

25 lines
593 B
C++

#define COMPONENT vehicles
#define COMPONENT_BEAUTIFIED Vehicles
#include "\z\ace\addons\main\script_mod.hpp"
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define ENABLE_PERFORMANCE_COUNTERS
#include "\a3\ui_f\hpp\defineDIKCodes.inc"
#ifdef DEBUG_ENABLED_VEHICLES
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_ENABLED_VEHICLES
#define DEBUG_SETTINGS DEBUG_ENABLED_VEHICLES
#endif
#include "\z\ace\addons\main\script_macros.hpp"
#define MOUSE_SCROLL_UP 0xF8
#define MOUSE_SCROLL_DOWN 0xF9
#define FUEL_FACTOR 0.165 // fuel capacity = range in km * FUEL_FACTOR