2003-02-20 03:34:30 +00:00
|
|
|
#ifndef MOVIE_TEXTURE_H
|
|
|
|
|
#define MOVIE_TEXTURE_H
|
|
|
|
|
|
|
|
|
|
#include "RageTexture.h"
|
|
|
|
|
|
|
|
|
|
class RageMovieTexture : public RageTexture
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
RageMovieTexture( RageTextureID ID ): RageTexture(ID) { }
|
|
|
|
|
virtual ~RageMovieTexture() { }
|
2003-07-16 12:19:53 +00:00
|
|
|
virtual void Update(float fDeltaTime) { }
|
2003-02-20 03:34:30 +00:00
|
|
|
|
|
|
|
|
virtual void Reload() = 0;
|
|
|
|
|
|
|
|
|
|
virtual void Play() = 0;
|
|
|
|
|
virtual void Pause() = 0;
|
|
|
|
|
virtual void SetPosition( float fSeconds ) = 0;
|
2003-04-14 04:10:01 +00:00
|
|
|
virtual void SetPlaybackRate( float fRate ) = 0;
|
2003-02-20 03:34:30 +00:00
|
|
|
virtual bool IsPlaying() const = 0;
|
|
|
|
|
virtual void SetLooping(bool looping=true) { }
|
|
|
|
|
|
|
|
|
|
bool IsAMovie() const { return true; }
|
2003-06-28 22:30:46 +00:00
|
|
|
|
|
|
|
|
static bool GetFourCC( CString fn, CString &handler, CString &type );
|
2003-02-20 03:34:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
RageMovieTexture *MakeRageMovieTexture(RageTextureID ID);
|
|
|
|
|
|
|
|
|
|
#endif
|