diff options
| author | hybrid <hybrid@hybridlabs.pro> | 2026-07-18 11:44:43 +0300 |
|---|---|---|
| committer | hybrid <hybrid@hybridlabs.pro> | 2026-07-18 11:44:43 +0300 |
| commit | 17eaf66bb7713378b95cce0fccd2cf32bde213a6 (patch) | |
| tree | d5a0d7221c6976ab7dbdd6a53e04d47208ac83ac /include/context.h | |
| parent | 2cff971b86fdd0f53014d302d66c83cd5a6088c5 (diff) | |
| download | a3catragmx-17eaf66bb7713378b95cce0fccd2cf32bde213a6.tar.gz a3catragmx-17eaf66bb7713378b95cce0fccd2cf32bde213a6.tar.bz2 a3catragmx-17eaf66bb7713378b95cce0fccd2cf32bde213a6.zip | |
add: tmp
Diffstat (limited to 'include/context.h')
| -rw-r--r-- | include/context.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/include/context.h b/include/context.h index 65b4585..5dfad31 100644 --- a/include/context.h +++ b/include/context.h @@ -6,17 +6,7 @@ #include <stdbool.h> #include "ace.h" - -typedef enum { - BC_UNKNOWN = 0, - BC_G1, - BC_G2, - BC_G3, - BC_G4, - BC_G5, - BC_G6, - BC_G7, -} DragModel; +#include "drag_model.h" typedef enum { ICAO, @@ -29,7 +19,7 @@ typedef struct { double bore_height; double muzzle_velocity; double ballistic_coef; - size_t drag_model; + DragFunction drag_model; double twist_dir; } GunConfig; |
