- if (FGModel::Run()) return true;
- if (FDMExec->Holding()) return false; // if paused don't execute
+ if (FGModel::Run(Holding)) return true;
+ if (Holding) return false; // if paused don't execute
+
+ unsigned int axis_ctr, ctr;
+ const double alpha=FDMExec->GetAuxiliary()->Getalpha();
+ const double twovel=2*FDMExec->GetAuxiliary()->GetVt();
+ const double qbar = FDMExec->GetAuxiliary()->Getqbar();
+ const double wingarea = FDMExec->GetAircraft()->GetWingArea(); // TODO: Make these constants constant!
+ const double wingspan = FDMExec->GetAircraft()->GetWingSpan();
+ const double wingchord = FDMExec->GetAircraft()->Getcbar();
+ const double wingincidence = FDMExec->GetAircraft()->GetWingIncidence();
+ RunPreFunctions();