mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
32 lines
833 B
C++
32 lines
833 B
C++
#define COMPONENT csw
|
|
#define COMPONENT_BEAUTIFIED Crew-Served Weapons
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
|
|
|
// #define FAST_PROGRESSBARS
|
|
// #define DEBUG_MODE_FULL
|
|
// #define DISABLE_COMPILE_CACHE
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
|
|
|
#ifdef DEBUG_ENABLED_CSW
|
|
#define DEBUG_MODE_FULL
|
|
#endif
|
|
|
|
#ifdef DEBUG_SETTINGS_CSW
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_CSW
|
|
#endif
|
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|
|
|
|
#define GET_NUMBER(config,default) (if (isNumber (config)) then {getNumber (config)} else {default})
|
|
|
|
#define DISTANCE_FROM_GUN 1.5
|
|
#define RELATIVE_DIRECTION(direction) [DISTANCE_FROM_GUN, direction]
|
|
|
|
#define NEARBY_SOURCES_CACHE_EXPIRY 5
|
|
|
|
#ifdef FAST_PROGRESSBARS
|
|
#define TIME_PROGRESSBAR(X) ((X) * 0.075)
|
|
#else
|
|
#define TIME_PROGRESSBAR(X) ((X) * GVAR(progressBarTimeCoefficent))
|
|
#endif
|