summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NavSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/NavSystem.h')
-rw-r--r--Stars45/NavSystem.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/Stars45/NavSystem.h b/Stars45/NavSystem.h
new file mode 100644
index 0000000..1345839
--- /dev/null
+++ b/Stars45/NavSystem.h
@@ -0,0 +1,55 @@
+/* Project Starshatter 4.5
+ Destroyer Studios LLC
+ Copyright © 1997-2004. All Rights Reserved.
+
+ SUBSYSTEM: Stars.exe
+ FILE: NavSystem.h
+ AUTHOR: John DiCamillo
+
+
+ OVERVIEW
+ ========
+ Nav Points and so on...
+*/
+
+#ifndef NavSystem_h
+#define NavSystem_h
+
+#include "Types.h"
+#include "Geometry.h"
+#include "System.h"
+
+// +--------------------------------------------------------------------+
+
+class StarSystem;
+class Orbital;
+class OrbitalBody;
+class OrbitalRegion;
+class Ship;
+
+// +--------------------------------------------------------------------+
+
+class NavSystem : public System
+{
+public:
+ NavSystem();
+ NavSystem(const NavSystem& rhs);
+ virtual ~NavSystem();
+
+ virtual void ExecFrame(double seconds);
+
+ virtual void Distribute(double delivered_energy, double seconds);
+
+ bool AutoNavEngaged();
+ void EngageAutoNav();
+ void DisengageAutoNav();
+
+protected:
+ bool autonav;
+};
+
+// +--------------------------------------------------------------------+
+
+
+#endif NavSystem_h
+