From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/_music_director_8h_source.html | 231 ++++++++++++++++++++++++ 1 file changed, 231 insertions(+) create mode 100644 Doc/doxygen/html/_music_director_8h_source.html (limited to 'Doc/doxygen/html/_music_director_8h_source.html') diff --git a/Doc/doxygen/html/_music_director_8h_source.html b/Doc/doxygen/html/_music_director_8h_source.html new file mode 100644 index 0000000..0fd14ab --- /dev/null +++ b/Doc/doxygen/html/_music_director_8h_source.html @@ -0,0 +1,231 @@ + + + + + +Starshatter_Open: D:/SRC/StarshatterSVN/Stars45/MusicDirector.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ +
+
+
MusicDirector.h
+
+
+Go to the documentation of this file.
1 /* Project Starshatter 4.5
+
2  Destroyer Studios LLC
+
3  Copyright © 1997-2004. All Rights Reserved.
+
4 
+
5  SUBSYSTEM: Stars.exe
+
6  FILE: MusicDirector.h
+
7  AUTHOR: John DiCamillo
+
8 
+
9 
+
10  OVERVIEW
+
11  ========
+
12  Music Director class to manage selection, setup, and playback
+
13  of background music tracks for both menu and game modes
+
14 */
+
15 
+
16 
+
17 #ifndef MusicDirector_h
+
18 #define MusicDirector_h
+
19 
+
20 #include "Types.h"
+
21 #include "List.h"
+
22 #include "Text.h"
+
23 
+
24 // +-------------------------------------------------------------------+
+
25 
+
26 class MusicTrack;
+
27 
+
28 // +-------------------------------------------------------------------+
+
29 
+ +
31 {
+
32 public:
+
33  enum MODES {
+ +
35 
+
36  // menu modes:
+
37 
+ + + + + + + + +
46 
+
47  // in game modes:
+
48 
+ + + + +
53 
+
54  // special modes:
+ +
56  };
+
57 
+
58  enum TRANSITIONS {
+
59  CUT,
+ + + + +
64  };
+
65 
+
66  MusicDirector();
+ +
68 
+
69  // Operations:
+
70  void ExecFrame();
+
71  void ScanTracks();
+
72 
+
73  int CheckMode(int mode);
+
74  int GetMode() const { return mode; }
+
75 
+
76  static void Initialize();
+
77  static void Close();
+
78  static MusicDirector* GetInstance();
+
79  static void SetMode(int mode);
+
80  static const char* GetModeName(int mode);
+
81  static bool IsNoMusic();
+
82 
+
83 protected:
+
84  void StartThread();
+
85  void StopThread();
+
86  void GetNextTrack(int index);
+
87  void ShuffleTracks();
+
88 
+
89  int mode;
+ +
91 
+ + +
94 
+ + + + + + + + + + + + +
107 
+
108  bool no_music;
+
109 
+
110  HANDLE hproc;
+ +
112 };
+
113 
+
114 #endif MusicDirector_h
+
+
+ + + + -- cgit v1.1