Starshatter_Open
Open source Starshatter engine
|
#include <MusicDirector.h>
Public Types | |
enum | MODES { NONE, MENU, INTRO, BRIEFING, DEBRIEFING, PROMOTION, VICTORY, DEFEAT, CREDITS, FLIGHT, COMBAT, LAUNCH, RECOVERY, SHUTDOWN } |
enum | TRANSITIONS { CUT, FADE_OUT, FADE_IN, FADE_BOTH, CROSS_FADE } |
Public Member Functions | |
MusicDirector () | |
~MusicDirector () | |
void | ExecFrame () |
void | ScanTracks () |
int | CheckMode (int mode) |
int | GetMode () const |
Static Public Member Functions | |
static void | Initialize () |
static void | Close () |
static MusicDirector * | GetInstance () |
static void | SetMode (int mode) |
static const char * | GetModeName (int mode) |
static bool | IsNoMusic () |
Protected Member Functions | |
void | StartThread () |
void | StopThread () |
void | GetNextTrack (int index) |
void | ShuffleTracks () |
Protected Attributes | |
int | mode |
int | transition |
MusicTrack * | track |
MusicTrack * | next_track |
List< Text > | menu_tracks |
List< Text > | intro_tracks |
List< Text > | brief_tracks |
List< Text > | debrief_tracks |
List< Text > | promote_tracks |
List< Text > | flight_tracks |
List< Text > | combat_tracks |
List< Text > | launch_tracks |
List< Text > | recovery_tracks |
List< Text > | victory_tracks |
List< Text > | defeat_tracks |
List< Text > | credit_tracks |
bool | no_music |
HANDLE | hproc |
ThreadSync | sync |
Definition at line 30 of file MusicDirector.h.
enum MusicDirector::MODES |
NONE | |
MENU | |
INTRO | |
BRIEFING | |
DEBRIEFING | |
PROMOTION | |
VICTORY | |
DEFEAT | |
CREDITS | |
FLIGHT | |
COMBAT | |
LAUNCH | |
RECOVERY | |
SHUTDOWN |
Definition at line 33 of file MusicDirector.h.
Definition at line 58 of file MusicDirector.h.
MusicDirector::MusicDirector | ( | ) |
Definition at line 30 of file MusicDirector.cpp.
MusicDirector::~MusicDirector | ( | ) |
Definition at line 42 of file MusicDirector.cpp.
int MusicDirector::CheckMode | ( | int | mode | ) |
Definition at line 321 of file MusicDirector.cpp.
|
static |
Definition at line 76 of file MusicDirector.cpp.
void MusicDirector::ExecFrame | ( | ) |
Definition at line 91 of file MusicDirector.cpp.
|
static |
Definition at line 83 of file MusicDirector.cpp.
|
inline |
Definition at line 74 of file MusicDirector.h.
|
static |
Definition at line 248 of file MusicDirector.cpp.
|
protected |
Definition at line 376 of file MusicDirector.cpp.
|
static |
Definition at line 69 of file MusicDirector.cpp.
|
static |
Definition at line 365 of file MusicDirector.cpp.
void MusicDirector::ScanTracks | ( | ) |
Definition at line 147 of file MusicDirector.cpp.
|
static |
Definition at line 273 of file MusicDirector.cpp.
|
protected |
Definition at line 427 of file MusicDirector.cpp.
|
protected |
Definition at line 462 of file MusicDirector.cpp.
|
protected |
Definition at line 495 of file MusicDirector.cpp.
Definition at line 97 of file MusicDirector.h.
Definition at line 101 of file MusicDirector.h.
Definition at line 106 of file MusicDirector.h.
Definition at line 98 of file MusicDirector.h.
Definition at line 105 of file MusicDirector.h.
Definition at line 100 of file MusicDirector.h.
|
protected |
Definition at line 110 of file MusicDirector.h.
Definition at line 96 of file MusicDirector.h.
Definition at line 102 of file MusicDirector.h.
Definition at line 95 of file MusicDirector.h.
|
protected |
Definition at line 89 of file MusicDirector.h.
|
protected |
Definition at line 93 of file MusicDirector.h.
|
protected |
Definition at line 108 of file MusicDirector.h.
Definition at line 99 of file MusicDirector.h.
Definition at line 103 of file MusicDirector.h.
|
protected |
Definition at line 111 of file MusicDirector.h.
|
protected |
Definition at line 92 of file MusicDirector.h.
|
protected |
Definition at line 90 of file MusicDirector.h.
Definition at line 104 of file MusicDirector.h.