This repository has been archived by the owner on Mar 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
GBCSolution.h
86 lines (75 loc) · 1.59 KB
/
GBCSolution.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#ifndef GBCSOLUTION_H
#define GBCSOLUTION_H
#include "lib/ballistics/ballistics.h"
#include <stdio.h>
#include <string.h>
class GBCSolution {
public:
GBCSolution(void);
GBCSolution(
double* isolution,
const char* name,
double ibc,
double isightheight,
int iweight,
int imv,
int iangle,
int izerorange,
int iwindspeed,
int iwindangle,
int itemp,
int ihumidity,
double ipressure,
int ialtitude,
int rows,
int ckweather,
int df
);
~GBCSolution();
double* sln;
const char* Name(void);
double BC(void);
double SightHeight(void);
int MuzzleVelocity(void);
int ShootingAngle(void);
int ZeroRange(void);
int WindSpeed(void);
int WindAngle(void);
int Temp(void);
double Pressure(void);
int Humidity(void);
int Altitude(void);
int Weight(void);
int MaxRows(void);
int MaxRows(int);
int UseWeather(void);
double GetRange(int yardage);
double GetPath(int yardage);
double GetMOA(int yardage);
double GetTime(int yardage);
double GetWindage(int yardage);
double GetWindageMOA(int yardage);
double GetVelocity(int yardage);
double GetVx(int yardage);
double GetVy(int yardage);
double GetEnergy(int yardage);
int df;
private:
double* solution;
char name[255];
int weight;
double bc;
double sightheight;
int mv;
int angle;
int zerorange;
int windspeed;
int windangle;
int temp;
int ckweather;
double pressure;
int humidity;
int altitude;
int rows;
};
#endif