diff options
Diffstat (limited to 'include/context.h')
| -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; |
