diff options
| author | hybrid <hybrid@hybridlabs.pro> | 2026-06-26 21:29:22 +0300 |
|---|---|---|
| committer | hybrid <hybrid@hybridlabs.pro> | 2026-06-26 21:29:22 +0300 |
| commit | 4e6026b12eb00ea5bdd6dece2dfc97ffe8c2fc87 (patch) | |
| tree | 2ea1bef8ce87d9f707635ee30c7353abbb120f2e /include | |
| parent | b0463b0063a141c9d077a713c45a6dca681e9017 (diff) | |
| download | a3catragmx-4e6026b12eb00ea5bdd6dece2dfc97ffe8c2fc87.tar.gz a3catragmx-4e6026b12eb00ea5bdd6dece2dfc97ffe8c2fc87.tar.bz2 a3catragmx-4e6026b12eb00ea5bdd6dece2dfc97ffe8c2fc87.zip | |
add: Makefile, context.h
Diffstat (limited to '')
| -rw-r--r-- | include/context.h | 34 |
1 files changed, 34 insertions, 0 deletions
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 <stdlib.h> + +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; |
