_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Classes
movie.h File Reference
#include "SDL.h"
#include "guichan.h"
#include "ogg/ogg.h"
#include "vorbis/codec.h"
#include "theora/theora.h"

Go to the source code of this file.

Classes

struct  OggData
 
class  Movie
 

Functions

movie.h - The movie header file.
int OggInit (CFile *f, OggData *data)
 
void OggFree (OggData *data)
 
int OggGetNextPage (ogg_page *page, ogg_sync_state *sync, CFile *f)
 
int VorbisProcessData (OggData *data, char *buffer)
 
int PlayMovie (const std::string &name)
 Play a movie file. More...
 

Function Documentation

◆ OggFree()

void OggFree ( OggData data)

◆ OggGetNextPage()

int OggGetNextPage ( ogg_page *  page,
ogg_sync_state *  sync,
CFile f 
)

◆ OggInit()

int OggInit ( CFile f,
OggData data 
)

◆ PlayMovie()

int PlayMovie ( const std::string &  name)

Play a movie file.

Play a video file.

Parameters
nameFilename of movie file.
Returns
Non-zero if file isn't a supported movie.

◆ VorbisProcessData()

int VorbisProcessData ( OggData data,
char *  buffer 
)
(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.