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/Weather.h | 72 +++++++++++++++++++++++++++---------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'Stars45/Weather.h') diff --git a/Stars45/Weather.h b/Stars45/Weather.h index 6196e92..01d3166 100644 --- a/Stars45/Weather.h +++ b/Stars45/Weather.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: Weather.h - AUTHOR: John DiCamillo + SUBSYSTEM: Stars.exe + FILE: Weather.h + AUTHOR: John DiCamillo - OVERVIEW - ======== - Manages local weather conditions according to the system stardate + OVERVIEW + ======== + Manages local weather conditions according to the system stardate */ #ifndef Weather_h @@ -23,43 +23,43 @@ class Weather { public: - Weather(); - virtual ~Weather(); + Weather(); + virtual ~Weather(); - enum STATE { CLEAR, - HIGH_CLOUDS, - MODERATE_CLOUDS, - OVERCAST, - FOG, - STORM, + enum STATE { CLEAR, + HIGH_CLOUDS, + MODERATE_CLOUDS, + OVERCAST, + FOG, + STORM, - NUM_STATES - }; + NUM_STATES + }; - virtual void Update(); + virtual void Update(); - // accessors: - STATE State() const { return state; } - Text Description() const; - double Period() const { return period; } - double Chance(STATE s) const { return chances[(int)s]; } - double Ceiling() const { return ceiling; } - double Visibility() const { return visibility; } + // accessors: + STATE State() const { return state; } + Text Description() const; + double Period() const { return period; } + double Chance(STATE s) const { return chances[(int)s]; } + double Ceiling() const { return ceiling; } + double Visibility() const { return visibility; } - void SetPeriod(double p) { period = p; } - void SetChance(int n, double c); + void SetPeriod(double p) { period = p; } + void SetChance(int n, double c); protected: - void NormalizeChances(); + void NormalizeChances(); - STATE state; - double period; - double chances[NUM_STATES]; - double ceiling; - double visibility; + STATE state; + double period; + double chances[NUM_STATES]; + double ceiling; + double visibility; - STATE active_states[NUM_STATES]; - double thresholds[NUM_STATES]; + STATE active_states[NUM_STATES]; + double thresholds[NUM_STATES]; }; -- cgit v1.1