]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIBallistic.hxx
Don't restore initial screen geometry because there is nothing in fg_os* to resize...
[flightgear.git] / src / AIModel / AIBallistic.hxx
index c9df2a8d6510817a1eb90a6a4d8518a946f423fc..efa52a557d80ab3f7babda8d20eb1b4794bc6eed 100644 (file)
@@ -15,7 +15,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 #ifndef _FG_AIBALLISTIC_HXX
 #define _FG_AIBALLISTIC_HXX
@@ -28,9 +28,11 @@ class FGAIBallistic : public FGAIBase {
 
 public:
 
-    FGAIBallistic(FGAIManager* mgr);
+    FGAIBallistic();
     ~FGAIBallistic();
 
+    void readFromScenario(SGPropertyNode* scFileNode);
+
     bool init();
     virtual void bind();
     virtual void unbind();
@@ -51,6 +53,8 @@ public:
 
     double _getTime() const;
 
+    virtual const char* getTypeString(void) const { return "ballistic"; }
+
 private:
 
     double azimuth;         // degrees true