Files
itgmania212121/stepmania/src/arch/MovieTexture/MovieTexture.h
T
Chris Danford cfe1f9ec67 Add parameters to BackgroundChange: fRate, bFadeLast, bRewindMovie, bLoop.
I don't like how this changes the syntax for the #BGCHANGES tag in an SM file.  I will think more about this - it's important to finalize it quickly.
2003-04-14 04:10:01 +00:00

29 lines
660 B
C++

#ifndef MOVIE_TEXTURE_H
#define MOVIE_TEXTURE_H
#include "RageTexture.h"
class RageMovieTexture : public RageTexture
{
public:
RageMovieTexture( RageTextureID ID ): RageTexture(ID) { }
virtual ~RageMovieTexture() { }
void Update(float fDeltaTime) { }
virtual void Reload() = 0;
virtual void Play() = 0;
virtual void Pause() = 0;
virtual void Stop() = 0;
virtual void SetPosition( float fSeconds ) = 0;
virtual void SetPlaybackRate( float fRate ) = 0;
virtual bool IsPlaying() const = 0;
virtual void SetLooping(bool looping=true) { }
bool IsAMovie() const { return true; }
};
RageMovieTexture *MakeRageMovieTexture(RageTextureID ID);
#endif