_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
Go to the documentation of this file.
48 #include "vorbis/codec.h"
50 #include "theora/theora.h"
93 bool Load(
const std::string &filename,
int w,
int h);
138 bool Load(
const std::string &filename,
int w,
int h) {
return false; };
139 bool IsPlaying()
const {
return false; };
141 virtual void *
_getData()
const {
return NULL; };
142 virtual int getWidth()
const {
return 0; };
143 virtual int getHeight()
const {
return 0; };
144 virtual bool isDirty()
const {
return false; };
149 extern int PlayMovie(
const std::string &name);
153 #endif // !__MOVIE_H__
bool need_data
Definition: movie.h:107
~Movie()
Definition: movie.cpp:431
theora_comment tcomment
Definition: movie.h:76
virtual int getWidth() const
Definition: movie.h:98
ogg_stream_state vstream
Definition: movie.h:74
ogg_page page
Definition: movie.h:65
Uint32 start_time
Definition: movie.h:108
int Height
Definition: movie.h:103
vorbis_block vblock
Definition: movie.h:70
int Width
Definition: movie.h:102
SDL_Texture * yuv_overlay
Definition: movie.h:111
CFile * File
Definition: movie.h:63
bool is_dirty
Definition: movie.h:106
int video
Definition: movie.h:82
bool IsPlaying() const
Definition: movie.h:94
ogg_sync_state sync
Ogg file handle.
Definition: movie.h:64
void OggFree(OggData *data)
Definition: movie.cpp:211
Movie()
Definition: movie.h:90
bool Load(const std::string &filename, int w, int h)
Definition: movie.cpp:483
SDL_Rect * rect
Definition: movie.h:110
virtual void * _getData() const
Definition: movie.cpp:516
int audio
Definition: movie.h:80
int PlayMovie(const std::string &name)
Play a movie file.
Definition: movie.cpp:310
OggData * data
Definition: movie.h:109
w
Definition: update-images.py:53
virtual bool isDirty() const
Definition: movie.h:100
CFile * f
Definition: movie.h:105
int OggGetNextPage(ogg_page *page, ogg_sync_state *sync, CFile *f)
Definition: movie.cpp:73
vorbis_comment vcomment
Definition: movie.h:69
int VorbisProcessData(OggData *data, char *buffer)
vorbis_dsp_state vdsp
Definition: movie.h:71
int OggInit(CFile *f, OggData *data)
Definition: movie.cpp:90
theora_state tstate
Definition: movie.h:77
h
Definition: update-images.py:53
ogg_stream_state astream
Definition: movie.h:67
virtual int getHeight() const
Definition: movie.h:99
vorbis_info vinfo
Definition: movie.h:68
theora_info tinfo
Definition: movie.h:75
SDL_Surface * surface
Definition: movie.h:104
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.