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/MusicTrack.h | 82 ++++++++++++++++++++++++++-------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) (limited to 'Stars45/MusicTrack.h') diff --git a/Stars45/MusicTrack.h b/Stars45/MusicTrack.h index 366e810..097f174 100644 --- a/Stars45/MusicTrack.h +++ b/Stars45/MusicTrack.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: MusicTrack.h - AUTHOR: John DiCamillo + SUBSYSTEM: Stars.exe + FILE: MusicTrack.h + AUTHOR: John DiCamillo - OVERVIEW - ======== - MusicTrack class + OVERVIEW + ======== + MusicTrack class */ @@ -29,49 +29,49 @@ class Sound; class MusicTrack { public: - enum STATE { NONE, FADE_IN, PLAY, FADE_OUT, STOP }; + enum STATE { NONE, FADE_IN, PLAY, FADE_OUT, STOP }; - MusicTrack(const Text& name, int mode=0, int index=0); - virtual ~MusicTrack(); + MusicTrack(const Text& name, int mode=0, int index=0); + virtual ~MusicTrack(); - // Operations: - virtual void ExecFrame(); + // Operations: + virtual void ExecFrame(); - virtual void Play(); - virtual void Stop(); - virtual void FadeIn(); - virtual void FadeOut(); + virtual void Play(); + virtual void Stop(); + virtual void FadeIn(); + virtual void FadeOut(); - // accessors / mutators - const Text& Name() const { return name; } - Sound* GetSound() const { return sound; } - int GetState() const { return state; } - int GetMode() const { return mode; } - int GetIndex() const { return index; } + // accessors / mutators + const Text& Name() const { return name; } + Sound* GetSound() const { return sound; } + int GetState() const { return state; } + int GetMode() const { return mode; } + int GetIndex() const { return index; } - int IsReady() const; - int IsPlaying() const; - int IsDone() const; - int IsLooped() const; + int IsReady() const; + int IsPlaying() const; + int IsDone() const; + int IsLooped() const; - virtual long GetVolume() const; - virtual void SetVolume(long v); + virtual long GetVolume() const; + virtual void SetVolume(long v); - virtual double GetTotalTime() const; - virtual double GetTimeRemaining() const; - virtual double GetTimeElapsed() const; + virtual double GetTotalTime() const; + virtual double GetTimeRemaining() const; + virtual double GetTimeElapsed() const; - virtual double GetFadeTime() const { return fade_time; } - virtual void SetFadeTime(double t) { fade_time = t; } + virtual double GetFadeTime() const { return fade_time; } + virtual void SetFadeTime(double t) { fade_time = t; } protected: - Text name; - Sound* sound; - int state; - int mode; - int index; - double fade; - double fade_time; + Text name; + Sound* sound; + int state; + int mode; + int index; + double fade; + double fade_time; }; #endif MusicTrack_h \ No newline at end of file -- cgit v1.1