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/_trail_8h_source.html | 177 +++++++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 Doc/doxygen/html/_trail_8h_source.html (limited to 'Doc/doxygen/html/_trail_8h_source.html') diff --git a/Doc/doxygen/html/_trail_8h_source.html b/Doc/doxygen/html/_trail_8h_source.html new file mode 100644 index 0000000..ce1ffdc --- /dev/null +++ b/Doc/doxygen/html/_trail_8h_source.html @@ -0,0 +1,177 @@ + + + + + +Starshatter_Open: D:/SRC/StarshatterSVN/Stars45/Trail.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
Trail.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: Trail.h
+
7  AUTHOR: John DiCamillo
+
8 
+
9 
+
10  OVERVIEW
+
11  ========
+
12  Missile Trail (Graphic) class
+
13 */
+
14 
+
15 #ifndef Trail_h
+
16 #define Trail_h
+
17 
+
18 #include "Types.h"
+
19 #include "Geometry.h"
+
20 #include "Polygon.h"
+
21 #include "SimObject.h"
+
22 #include "Graphic.h"
+
23 
+
24 // +--------------------------------------------------------------------+
+
25 
+
26 class Trail : public Graphic
+
27 {
+
28 public:
+
29  Trail(Bitmap* tex, int n=512);
+
30  virtual ~Trail();
+
31 
+
32  virtual void UpdateVerts(const Point& cam_pos);
+
33  virtual void Render(Video* video, DWORD flags);
+
34  virtual void AddPoint(const Point& v);
+
35  virtual double AverageLength();
+
36 
+
37  virtual void SetWidth(double w) { width = w; }
+
38  virtual void SetDim(int d) { dim = d; }
+
39 
+
40 protected:
+
41  int ntrail;
+
42  int maxtrail;
+ +
44 
+
45  double length;
+
46  double width;
+
47  int dim;
+
48 
+
49  int npolys, nverts;
+ + + + +
54 
+
55  double length0, length1;
+ +
57 };
+
58 
+
59 #endif Trail_h
+
60 
+
+
+ + + + -- cgit v1.1