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/_galaxy_8h_source.html | 191 ++++++++++++++++++++++++++++++++ 1 file changed, 191 insertions(+) create mode 100644 Doc/doxygen/html/_galaxy_8h_source.html (limited to 'Doc/doxygen/html/_galaxy_8h_source.html') diff --git a/Doc/doxygen/html/_galaxy_8h_source.html b/Doc/doxygen/html/_galaxy_8h_source.html new file mode 100644 index 0000000..359c945 --- /dev/null +++ b/Doc/doxygen/html/_galaxy_8h_source.html @@ -0,0 +1,191 @@ + + + + + +Starshatter_Open: D:/SRC/StarshatterSVN/Stars45/Galaxy.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Galaxy.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: Galaxy.h
+
7  AUTHOR: John DiCamillo
+
8 
+
9 
+
10  OVERVIEW
+
11  ========
+
12  Galaxy (list of star systems) for a single campaign.
+
13 */
+
14 
+
15 #ifndef Galaxy_h
+
16 #define Galaxy_h
+
17 
+
18 #include "Types.h"
+
19 #include "Solid.h"
+
20 #include "Bitmap.h"
+
21 #include "Geometry.h"
+
22 #include "Text.h"
+
23 #include "Term.h"
+
24 #include "List.h"
+
25 
+
26 // +--------------------------------------------------------------------+
+
27 
+
28 class Star;
+
29 class StarSystem;
+
30 class Graphic;
+
31 class Light;
+
32 class Scene;
+
33 
+
34 // +--------------------------------------------------------------------+
+
35 
+
36 class Galaxy
+
37 {
+
38 public:
+
39  Galaxy(const char* name);
+
40  virtual ~Galaxy();
+
41 
+
42  int operator == (const Galaxy& s) const { return name == s.name; }
+
43 
+
44  // operations:
+
45  virtual void Load();
+
46  virtual void Load(const char* filename);
+
47  virtual void ExecFrame();
+
48 
+
49  // accessors:
+
50  const char* Name() const { return name; }
+
51  const char* Description() const { return description; }
+ +
53  List<Star>& Stars() { return stars; }
+
54  double Radius() const { return radius; }
+
55 
+
56  StarSystem* GetSystem(const char* name);
+
57  StarSystem* FindSystemByRegion(const char* rgn_name);
+
58 
+
59  static void Initialize();
+
60  static void Close();
+
61  static Galaxy* GetInstance();
+
62 
+
63 protected:
+
64  char filename[64];
+ + +
67  double radius; // radius in parsecs
+
68 
+ + +
71 };
+
72 
+
73 #endif Galaxy_h
+
74 
+
+
+ + + + -- cgit v1.1