Avoiding PlaySpeech/StopSpeech namespace collision on OSX
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2756 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
Changes towards version 0.7:
|
Changes towards version 0.7:
|
||||||
|
- Renamed PlaySpeeh/StopSpeech to work around name collisions
|
||||||
|
on OSX - Alex
|
||||||
- Ending the battle with a simultaneous death no longer triggers an
|
- Ending the battle with a simultaneous death no longer triggers an
|
||||||
assertion - SvdB
|
assertion - SvdB
|
||||||
- Concurrent supermelee ship selection - SvdB
|
- Concurrent supermelee ship selection - SvdB
|
||||||
|
|||||||
@@ -72,8 +72,8 @@ extern void PLRStop (MUSIC_REF MusicRef);
|
|||||||
extern BOOLEAN PLRPlaying (MUSIC_REF MusicRef);
|
extern BOOLEAN PLRPlaying (MUSIC_REF MusicRef);
|
||||||
extern void PLRPause (MUSIC_REF MusicRef);
|
extern void PLRPause (MUSIC_REF MusicRef);
|
||||||
extern void PLRResume (MUSIC_REF MusicRef);
|
extern void PLRResume (MUSIC_REF MusicRef);
|
||||||
extern void PlaySpeech (MUSIC_REF SpeechRef);
|
extern void snd_PlaySpeech (MUSIC_REF SpeechRef);
|
||||||
extern void StopSpeech (void);
|
extern void snd_StopSpeech (void);
|
||||||
extern void PlayChannel (COUNT channel, void *sample, SoundPosition pos,
|
extern void PlayChannel (COUNT channel, void *sample, SoundPosition pos,
|
||||||
void *positional_object, unsigned char priority);
|
void *positional_object, unsigned char priority);
|
||||||
extern BOOLEAN ChannelPlaying (COUNT Channel);
|
extern BOOLEAN ChannelPlaying (COUNT Channel);
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ PLRResume (MUSIC_REF MusicRef)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
PlaySpeech (MUSIC_REF SpeechRef)
|
snd_PlaySpeech (MUSIC_REF SpeechRef)
|
||||||
{
|
{
|
||||||
TFB_SoundSample **pmus;
|
TFB_SoundSample **pmus;
|
||||||
|
|
||||||
@@ -113,7 +113,7 @@ PlaySpeech (MUSIC_REF SpeechRef)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
StopSpeech (void)
|
snd_StopSpeech (void)
|
||||||
{
|
{
|
||||||
if (!curSpeechRef)
|
if (!curSpeechRef)
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ void
|
|||||||
VidStop ()
|
VidStop ()
|
||||||
{
|
{
|
||||||
if (_cur_speech)
|
if (_cur_speech)
|
||||||
StopSpeech ();
|
snd_StopSpeech ();
|
||||||
if (_cur_video)
|
if (_cur_video)
|
||||||
{
|
{
|
||||||
TFB_StopVideo (_cur_video);
|
TFB_StopVideo (_cur_video);
|
||||||
@@ -97,7 +97,7 @@ VidPlayEx (VIDEO_REF VidRef, MUSIC_REF AudRef, MUSIC_REF SpeechRef,
|
|||||||
vid->loop_to = 0;
|
vid->loop_to = 0;
|
||||||
|
|
||||||
if (_cur_speech)
|
if (_cur_speech)
|
||||||
StopSpeech ();
|
snd_StopSpeech ();
|
||||||
if (_cur_video)
|
if (_cur_video)
|
||||||
TFB_StopVideo (_cur_video);
|
TFB_StopVideo (_cur_video);
|
||||||
_cur_speech = 0;
|
_cur_speech = 0;
|
||||||
@@ -115,7 +115,7 @@ VidPlayEx (VIDEO_REF VidRef, MUSIC_REF AudRef, MUSIC_REF SpeechRef,
|
|||||||
ret = SOFTWARE_FMV;
|
ret = SOFTWARE_FMV;
|
||||||
if (SpeechRef)
|
if (SpeechRef)
|
||||||
{
|
{
|
||||||
PlaySpeech (SpeechRef);
|
snd_PlaySpeech (SpeechRef);
|
||||||
_cur_speech = SpeechRef;
|
_cur_speech = SpeechRef;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user