X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FJSBSim%2FFGFDMExec.h;h=c1fbbb8ef1a17f228582a9d6557223bf01b66d2b;hb=a89a28c4e62a63e05b6b889274fa848ea2bda007;hp=5e1ee07193a5c30f40a7301ea6541943267c407a;hpb=0f0f25512d4b5a4c1b56de2ad975abc7285c9bf5;p=flightgear.git diff --git a/src/FDM/JSBSim/FGFDMExec.h b/src/FDM/JSBSim/FGFDMExec.h index 5e1ee0719..c1fbbb8ef 100644 --- a/src/FDM/JSBSim/FGFDMExec.h +++ b/src/FDM/JSBSim/FGFDMExec.h @@ -222,7 +222,7 @@ public: @param model A pointer to the model being scheduled. @param rate The rate at which to execute the model as described above. @return Currently returns 0 always. */ - int Schedule(FGModel* model, int rate); + void Schedule(FGModel* model, int rate); /** This function executes each scheduled model in succession. @return true if successful, false if sim should be ended */ @@ -488,7 +488,6 @@ private: static FGPropertyManager *master; - FGModel* FirstModel; FGGroundCallback* GroundCallback; FGState* State; FGAtmosphere* Atmosphere; @@ -514,6 +513,7 @@ private: vector PropertyCatalog; vector Outputs; vector ChildFDMList; + vector Models; bool ReadFileHeader(Element*); bool ReadChild(Element*);