2019-12-17 16:14:45 +00:00
|
|
|
#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
|
|
|
|
|
2024-08-17 15:50:38 +00:00
|
|
|
#define DEFAULT_MIN_ELEV 0
|
|
|
|
// 90 degrees in radians
|
|
|
|
#define DEFAULT_MAX_ELEV 1.5708
|
|
|
|
|
2019-12-17 16:14:45 +00:00
|
|
|
#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
|