mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
b31abee4fd
* Use private keyword, move surface blacklist to script_component.hpp * Check height above terrain * Add Tanoa surfaces, Check if in water * Use 'dust' config entry to determine surface, Add common canDig (checks dustyness) * Re-enable compile cache * Revert to surface blacklist with dust as fallback * Move surface blacklist to script_component because SQF validator complains
35 lines
1.1 KiB
C++
35 lines
1.1 KiB
C++
#define COMPONENT common
|
|
#define COMPONENT_BEAUTIFIED Common
|
|
#include "\z\ace\addons\main\script_mod.hpp"
|
|
|
|
// #define DEBUG_MODE_FULL
|
|
// #define DISABLE_COMPILE_CACHE
|
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
|
|
|
#ifdef DEBUG_ENABLED_COMMON
|
|
#define DEBUG_MODE_FULL
|
|
#endif
|
|
|
|
#ifdef DEBUG_SETTINGS_COMMON
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_COMMON
|
|
#endif
|
|
|
|
#include "\z\ace\addons\main\script_macros.hpp"
|
|
|
|
#define VERSION_CONFIG_COMMON VERSION_CONFIG;\
|
|
versionDesc = "ACE 3";\
|
|
versionAct = QUOTE(call COMPILE_FILE(init_versionTooltip))
|
|
|
|
|
|
#define DIG_SURFACE_BLACKLIST [ \
|
|
"concrete", "concrete_exp", "concrete_int", "int_concrete", "int_concrete_exp", \
|
|
"pavement_exp", "int_pavement_exp", \
|
|
"tiling", "tiles_int", "int_tiles", \
|
|
"roof_tin", "roof_tiles", "rooftiles_exp", \
|
|
"tarmac", "asphalt_exp", \
|
|
"stones_exp", "rock", "stony", \
|
|
"metal", "gridmetal_exp", "metalplate_exp", "int_metalplate_exp", "metal_int", "wavymetal", "wavymetal_exp", "int_metal", "steel_exp", \
|
|
"lino_exp", "int_lino_exp", "int_mat_exp", \
|
|
"wood", "wood_int", "int_wood", "softwood_exp", "int_softwood_exp", "int_solidwood_exp" \
|
|
]
|