-
Notifications
You must be signed in to change notification settings - Fork 3
/
pellet.h
29 lines (26 loc) · 1.15 KB
/
pellet.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* Don't mess with this bit unless
you know what you're doing */
typedef struct pellet {
const char * pellet_name;
const char * pellet_mfr;
float pellet_weight_grains;
float pellet_caliber_inch;
float pellet_weight_grams;
float pellet_caliber_mm;
} pellet_t;
#define NUM_PELLETS (sizeof(my_pellets)/sizeof(pellet_t))
/************************************************************************************/
/* Add your pellets here !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
/**************************************************************** ********************/
/* Every row EXCEPT the last one must have a comma at the end.
Format is:
Name, Manufacturere, weight in grains, calibre in inches, weight in grams, calibre in mm
*/
pellet_t my_pellets[] = {
{"Diabolo", "JSB", 8.44, 0.177, 0.547, 4.5},
{"Field Tgt Trophy","H&N", 14.66, 0.22, 0.95, 5.5},
{"Diabolo Monster", "JSB", 13.43, 0.177, 0.87, 4.5},
{"King Hvy MkII", "JSB", 33.95, 0.25, 2.2, 6.35},
{"Slug", "NSA", 33.5, 0.25, 0, 0}
};
/************************************************************************************/