ACE3/addons/laser/script_component.hpp

31 lines
970 B
C++
Raw Normal View History

2016-05-30 16:37:03 +00:00
#define COMPONENT laser
2016-06-20 09:41:17 +00:00
#define COMPONENT_BEAUTIFIED Laser
2016-05-30 16:37:03 +00:00
#include "\z\ace\addons\main\script_mod.hpp"
// #define DRAW_LASER_INFO
2016-05-30 16:37:03 +00:00
// #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 __LaserDesignatorIGUI (uiNamespace getVariable ["ACE_RscOptics_LaserDesignator", nil])
#define __LaserDesignatorIGUI_LaserCode (__LaserDesignatorIGUI displayCtrl 123001)
#define __LaserDesignatorIGUI_ACE_Distance (__LaserDesignatorIGUI displayCtrl 123002)
#define __LaserDesignatorIGUI_CA_Distance (__LaserDesignatorIGUI displayCtrl 151)
2016-06-20 09:41:17 +00:00
#define __LaserDesignatorIGUI_LaserOn (__LaserDesignatorIGUI displayCtrl 158)
#define IDC_MODECONTROLGROUP 1000
#define IDC_ATTACKMODE 1001
#define IDC_LASERCODE 1002
#define IDC_LASERICON 1003