From 4e6026b12eb00ea5bdd6dece2dfc97ffe8c2fc87 Mon Sep 17 00:00:00 2001 From: hybrid Date: Fri, 26 Jun 2026 21:29:22 +0300 Subject: add: Makefile, context.h --- include/context.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 include/context.h (limited to 'include/context.h') diff --git a/include/context.h b/include/context.h new file mode 100644 index 0000000..95580ee --- /dev/null +++ b/include/context.h @@ -0,0 +1,34 @@ +#include + +typedef enum { + ATM_1, + ATM_2 +} ATM_MODEL; + +typedef struct { + float scope_angle; + float bullet_mass; + float bore_height; + float muzzle_vel; + float ballistic_coef; + size_t drag_model; + float twist_dir; +} gun_config; + +typedef struct { + float termperature; + float bar_pressure; + float rel_humidity; + float wind_speed; + size_t wind_dir; + ATM_MODEL atmosphere_model; +} atmo_context; + +typedef struct { + float target_speed; + float target_range; +} target_context; + +typedef struct { + gun_config gun; +} ATragMXSolution; -- cgit v1.3.1