ACE3/addons/laser/script_component.hpp
Grim 628d62d329
Laser - Cleanup laser designator config and code (#9289)
* cleanup laser designator code

* condition

* use macro for IDC

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

* IDC to macro

* switch to _currentShooter

* hide CA_Distance even if fade fails

---------

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-07-30 04:41:46 +03:00

28 lines
678 B
C++

#define COMPONENT laser
#define COMPONENT_BEAUTIFIED Laser
#include "\z\ace\addons\main\script_mod.hpp"
// #define DRAW_LASER_INFO
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define ENABLE_PERFORMANCE_COUNTERS
#ifdef DEBUG_ENABLED_LASER
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_SETTINGS_LASER
#define DEBUG_SETTINGS DEBUG_SETTINGS_LASER
#endif
#include "\z\ace\addons\main\script_macros.hpp"
#define IDC_MODECONTROLGROUP 1000
#define IDC_ATTACKMODE 1001
#define IDC_LASERCODE 1002
#define IDC_LASERICON 1003
#define IDC_LASERDESIGNATOR_LASERCODE 123001
#define IDC_LASERDESIGNATOR_ACEDISTANCE 123002
#define IDC_LASERDESIGNATOR_DISTANCE 151