summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NavLight.h
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/NavLight.h')
-rw-r--r--Stars45/NavLight.h68
1 files changed, 34 insertions, 34 deletions
diff --git a/Stars45/NavLight.h b/Stars45/NavLight.h
index 1d3e4fc..3f9513b 100644
--- a/Stars45/NavLight.h
+++ b/Stars45/NavLight.h
@@ -1,15 +1,15 @@
/* Project Starshatter 4.5
- Destroyer Studios LLC
- Copyright © 1997-2004. All Rights Reserved.
+ Destroyer Studios LLC
+ Copyright © 1997-2004. All Rights Reserved.
- SUBSYSTEM: Stars.exe
- FILE: NavLight.h
- AUTHOR: John DiCamillo
+ SUBSYSTEM: Stars.exe
+ FILE: NavLight.h
+ AUTHOR: John DiCamillo
- OVERVIEW
- ========
- Navigation Lights System class
+ OVERVIEW
+ ========
+ Navigation Lights System class
*/
#ifndef NavLight_h
@@ -25,42 +25,42 @@
class NavLight : public System
{
public:
- enum Constants { MAX_LIGHTS = 8 };
+ enum Constants { MAX_LIGHTS = 8 };
- NavLight(double period, double scale);
- NavLight(const NavLight& rhs);
- virtual ~NavLight();
+ NavLight(double period, double scale);
+ NavLight(const NavLight& rhs);
+ virtual ~NavLight();
- static void Initialize();
- static void Close();
+ static void Initialize();
+ static void Close();
- virtual void ExecFrame(double seconds);
+ virtual void ExecFrame(double seconds);
- int NumBeacons() const { return nlights; }
- Sprite* Beacon(int index) const { return beacon[index]; }
- bool IsEnabled() const { return enable; }
+ int NumBeacons() const { return nlights; }
+ Sprite* Beacon(int index) const { return beacon[index]; }
+ bool IsEnabled() const { return enable; }
- virtual void Enable();
- virtual void Disable();
- virtual void AddBeacon(Point loc, DWORD pattern, int type=1);
- virtual void SetPeriod(double p);
- virtual void SetPattern(int index, DWORD p);
- virtual void SetOffset(DWORD o);
+ virtual void Enable();
+ virtual void Disable();
+ virtual void AddBeacon(Point loc, DWORD pattern, int type=1);
+ virtual void SetPeriod(double p);
+ virtual void SetPattern(int index, DWORD p);
+ virtual void SetOffset(DWORD o);
- virtual void Orient(const Physical* rep);
+ virtual void Orient(const Physical* rep);
protected:
- double period;
- double scale;
- bool enable;
+ double period;
+ double scale;
+ bool enable;
- int nlights;
+ int nlights;
- Point loc[MAX_LIGHTS];
- DriveSprite* beacon[MAX_LIGHTS];
- DWORD pattern[MAX_LIGHTS];
- int beacon_type[MAX_LIGHTS];
- DWORD offset;
+ Point loc[MAX_LIGHTS];
+ DriveSprite* beacon[MAX_LIGHTS];
+ DWORD pattern[MAX_LIGHTS];
+ int beacon_type[MAX_LIGHTS];
+ DWORD offset;
};
#endif NavLight_h