$treeview $search $mathjax
Stratagus
2.2.6
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "stratagus.h"
#include "video.h"
#include "sound.h"
#include "sound_server.h"
#include "movie.h"
#include "network.h"
#include "iocompat.h"
#include "iolib.h"
#include "SDL.h"
movie.cpp - Movie playback functions. | |
SDL_Surface * | TheScreen |
The SDL screen. | |
static int | 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 (int, int) |
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. |
static void MovieCallbackButtonPressed | ( | unsigned | ) | [static] |
Callbacks for movie input.
static void MovieCallbackButtonReleased | ( | unsigned | ) | [static] |
static void MovieCallbackKeyPressed | ( | unsigned | , | |
unsigned | ||||
) | [static] |
static void MovieCallbackKeyReleased | ( | unsigned | , | |
unsigned | ||||
) | [static] |
static void MovieCallbackKeyRepeated | ( | unsigned | , | |
unsigned | ||||
) | [static] |
static void MovieCallbackMouseExit | ( | ) | [static] |
static void MovieCallbackMouseMove | ( | int | , | |
int | ||||
) | [static] |
static int OutputTheora | ( | OggData * | data, | |
SDL_Overlay * | yuv_overlay, | |||
SDL_Rect * | rect | |||
) | [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 int TheoraProcessData | ( | OggData * | data | ) | [static] |
Process Ogg data
int MovieStop [static] |
SDL_Surface* TheScreen |
The SDL screen.