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
void selectPlayList ()
 opens a dialog to select a playlist

Variables

PlayLists playLists


Detailed Description

The music playing system of ASC.

Definition in file music.cpp.


Typedef Documentation

typedef deallocating_vector<MusicPlayList*> PlayLists

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(), playLists, and SoundSystem::playMusic().

Referenced by gamethread().


Variable Documentation

PlayLists playLists

Definition at line 24 of file music.cpp.

Referenced by PlayListSelector::buttonpressed(), PlayListSelector::get_text(), PlayListLoader::read(), PlayListLoader::readTextFiles(), PlayListSelector::setup(), startMusic(), and PlayListLoader::write().


Generated on Mon May 21 01:40:16 2012 for Advanced Strategic Command by  doxygen 1.5.1