From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/_nav_light_8h_source.html | 184 +++++++++++++++++++++++++++++ 1 file changed, 184 insertions(+) create mode 100644 Doc/doxygen/html/_nav_light_8h_source.html (limited to 'Doc/doxygen/html/_nav_light_8h_source.html') diff --git a/Doc/doxygen/html/_nav_light_8h_source.html b/Doc/doxygen/html/_nav_light_8h_source.html new file mode 100644 index 0000000..8f84578 --- /dev/null +++ b/Doc/doxygen/html/_nav_light_8h_source.html @@ -0,0 +1,184 @@ + + + + + +Starshatter_Open: D:/SRC/StarshatterSVN/Stars45/NavLight.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
NavLight.h
+
+
+Go to the documentation of this file.
1 /* Project Starshatter 4.5
+
2  Destroyer Studios LLC
+
3  Copyright © 1997-2004. All Rights Reserved.
+
4 
+
5  SUBSYSTEM: Stars.exe
+
6  FILE: NavLight.h
+
7  AUTHOR: John DiCamillo
+
8 
+
9 
+
10  OVERVIEW
+
11  ========
+
12  Navigation Lights System class
+
13 */
+
14 
+
15 #ifndef NavLight_h
+
16 #define NavLight_h
+
17 
+
18 #include "Types.h"
+
19 #include "System.h"
+
20 #include "DriveSprite.h"
+
21 #include "Geometry.h"
+
22 
+
23 // +--------------------------------------------------------------------+
+
24 
+
25 class NavLight : public System
+
26 {
+
27 public:
+
28  enum Constants { MAX_LIGHTS = 8 };
+
29 
+
30  NavLight(double period, double scale);
+
31  NavLight(const NavLight& rhs);
+
32  virtual ~NavLight();
+
33 
+
34  static void Initialize();
+
35  static void Close();
+
36 
+
37  virtual void ExecFrame(double seconds);
+
38 
+
39  int NumBeacons() const { return nlights; }
+
40  Sprite* Beacon(int index) const { return beacon[index]; }
+
41  bool IsEnabled() const { return enable; }
+
42 
+
43  virtual void Enable();
+
44  virtual void Disable();
+
45  virtual void AddBeacon(Point loc, DWORD pattern, int type=1);
+
46  virtual void SetPeriod(double p);
+
47  virtual void SetPattern(int index, DWORD p);
+
48  virtual void SetOffset(DWORD o);
+
49 
+
50  virtual void Orient(const Physical* rep);
+
51 
+
52 protected:
+
53  double period;
+
54  double scale;
+
55  bool enable;
+
56 
+
57  int nlights;
+
58 
+ + + + +
63  DWORD offset;
+
64 };
+
65 
+
66 #endif NavLight_h
+
67 
+
+
+ + + + -- cgit v1.1