From e33e19d0587146859d48a134ec9fd94e7b7ba5cd Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 8 Dec 2011 14:53:40 +0000 Subject: Initial upload --- Stars45/NavSystem.h | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Stars45/NavSystem.h (limited to 'Stars45/NavSystem.h') 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 + -- cgit v1.1