From 17eaf66bb7713378b95cce0fccd2cf32bde213a6 Mon Sep 17 00:00:00 2001 From: hybrid Date: Sat, 18 Jul 2026 11:44:43 +0300 Subject: add: tmp --- include/context.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'include/context.h') 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 #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; -- cgit v1.3.1