mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
80e648938a
Vehicles - Set speed limited with mouse scroll wheel
24 lines
575 B
C++
24 lines
575 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
|
|
|
|
#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
|
|
#define STARTUP_DELAY 1.3
|