summaryrefslogtreecommitdiffstats
path: root/include/ballistics.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ballistics.h')
-rw-r--r--include/ballistics.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/ballistics.h b/include/ballistics.h
index ab68c3f..7ba4248 100644
--- a/include/ballistics.h
+++ b/include/ballistics.h
@@ -19,4 +19,21 @@ double retard(DragFunction drag_function,
double velocity,
double temperature);
+typedef struct RangeCardRecord RangeCardRecord;
+struct RangeCardRecord {
+ size_t n;
+ double range;
+ double elevation;
+ Windage windage;
+ double lead;
+ double time_of_flight;
+ double bullet_speed;
+ double kinetic_energy;
+};
+typedef struct RangeCard RangeCard;
+struct RangeCard {
+ RangeCardRecord *card;
+ size_t records;
+};
+
#endif