add RageMovieTexture abstraction

This commit is contained in:
Glenn Maynard
2003-02-20 03:34:30 +00:00
parent f85bfc391b
commit c457452a49
8 changed files with 631 additions and 32 deletions
@@ -0,0 +1,17 @@
#include "global.h"
#include "MovieTexture.h"
#include "MovieTexture_DShow.h"
/* 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
RageException::Throw("xxx");
#endif
}