removed some warnings
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1390 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -30,7 +30,7 @@ typedef struct tfb_videodecoderfunc
|
|||||||
{
|
{
|
||||||
const char* (* GetName) (void);
|
const char* (* GetName) (void);
|
||||||
bool (* InitModule) (int flags);
|
bool (* InitModule) (int flags);
|
||||||
void (* TermModule) ();
|
void (* TermModule) (void);
|
||||||
uint32 (* GetStructSize) (void);
|
uint32 (* GetStructSize) (void);
|
||||||
int (* GetError) (THIS_PTR);
|
int (* GetError) (THIS_PTR);
|
||||||
bool (* Init) (THIS_PTR, TFB_PixelFormat* fmt);
|
bool (* Init) (THIS_PTR, TFB_PixelFormat* fmt);
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ typedef struct
|
|||||||
} VIDEO_INPUT_STATE;
|
} VIDEO_INPUT_STATE;
|
||||||
|
|
||||||
bool
|
bool
|
||||||
TFB_InitVideoPlayer ()
|
TFB_InitVideoPlayer (void)
|
||||||
{
|
{
|
||||||
// creation probably needs better handling
|
// creation probably needs better handling
|
||||||
vp_interthread_lock = CreateSemaphore (1, "inter-thread param lock",
|
vp_interthread_lock = CreateSemaphore (1, "inter-thread param lock",
|
||||||
@@ -69,13 +69,13 @@ TFB_InitVideoPlayer ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
TFB_UninitVideoPlayer ()
|
TFB_UninitVideoPlayer (void)
|
||||||
{
|
{
|
||||||
DestroySemaphore (vp_interthread_lock);
|
DestroySemaphore (vp_interthread_lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
TFB_FadeClearScreen ()
|
TFB_FadeClearScreen (void)
|
||||||
{
|
{
|
||||||
BYTE xform_buf[1];
|
BYTE xform_buf[1];
|
||||||
RECT r = {{0, 0}, {SCREEN_WIDTH, SCREEN_HEIGHT}};
|
RECT r = {{0, 0}, {SCREEN_WIDTH, SCREEN_HEIGHT}};
|
||||||
@@ -522,3 +522,4 @@ vp_QueueBuffer (TFB_SoundSample* sample, audio_Object buffer)
|
|||||||
TFB_TagBuffer (sample, buffer,
|
TFB_TagBuffer (sample, buffer,
|
||||||
(void*) SoundDecoder_GetFrame (sample->decoder));
|
(void*) SoundDecoder_GetFrame (sample->decoder));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
bool TFB_InitVideoPlayer (void);
|
bool TFB_InitVideoPlayer (void);
|
||||||
void TFB_UninitVideoPlayer (void);
|
void TFB_UninitVideoPlayer (void);
|
||||||
void TFB_FadeClearScreen ();
|
void TFB_FadeClearScreen (void);
|
||||||
bool TFB_PlayVideo (VIDEO_REF VidRef, uint32 x, uint32 y);
|
bool TFB_PlayVideo (VIDEO_REF VidRef, uint32 x, uint32 y);
|
||||||
void TFB_StopVideo (VIDEO_REF VidRef);
|
void TFB_StopVideo (VIDEO_REF VidRef);
|
||||||
bool TFB_VideoPlaying (VIDEO_REF VidRef);
|
bool TFB_VideoPlaying (VIDEO_REF VidRef);
|
||||||
|
|||||||
Reference in New Issue
Block a user