Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

MovieTexture.h

Go to the documentation of this file.
00001 #ifndef MOVIE_TEXTURE_H 00002 #define MOVIE_TEXTURE_H 00003 00004 #include "RageTexture.h" 00005 00006 class RageMovieTexture : public RageTexture 00007 { 00008 public: 00009 RageMovieTexture( RageTextureID ID ): RageTexture(ID) { } 00010 virtual ~RageMovieTexture() { } 00011 virtual CString Init() { return ""; } 00012 virtual void Update(float fDeltaTime) { } 00013 00014 virtual void Reload() = 0; 00015 00016 virtual void SetPosition( float fSeconds ) = 0; 00017 virtual void SetPlaybackRate( float fRate ) = 0; 00018 virtual void SetLooping(bool looping=true) { } 00019 00020 bool IsAMovie() const { return true; } 00021 00022 static bool GetFourCC( CString fn, CString &handler, CString &type ); 00023 }; 00024 00025 RageMovieTexture *MakeRageMovieTexture(RageTextureID ID); 00026 00027 #endif 00028 00029 /* 00030 * (c) 2003-2004 Glenn Maynard 00031 * All rights reserved. 00032 * 00033 * Permission is hereby granted, free of charge, to any person obtaining a 00034 * copy of this software and associated documentation files (the 00035 * "Software"), to deal in the Software without restriction, including 00036 * without limitation the rights to use, copy, modify, merge, publish, 00037 * distribute, and/or sell copies of the Software, and to permit persons to 00038 * whom the Software is furnished to do so, provided that the above 00039 * copyright notice(s) and this permission notice appear in all copies of 00040 * the Software and that both the above copyright notice(s) and this 00041 * permission notice appear in supporting documentation. 00042 * 00043 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00044 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00045 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00046 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00047 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00048 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00049 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00050 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00051 * PERFORMANCE OF THIS SOFTWARE. 00052 */

Generated on Thu Jan 27 20:57:24 2005 for StepMania by doxygen 1.3.7