Please the compiler (gods).
FGAIBallistic::FGAIBallistic(object_type ot) :
FGAIBase(ot),
_height(0.0),
+_speed(0),
_ht_agl_ft(0.0),
_azimuth(0.0),
_elevation(0.0),
_rotation(0.0),
+hs(0),
_elapsed_time(0),
_aero_stabilised(false),
_drag_area(0.007),
_external_force(false),
_report_expiry(false),
_impact_report_node(fgGetNode("/ai/models/model-impact", true)),
-hs(0),
-_old_height(0),
-_speed(0)
+_old_height(0)
{
no_roll = false;
FGAIWingman::FGAIWingman() : FGAIBallistic(otWingman),
_formate_to_ac(true),
-_break_angle(-90),
_break(false),
_join(false),
+_break_angle(-90),
_coeff_hdg(5.0),
_coeff_pch(5.0),
_coeff_bnk(5.0),
while(h2 < 0.0) h2 += 360.0;
while(h2 > 360.0) h2 -= 360.0;
double max_min_diff = 0.0;
- int quad;
+ int quad = 1;
for(int i=0; i<4; ++i) {
double h = 45 + (90 * i);
double diff1 = fabs(h - h1);
*/
string DCLGPS::ExpandSIAPIdent(const string& ident) {
string name;
- bool has_rwy;
+ bool has_rwy = false;
switch(ident[0]) {
case 'N': name = "NDB or GPS"; has_rwy = false; break;
static void setStereoMode( const char * mode )
{
- DisplaySettings::StereoMode stereoMode;
+ DisplaySettings::StereoMode stereoMode = DisplaySettings::QUAD_BUFFER;
bool stereoOn = true;
if (strcmp(mode,"QUAD_BUFFER")==0)