Added FIXME's
This commit is contained in:
parent
3a8a0c9fdd
commit
4f4e87f07e
2 changed files with 4 additions and 0 deletions
src
|
@ -234,6 +234,7 @@ extern unsigned AllocatedSoundMemory;
|
|||
extern unsigned CompressedSoundMemory;
|
||||
#endif
|
||||
|
||||
/// FIXME: remove :wc2
|
||||
/// cd play mode, ":off" ":random" ":all" or ":wc2"
|
||||
extern char *CDMode;
|
||||
#if defined(USE_SDLCD) || defined(USE_LIBCDA) || defined(USE_CDDA)
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
global Sample* MusicSample; /// Music samples
|
||||
#endif
|
||||
|
||||
/// FIXME: remove :wc2
|
||||
global char *CDMode = ":off"; /// cd play mode, ":off" ":random" ":all" or ":wc2"
|
||||
#if defined(USE_SDLCD) || defined(USE_LIBCDA) || defined(USE_CDDA)
|
||||
global int CDTrack = 0; /// Current cd track
|
||||
|
@ -288,6 +289,7 @@ global int PlayCDRom(const char* name)
|
|||
/**
|
||||
** Play music from cdrom.
|
||||
**
|
||||
** FIXME: remove :wc2
|
||||
** :all :random :off :wc2
|
||||
**
|
||||
** @param name Name starting with ":".
|
||||
|
@ -353,6 +355,7 @@ global int PlayCDRom(const char* name)
|
|||
CDMode = ":stopped";
|
||||
return 1;
|
||||
}
|
||||
// FIXME: remove :wc2
|
||||
if (!strcmp(name, ":wc2")) {
|
||||
CDMode = ":wc2";
|
||||
if (GuiGameStarted == 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue