2015-01-13 03:23:14 +00:00
|
|
|
#define COMPONENT overheating
|
2016-06-20 09:41:17 +00:00
|
|
|
#define COMPONENT_BEAUTIFIED Overheating
|
2015-05-20 21:28:10 +00:00
|
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
2015-01-13 03:23:14 +00:00
|
|
|
|
2016-02-25 15:12:24 +00:00
|
|
|
// #define DEBUG_MODE_FULL
|
|
|
|
// #define DISABLE_COMPILE_CACHE
|
2016-01-29 05:26:02 +00:00
|
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
2015-12-15 07:09:26 +00:00
|
|
|
|
2015-01-13 03:23:14 +00:00
|
|
|
#ifdef DEBUG_ENABLED_OVERHEATING
|
2015-04-06 16:22:43 +00:00
|
|
|
#define DEBUG_MODE_FULL
|
2015-01-13 03:23:14 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DEBUG_SETTINGS_OVERHEATING
|
2015-04-06 16:22:43 +00:00
|
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_OVERHEATING
|
2015-01-13 03:23:14 +00:00
|
|
|
#endif
|
|
|
|
|
2015-12-28 18:59:57 +00:00
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|
|
|
|
|
2016-01-19 20:03:47 +00:00
|
|
|
#define TEMP_TOLERANCE 50
|
2017-04-11 15:04:57 +00:00
|
|
|
#define METAL_MASS_RATIO 0.55
|
2015-12-28 18:59:57 +00:00
|
|
|
|
|
|
|
#ifdef DEBUG_MODE_FULL
|
|
|
|
#define TRACE_PROJECTILE_INFO(BULLET) _vdir = vectorNormalized velocity BULLET; _dir = (_vdir select 0) atan2 (_vdir select 1); _up = asin (_vdir select 2); _mv = vectorMagnitude velocity BULLET; TRACE_3("adjusted projectile",_dir,_up,_mv);
|
|
|
|
#else
|
|
|
|
#define TRACE_PROJECTILE_INFO(BULLET) /* noDebug */
|
|
|
|
#endif
|