2015-01-18 21:16:35 +00:00
|
|
|
#define COMPONENT medical
|
2016-06-30 15:33:29 +00:00
|
|
|
#define COMPONENT_BEAUTIFIED Medical Core
|
2015-01-18 21:16:35 +00:00
|
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
|
|
|
|
2016-09-27 19:21:44 +00:00
|
|
|
//#define DEBUG_MODE_FULL
|
2016-09-27 18:00:58 +00:00
|
|
|
#define DISABLE_COMPILE_CACHE
|
|
|
|
#define CBA_DEBUG_SYNCHRONOUS
|
2016-01-29 05:26:02 +00:00
|
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
|
|
|
|
2015-01-18 21:16:35 +00:00
|
|
|
#ifdef DEBUG_ENABLED_MEDICAL
|
|
|
|
#define DEBUG_MODE_FULL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DEBUG_SETTINGS_MEDICAL
|
|
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_MEDICAL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|
2016-09-30 11:03:43 +00:00
|
|
|
|
|
|
|
// scale received pain to 0-2 level to select type of scream
|
|
|
|
// below 0.33: 0, from 0.34 to 0.66: 1, more than 0.67: 2
|
|
|
|
#define PAIN_TO_MOAN(pain) (floor (3 * pain) min 2)
|