mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
53 lines
2.0 KiB
C++
53 lines
2.0 KiB
C++
#define COMPONENT wep_javelin
|
|
#include "\z\ace\Addons\main\script_mod.hpp"
|
|
|
|
#ifdef DEBUG_ENABLED_WEP_JAVELIN
|
|
#define DEBUG_MODE_FULL
|
|
#endif
|
|
|
|
#ifdef DEBUG_SETTINGS_WEP_JAVELIN
|
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_WEP_JAVELIN
|
|
#endif
|
|
|
|
#include "\z\ace\Addons\main\script_macros.hpp"
|
|
|
|
#define ACE_JAV_FIREMODE_DIR 1
|
|
#define ACE_JAV_FIREMODE_TOP 2
|
|
|
|
|
|
// Javelin IGUI defines
|
|
#define __JavelinIGUI (uinamespace getVariable "ACE_RscOptics_javelin")
|
|
|
|
// Custom controls
|
|
#define __JavelinIGUISeek (__JavelinIGUI displayCtrl 699000)
|
|
#define __JavelinIGUITop (__JavelinIGUI displayCtrl 699001)
|
|
#define __JavelinIGUIDir (__JavelinIGUI displayCtrl 699002)
|
|
#define __JavelinIGUINFOV (__JavelinIGUI displayCtrl 699003)
|
|
|
|
// Constrains
|
|
#define __JavelinIGUITargetingConstrains (__JavelinIGUI displayCtrl 699100)
|
|
#define __JavelinIGUITargetingConstrainTop (__JavelinIGUI displayCtrl 699101)
|
|
#define __JavelinIGUITargetingConstrainBottom (__JavelinIGUI displayCtrl 699102)
|
|
#define __JavelinIGUITargetingConstrainLeft (__JavelinIGUI displayCtrl 699103)
|
|
#define __JavelinIGUITargetingConstrainRight (__JavelinIGUI displayCtrl 699104)
|
|
|
|
// Targeting gate
|
|
#define __JavelinIGUITargetingGate (__JavelinIGUI displayCtrl 699200)
|
|
#define __JavelinIGUITargetingGateTL (__JavelinIGUI displayCtrl 699201)
|
|
#define __JavelinIGUITargetingGateTR (__JavelinIGUI displayCtrl 699202)
|
|
#define __JavelinIGUITargetingGateBL (__JavelinIGUI displayCtrl 699203)
|
|
#define __JavelinIGUITargetingGateBR (__JavelinIGUI displayCtrl 699204)
|
|
|
|
// Rangefinder
|
|
#define __JavelinIGUIRangefinder (__JavelinIGUI displayCtrl 151)
|
|
|
|
// Targeting lines
|
|
#define __JavelinIGUITargetingLines (__JavelinIGUI displayCtrl 699300)
|
|
#define __JavelinIGUITargetingLineH (__JavelinIGUI displayCtrl 699301)
|
|
#define __JavelinIGUITargetingLineV (__JavelinIGUI displayCtrl 699302)
|
|
|
|
// Colors for controls
|
|
#define __ColorOrange [0.9255,0.5216,0.1216,1]
|
|
#define __ColorGreen [0.2941,0.8745,0.2157,1]
|
|
#define __ColorGray [0.2941,0.2941,0.2941,1]
|
|
#define __ColorNull [0,0,0,0] |