FS2_Open
Open source remastering of the Freespace 2 engine
movie.cpp File Reference
#include "cfile/cfile.h"
#include "cmdline/cmdline.h"
#include "cutscene/cutscenes.h"
#include "cutscene/movie.h"
#include "cutscene/mvelib.h"
#include "cutscene/oggplayer.h"
#include "globalincs/systemvars.h"
#include "graphics/2d.h"
#include "osapi/osapi.h"

Go to the source code of this file.

Macros

#define MOVIE_NONE   -1
 
#define MOVIE_OGG   0
 
#define MOVIE_MVE   1
 

Functions

int movie_find (char *filename, char *out_name)
 
bool movie_play (char *name)
 
void movie_play_two (char *name1, char *name2)
 

Variables

int Game_mode
 
const char * movie_ext_list [] = { ".ogg", ".mve" }
 
const int NUM_MOVIE_EXT = sizeof(movie_ext_list) / sizeof(char*)
 

Macro Definition Documentation

#define MOVIE_MVE   1

Definition at line 34 of file movie.cpp.

#define MOVIE_NONE   -1

Definition at line 32 of file movie.cpp.

#define MOVIE_OGG   0

Definition at line 33 of file movie.cpp.

Function Documentation

int movie_find ( char *  filename,
char *  out_name 
)

Definition at line 43 of file movie.cpp.

bool movie_play ( char *  name)

Definition at line 72 of file movie.cpp.

void movie_play_two ( char *  name1,
char *  name2 
)

Definition at line 159 of file movie.cpp.

Variable Documentation

int Game_mode

Definition at line 24 of file systemvars.cpp.

const char* movie_ext_list[] = { ".ogg", ".mve" }

Definition at line 28 of file movie.cpp.

const int NUM_MOVIE_EXT = sizeof(movie_ext_list) / sizeof(char*)

Definition at line 29 of file movie.cpp.