Advanced Strategic Command
Public Member Functions | List of all members
VideoRecorder Class Reference

#include <videorecorder.h>

Public Member Functions

 VideoRecorder (const ASCString &filename, const SDL_Surface *surf, int framerate=15, int ascFramerateLimit=30, int quality=100)
 
const ASCString getFilename ()
 
void storeFrame (const SDL_Surface *surf)
 
void close ()
 
 ~VideoRecorder ()
 

Detailed Description

Definition at line 29 of file videorecorder.h.

Constructor & Destructor Documentation

VideoRecorder::VideoRecorder ( const ASCString filename,
const SDL_Surface *  surf,
int  framerate = 15,
int  ascFramerateLimit = 30,
int  quality = 100 
)

Definition at line 178 of file videorecorder.cpp.

VideoRecorder::~VideoRecorder ( )

Definition at line 182 of file videorecorder.cpp.

Member Function Documentation

void VideoRecorder::close ( void  )

Definition at line 181 of file videorecorder.cpp.

const ASCString VideoRecorder::getFilename ( )

Definition at line 179 of file videorecorder.cpp.

Referenced by ReplayRecorder::start().

void VideoRecorder::storeFrame ( const SDL_Surface *  surf)

Definition at line 180 of file videorecorder.cpp.


The documentation for this class was generated from the following files: