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/Power.h | 58 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'Stars45/Power.h') diff --git a/Stars45/Power.h b/Stars45/Power.h index 893095a..9e1d04a 100644 --- a/Stars45/Power.h +++ b/Stars45/Power.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: Power.h - AUTHOR: John DiCamillo + SUBSYSTEM: Stars.exe + FILE: Power.h + AUTHOR: John DiCamillo - OVERVIEW - ======== - Power generation and usage classes + OVERVIEW + ======== + Power generation and usage classes */ #ifndef Power_h @@ -24,38 +24,38 @@ class PowerSource : public System { public: - enum SUBTYPE { BATTERY, AUX, FUSION }; + enum SUBTYPE { BATTERY, AUX, FUSION }; - PowerSource(SUBTYPE s, double max_output, double fuel_ratio=0); - PowerSource(const PowerSource& rhs); + PowerSource(SUBTYPE s, double max_output, double fuel_ratio=0); + PowerSource(const PowerSource& rhs); - virtual void ExecFrame(double seconds); + virtual void ExecFrame(double seconds); - void AddClient(System* client); - void RemoveClient(System* client); + void AddClient(System* client); + void RemoveClient(System* client); - List& Clients() { return clients; } + List& Clients() { return clients; } - virtual int Charge() const; + virtual int Charge() const; - virtual void SetFuelRange(double hours); + virtual void SetFuelRange(double hours); - bool RouteChanged() const { return route_changed; } - void RouteScanned() { route_changed = false; } + bool RouteChanged() const { return route_changed; } + void RouteScanned() { route_changed = false; } - // override from System: - virtual void SetPowerLevel(double level); - virtual void SetOverride(bool over); + // override from System: + virtual void SetPowerLevel(double level); + virtual void SetOverride(bool over); - // for power drain damage: - virtual void DrainPower(double to_level); + // for power drain damage: + virtual void DrainPower(double to_level); protected: - float max_output; - float fuel_ratio; - List clients; - bool route_changed; - float requested_power_level; + float max_output; + float fuel_ratio; + List clients; + bool route_changed; + float requested_power_level; }; #endif Power_h -- cgit v1.1