_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include "stratagus.h"
#include "movie.h"
#include "iocompat.h"
#include "iolib.h"
#include "network.h"
#include "sound.h"
#include "sound_server.h"
#include "video.h"
#include "SDL.h"
movie.cpp - Movie playback functions. | |
SDL_Surface * | TheScreen |
The SDL screen. More... | |
static bool | MovieStop |
static void | MovieCallbackButtonPressed (unsigned) |
static void | MovieCallbackButtonReleased (unsigned) |
static void | MovieCallbackKeyPressed (unsigned, unsigned) |
static void | MovieCallbackKeyReleased (unsigned, unsigned) |
static void | MovieCallbackKeyRepeated (unsigned, unsigned) |
static void | MovieCallbackMouseMove (const PixelPos &) |
static void | MovieCallbackMouseExit () |
static int | OutputTheora (OggData *data, SDL_Overlay *yuv_overlay, SDL_Rect *rect) |
static int | TheoraProcessData (OggData *data) |
int | PlayMovie (const std::string &name) |
Play a movie file. More... | |
|
static |
Callbacks for movie input.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Draw Ogg data to the overlay
int PlayMovie | ( | const std::string & | name | ) |
Play a movie file.
Play a video file.
name | Filename of movie file. |
|
static |
Process Ogg data
|
static |
SDL_Surface* TheScreen |
The SDL screen.