Advanced Strategic Command
Classes | Typedefs | Functions | Variables
music.cpp File Reference

The music playing system of ASC. More...

#include <stdio.h>
#include <stdlib.h>
#include <SDL_mixer.h>
#include "sdl/sound.h"
#include "basestrm.h"
#include "stringtokenizer.h"
#include "music.h"
#include "itemrepository.h"
#include "dlg_box.h"
#include "textfile_evaluation.h"
#include "sgstream.h"
Include dependency graph for music.cpp:

Go to the source code of this file.

Classes

class  PlayListSelector
 

Typedefs

typedef deallocating_vector
< MusicPlayList * > 
PlayLists
 

Functions

void startMusic ()
 start playing the first playlist More...
 
void selectPlayList ()
 opens a dialog to select a playlist More...
 

Variables

PlayLists playLists
 

Detailed Description

The music playing system of ASC.

Definition in file music.cpp.

Typedef Documentation

Definition at line 23 of file music.cpp.

Function Documentation

void selectPlayList ( )

opens a dialog to select a playlist

Definition at line 215 of file music.cpp.

References tstringselect::done(), tstringselect::init(), and PlayListSelector::run().

Referenced by executeUserAction().

void startMusic ( )

start playing the first playlist

Definition at line 143 of file music.cpp.

References displayLogMessage(), SoundSystem::getInstance(), and SoundSystem::playMusic().

Referenced by gamethread().

Variable Documentation

PlayLists playLists

Definition at line 24 of file music.cpp.