summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Trail.h
diff options
context:
space:
mode:
authorFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2011-12-09 19:00:23 +0000
committerFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2011-12-09 19:00:23 +0000
commit69209c38968c6f4066a772e0a51a2928749217de (patch)
treeb325c535eff3dd27b811ca348e63ead8f86ff344 /Stars45/Trail.h
parentfd51dc1bbbcba496fa0d57963a5727a36e381118 (diff)
downloadstarshatter-69209c38968c6f4066a772e0a51a2928749217de.zip
starshatter-69209c38968c6f4066a772e0a51a2928749217de.tar.gz
starshatter-69209c38968c6f4066a772e0a51a2928749217de.tar.bz2
Re-indenting the code to use standard tabs. Yes, I know this is pretty pointless, but who cares?
Diffstat (limited to 'Stars45/Trail.h')
-rw-r--r--Stars45/Trail.h64
1 files changed, 32 insertions, 32 deletions
diff --git a/Stars45/Trail.h b/Stars45/Trail.h
index 59a3873..3f82cfc 100644
--- a/Stars45/Trail.h
+++ b/Stars45/Trail.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: Trail.h
- AUTHOR: John DiCamillo
+ SUBSYSTEM: Stars.exe
+ FILE: Trail.h
+ AUTHOR: John DiCamillo
- OVERVIEW
- ========
- Missile Trail (Graphic) class
+ OVERVIEW
+ ========
+ Missile Trail (Graphic) class
*/
#ifndef Trail_h
@@ -26,34 +26,34 @@
class Trail : public Graphic
{
public:
- Trail(Bitmap* tex, int n=512);
- virtual ~Trail();
+ Trail(Bitmap* tex, int n=512);
+ virtual ~Trail();
- virtual void UpdateVerts(const Point& cam_pos);
- virtual void Render(Video* video, DWORD flags);
- virtual void AddPoint(const Point& v);
- virtual double AverageLength();
+ virtual void UpdateVerts(const Point& cam_pos);
+ virtual void Render(Video* video, DWORD flags);
+ virtual void AddPoint(const Point& v);
+ virtual double AverageLength();
- virtual void SetWidth(double w) { width = w; }
- virtual void SetDim(int d) { dim = d; }
+ virtual void SetWidth(double w) { width = w; }
+ virtual void SetDim(int d) { dim = d; }
protected:
- int ntrail;
- int maxtrail;
- Point* trail;
-
- double length;
- double width;
- int dim;
-
- int npolys, nverts;
- Poly* polys;
- VertexSet* verts;
- Bitmap* texture;
- Material mtl;
-
- double length0, length1;
- double last_point_time;
+ int ntrail;
+ int maxtrail;
+ Point* trail;
+
+ double length;
+ double width;
+ int dim;
+
+ int npolys, nverts;
+ Poly* polys;
+ VertexSet* verts;
+ Bitmap* texture;
+ Material mtl;
+
+ double length0, length1;
+ double last_point_time;
};
#endif Trail_h