39#ifndef INCLUDE_GLS_MOVIE_TEXTURE_H
40#define INCLUDE_GLS_MOVIE_TEXTURE_H
45#if( defined( GLSGEN_EXPORT_GLSMOVIETEXTURE ) || defined( GLSGEN_IMPORT_GLSMOVIETEXTURE ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
46 && defined( _MSC_VER )
47# if defined( GLSGEN_EXPORT_GLSMOVIETEXTURE ) || defined( GLS_EXPORT_GENERATED )
48# define GLSGEN_GLSMOVIETEXTURE_EXPORT __declspec( dllexport )
50# define GLSGEN_GLSMOVIETEXTURE_EXPORT __declspec( dllimport )
53# define GLSGEN_GLSMOVIETEXTURE_EXPORT
58#define LIB_BASE_NAME "gls_movie_texture"
64# define LIB_BASE_NAME "strmbase"
69# define GLS_LIB_TYPE ""
82 GLS_GLSMOVIETEXTURE_FIRST_VALUE = GLS_LAST_INITIALIZER + 1,
83 GLS_GLSMOVIETEXTURE_MOVIESOURCE,
84 GLS_GLSMOVIETEXTURE_LOOP,
85 GLS_GLSMOVIETEXTURE_SOUNDENABLED,
86 GLS_GLSMOVIETEXTURE_SOUNDVOLUME
92 friend class GlsMovieTextureEditor;
99 DISTI_DEPRECATED(
"This identifier is forbidden by the C++ standard. Use BaseClass instead." )
Definition: dynamic_array.h:79
The Polygon class. Implements Polygons.
Definition: glpolygon.h:55
Definition: gls_movie_texture.h:91
virtual float SoundVolume()
virtual int DurationInMS()
GlsPropString _movieFile
Stores the name of the movie file.
Definition: gls_movie_texture.h:203
void SetValue(int spec, va_list &args) DISTI_METHOD_OVERRIDE
virtual bool SoundEnabled()
void CopyProperties(DisplayObject *src) DISTI_METHOD_OVERRIDE
unsigned int _previousAbsoluteFrame
Stores the previous frame count.
Definition: gls_movie_texture.h:209
CVideoTexture * _vidTex
Instance of CVideoTexture class that interfaces with D3D.
Definition: gls_movie_texture.h:210
void SetAvailableAttributes(unsigned int value) DISTI_METHOD_OVERRIDE
void GetCppInterfaceDescriptionFree(InterfaceListType *array) DISTI_METHOD_OVERRIDE
virtual unsigned int CurrentAbsoluteFrame()
float _soundVolume
Controls colume of sound (from 0.0f to 1.0f).
Definition: gls_movie_texture.h:205
virtual GlsPropString MovieSource()
static DisplayObject * CreateInstance()
void Draw() DISTI_METHOD_OVERRIDE
float _previousPlayPositionPercent
Stores the previous play position percent.
Definition: gls_movie_texture.h:207
float _playPositionPercent
Stores the current play position percent.
Definition: gls_movie_texture.h:206
virtual float PlayPosition()
bool _soundEnabled
States whether sound should be enabled or not.
Definition: gls_movie_texture.h:204
void PreDraw(const OpenGLMatrices ¤t, Culler &culler) DISTI_METHOD_OVERRIDE
unsigned int _currentAbsoluteFrame
Stores the current frame of the movie.
Definition: gls_movie_texture.h:208
void Calculate(double time) DISTI_METHOD_OVERRIDE
DisplayObject * CloneObject(bool generateNames=false) DISTI_METHOD_OVERRIDE
InterfaceListType * GetCppInterfaceDescription(InterfaceListType *addToThisList=NULL) DISTI_METHOD_OVERRIDE
Class to contain current OpenGL view, projection and draw matrices.
Definition: util.h:540
The disti::GLPolygon class. Implements Polygons.
Macros and helper code to determine what subset of C++11/14/17 is available.
#define DISTI_SPECIAL_MEM_FUN_DELETE
Macro to wrap function deletion, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:245
#define DISTI_DEPRECATED(msg)
Defines whether this compiler supports the C++14 deprecated attribute.
Definition: gls_cpp_lang_support.h:487
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:221
#define GLSGEN_GLSMOVIETEXTURE_EXPORT
Provides support for creating DLLs.
Definition: gls_movie_texture.h:53
Definition: bmpimage.h:46