~ubuntu-branches/ubuntu/lucid/warzone2100/lucid

« back to all changes in this revision

Viewing changes to lib/sound/cdaudio.h

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger, Paul Wise, Christoph Egger
  • Date: 2009-06-29 17:12:52 UTC
  • mfrom: (1.1.11 upstream) (2.1.7 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090629171252-5ddnlfg3zfchrega
Tags: 2.2.1+dfsg1-1
[ Paul Wise ]
* New upstream release (Closes: #534962)
* Adjust the flex build-depends to take account of the conflict
  with all the versions of flex 2.5.34 (LP: #372872)
* Make the -music Recommends more strict, 2.1 music doesn't work
  with 2.2.
* Upstream moved the downloads to sourceforge, update the watch file
* Bump Standards-Version, no changes needed
* Drop use of dh_desktop since it no longer does anything
* Recommend the new warzone2100-video package, version 2.2 or similar
* Mention the warzone2100 crash reports in the -dbg package description

[ Christoph Egger ]
* Replace CC-2.0 graphic from cybersphinx, create a new tarball
* Add myself to uploaders

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
        This file is part of Warzone 2100.
3
3
        Copyright (C) 1999-2004  Eidos Interactive
4
 
        Copyright (C) 2005-2007  Warzone Resurrection Project
 
4
        Copyright (C) 2005-2009  Warzone Resurrection Project
5
5
 
6
6
        Warzone 2100 is free software; you can redistribute it and/or modify
7
7
        it under the terms of the GNU General Public License as published by
26
26
{
27
27
#endif
28
28
 
29
 
enum
 
29
typedef enum
30
30
{
31
 
        playlist_custom,
32
 
        playlist_ingame,
33
 
        playlist_frontend,
34
 
 
35
 
        // Must be the last
36
 
        playlist_last,
37
 
};
 
31
        SONG_FRONTEND,
 
32
        SONG_INGAME,
 
33
} SONG_CONTEXT;
38
34
 
39
35
BOOL cdAudio_Open(const char* user_musicdir);
40
36
void cdAudio_Close(void);
41
 
BOOL cdAudio_PlayTrack( SDWORD iTrack );
 
37
BOOL cdAudio_PlayTrack(SONG_CONTEXT context);
42
38
void cdAudio_Stop(void);
43
39
void cdAudio_Pause(void);
44
40
void cdAudio_Resume(void);