summaryrefslogtreecommitdiffstats
path: root/include/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/context.h')
-rw-r--r--include/context.h14
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;