From 69209c38968c6f4066a772e0a51a2928749217de Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Fri, 9 Dec 2011 19:00:23 +0000 Subject: Re-indenting the code to use standard tabs. Yes, I know this is pretty pointless, but who cares? --- Stars45/TerrainApron.h | 72 +++++++++++++++++++++++++------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'Stars45/TerrainApron.h') diff --git a/Stars45/TerrainApron.h b/Stars45/TerrainApron.h index dd2e4fd..0c03f79 100644 --- a/Stars45/TerrainApron.h +++ b/Stars45/TerrainApron.h @@ -1,15 +1,15 @@ /* Project Starshatter 4.5 - Destroyer Studios LLC - Copyright © 1997-2005. All Rights Reserved. + Destroyer Studios LLC + Copyright © 1997-2005. All Rights Reserved. - SUBSYSTEM: Stars.exe - FILE: TerrainApron.h - AUTHOR: John DiCamillo + SUBSYSTEM: Stars.exe + FILE: TerrainApron.h + AUTHOR: John DiCamillo - OVERVIEW - ======== - A Single Edge Section of a Terrain Object + OVERVIEW + ======== + A Single Edge Section of a Terrain Object */ #ifndef TerrainApron_h @@ -27,43 +27,43 @@ class Terrain; class TerrainApron : public Solid { public: - TerrainApron(Terrain* terrain, - const Bitmap* patch, const Rect& rect, - const Point& p1, const Point& p2); - virtual ~TerrainApron(); + TerrainApron(Terrain* terrain, + const Bitmap* patch, const Rect& rect, + const Point& p1, const Point& p2); + virtual ~TerrainApron(); - virtual void Render(Video* video, DWORD flags); - virtual void Update(); + virtual void Render(Video* video, DWORD flags); + virtual void Update(); - virtual int CollidesWith(Graphic& o); - virtual bool Luminous() const { return false; } - virtual bool Translucent() const { return false; } + virtual int CollidesWith(Graphic& o); + virtual bool Luminous() const { return false; } + virtual bool Translucent() const { return false; } - // accessors: - double Scale() const { return scale; } - double MountainScale() const { return mtnscale; } - double SeaLevel() const { return base; } - void SetScales(double scale, double mtnscale, double base); + // accessors: + double Scale() const { return scale; } + double MountainScale() const { return mtnscale; } + double SeaLevel() const { return base; } + void SetScales(double scale, double mtnscale, double base); - void Illuminate(Color ambient, List& lights); - virtual int CheckRayIntersection(Point pt, Point vpn, double len, Point& ipt, - bool treat_translucent_polys_as_solid=true); + void Illuminate(Color ambient, List& lights); + virtual int CheckRayIntersection(Point pt, Point vpn, double len, Point& ipt, + bool treat_translucent_polys_as_solid=true); protected: - virtual bool BuildApron(); + virtual bool BuildApron(); - Terrain* terrain; - int nverts; - int npolys; - int terrain_width; + Terrain* terrain; + int nverts; + int npolys; + int terrain_width; - Rect rect; - float* heights; + Rect rect; + float* heights; - double scale; - double mtnscale; - double base; - double size; + double scale; + double mtnscale; + double base; + double size; }; -- cgit v1.1