ACE3/addons/artillerytables/script_component.hpp

30 lines
743 B
C++
Raw Normal View History

#define COMPONENT artillerytables
#define COMPONENT_BEAUTIFIED ArtilleryTables
#include "\z\ace\addons\main\script_mod.hpp"
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define ENABLE_PERFORMANCE_COUNTERS
#include "\z\ace\addons\main\script_macros.hpp"
// This is a good fit for most large artillery, but a little low for lighter mortars
#define DEFAULT_AIR_FRICTION -0.00006
#define DEFAULT_MIN_ELEV 0
// 90 degrees in radians
#define DEFAULT_MAX_ELEV 1.5708
#define DEGTOMILS 17.7777778
#define IDC_MODECONTROLGROUP 1000
#define IDC_CHARGE 1001
#define IDC_AZIMUTH 1002
#define IDC_ELEVATION 1003
#define IDC_TABLE 2001
#define IDC_CHARGELIST 2002
#define IDC_BUTTON_ELEV_HIGH 2003
#define IDC_BUTTON_ELEV_LOW 2004