X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2Facmodel.hxx;h=b774874d233c39119ee4097d8244a0bda04ba586;hb=9ab41ea15809c02ba46bf9e6911fbb1aa808b8b1;hp=59e6034dd26c0126af99aa4d5dc5e3d74b064899;hpb=0d9f2e3c9585cfc1fbc392e56c35fda8bef8c334;p=flightgear.git diff --git a/src/Model/acmodel.hxx b/src/Model/acmodel.hxx index 59e6034dd..b774874d2 100644 --- a/src/Model/acmodel.hxx +++ b/src/Model/acmodel.hxx @@ -1,4 +1,4 @@ -// model.hxx - manage a 3D aircraft model. +// acmodel.hxx - manage a 3D aircraft model. // Written by David Megginson, started 2002. // // This file is in the Public Domain, and comes with no warranty. @@ -6,16 +6,6 @@ #ifndef __ACMODEL_HXX #define __ACMODEL_HXX 1 -#ifndef __cplusplus -# error This library requires C++ -#endif - -#include -#include - -using std::string; -using std::vector; - #include #include #include @@ -35,6 +25,7 @@ public: virtual ~FGAircraftModel (); virtual void init (); + virtual void reinit (); virtual void bind (); virtual void unbind (); virtual void update (double dt); @@ -42,7 +33,8 @@ public: virtual SGVec3d& getVelocity() { return _velocity; } private: - + void deinit (); + SGModelPlacement * _aircraft; SGVec3d _velocity; SGSharedPtr _fx;