ACE3/addons/casings/script_component.hpp

18 lines
410 B
C++
Raw Normal View History

Casings - Add infantry bullet casings (#8857) * 1st pass on casings * Readability tweaks * Pretty sure these are needed... * Jonpas never lies * Whitespace fix * Add brother Diwako and allow client override * Use index, avoid count * Both settings a client-side * Add Commy fixings * Proper case for diwako + config * Formatting and AGLtoASL * Perf warning * if not required * Axing parentheses * Remove pointless GVAR update in settings * Update addons/casings/functions/fnc_createCasing.sqf Removed unused param Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Update addons/casings/functions/fnc_createCasing.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Update addons/casings/functions/fnc_createCasing.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Default to off due to performance concerns on low-end hardware * Add LIS check to avoid floating * Cleanup header * Further playtesting shows ROADWAY & FIRE have better results * Re-enable by default * Update addons/casings/functions/fnc_createCasing.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Update addons/casings/functions/fnc_createCasing.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Update addons/casings/functions/fnc_createCasing.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Update addons/casings/functions/fnc_createCasing.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> * offset setPosWorld with small z-bump Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2022-05-08 03:45:24 +00:00
#define COMPONENT casings
#define COMPONENT_BEAUTIFIED Casings
#include "\z\ace\addons\main\script_mod.hpp"
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define ENABLE_PERFORMANCE_COUNTERS
#ifdef DEBUG_ENABLED_CASINGS
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_SETTINGS_CASINGS
#define DEBUG_SETTINGS DEBUG_SETTINGS_CASINGS
#endif
#include "\z\ace\addons\main\script_macros.hpp"