2003-02-20 03:34:30 +00:00
|
|
|
#include "global.h"
|
|
|
|
|
#include "MovieTexture.h"
|
|
|
|
|
|
2003-02-20 04:38:31 +00:00
|
|
|
#if defined(WIN32)
|
2003-02-20 03:34:30 +00:00
|
|
|
#include "MovieTexture_DShow.h"
|
2003-02-20 04:38:31 +00:00
|
|
|
#endif
|
2003-02-20 03:34:30 +00:00
|
|
|
|
|
|
|
|
/* Try drivers in order of preference until we find one that works. */
|
|
|
|
|
/* Well, eventually; for now it's DShow or bust.w */
|
|
|
|
|
RageMovieTexture *MakeRageMovieTexture(RageTextureID ID)
|
|
|
|
|
{
|
|
|
|
|
#if defined(WIN32)
|
|
|
|
|
return new MovieTexture_DShow(ID);
|
|
|
|
|
#else
|
2003-02-20 04:38:31 +00:00
|
|
|
/* XXX: need a simple null movie texture object */
|
2003-02-20 03:34:30 +00:00
|
|
|
RageException::Throw("xxx");
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|